Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
rvm: 1.9.2
rvm:
- 1.9.3
- 2.0.0
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ gem 'coffee-script'
gem 'uglifier'
gem 'jquery-rails'
gem 'ejs'
gem "mocha"
gem "mocha", require: false
2 changes: 1 addition & 1 deletion lib/angular-rails/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module AngularRails
VERSION = "0.0.12"
VERSION = "1.0.0"
end
3 changes: 1 addition & 2 deletions test/dummy/config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
# since you don't have to restart the web server when you make code changes.
config.cache_classes = false

# Log error messages when you accidentally call methods on nil.
config.whiny_nils = true
config.eager_load = false

# Show full error reports and disable caching
config.consider_all_requests_local = true
Expand Down
2 changes: 2 additions & 0 deletions test/dummy/config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# Code is not reloaded between requests
config.cache_classes = true

config.eager_load = true

# Full error reports are disabled and caching is turned on
config.consider_all_requests_local = false
config.action_controller.perform_caching = true
Expand Down
5 changes: 2 additions & 3 deletions test/dummy/config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@
# and recreated between test runs. Don't rely on the data there!
config.cache_classes = true

config.eager_load = false

# Configure static asset server for tests with Cache-Control for performance
config.serve_static_assets = true
config.static_cache_control = "public, max-age=3600"

# Log error messages when you accidentally call methods on nil
config.whiny_nils = true

# Show full error reports and disable caching
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
Expand Down
2 changes: 1 addition & 1 deletion test/generators/install_generator_test.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'test_helper'
require 'generators/generators_test_helper'
require "generators/angular/install/install_generator"
require 'mocha'
require 'mocha/api'

class InstallGeneratorTest < Rails::Generators::TestCase
include GeneratorsTestHelper
Expand Down
508 changes: 313 additions & 195 deletions vendor/assets/javascripts/angular-resource.js

Large diffs are not rendered by default.

16 changes: 9 additions & 7 deletions vendor/assets/javascripts/angular-resource.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading