shoulda-matchers 2.3.0 → 2.4.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Appraisals +12 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +6 -11
- data/NEWS.md +6 -0
- data/features/rails_integration.feature +2 -3
- data/features/step_definitions/rails_steps.rb +40 -8
- data/gemfiles/3.0.gemfile +2 -1
- data/gemfiles/3.0.gemfile.lock +6 -6
- data/gemfiles/3.1.gemfile +2 -1
- data/gemfiles/3.1.gemfile.lock +6 -6
- data/gemfiles/3.2.gemfile +2 -1
- data/gemfiles/3.2.gemfile.lock +6 -6
- data/gemfiles/4.0.gemfile +17 -0
- data/gemfiles/4.0.gemfile.lock +152 -0
- data/lib/shoulda/matchers.rb +1 -0
- data/lib/shoulda/matchers/action_controller/render_with_layout_matcher.rb +1 -1
- data/lib/shoulda/matchers/action_controller/set_the_flash_matcher.rb +24 -10
- data/lib/shoulda/matchers/active_model/allow_value_matcher.rb +13 -7
- data/lib/shoulda/matchers/active_model/disallow_value_matcher.rb +2 -2
- data/lib/shoulda/matchers/active_model/validate_confirmation_of_matcher.rb +18 -6
- data/lib/shoulda/matchers/active_model/validation_matcher.rb +4 -2
- data/lib/shoulda/matchers/active_record.rb +1 -0
- data/lib/shoulda/matchers/active_record/association_matcher.rb +18 -37
- data/lib/shoulda/matchers/active_record/association_matchers/counter_cache_matcher.rb +8 -3
- data/lib/shoulda/matchers/active_record/association_matchers/dependent_matcher.rb +8 -3
- data/lib/shoulda/matchers/active_record/association_matchers/model_reflector.rb +66 -4
- data/lib/shoulda/matchers/active_record/association_matchers/option_verifier.rb +93 -0
- data/lib/shoulda/matchers/active_record/association_matchers/order_matcher.rb +8 -3
- data/lib/shoulda/matchers/active_record/association_matchers/through_matcher.rb +7 -2
- data/lib/shoulda/matchers/integrations/test_unit.rb +10 -22
- data/lib/shoulda/matchers/rails_shim.rb +41 -0
- data/lib/shoulda/matchers/version.rb +1 -1
- data/shoulda-matchers.gemspec +1 -2
- data/spec/shoulda/matchers/action_controller/render_with_layout_matcher_spec.rb +7 -2
- data/spec/shoulda/matchers/action_controller/route_matcher_spec.rb +2 -2
- data/spec/shoulda/matchers/active_model/allow_mass_assignment_of_matcher_spec.rb +1 -1
- data/spec/shoulda/matchers/active_model/allow_value_matcher_spec.rb +24 -0
- data/spec/shoulda/matchers/active_model/disallow_value_matcher_spec.rb +24 -0
- data/spec/shoulda/matchers/active_model/helpers_spec.rb +5 -7
- data/spec/shoulda/matchers/active_record/association_matcher_spec.rb +46 -12
- data/spec/shoulda/matchers/active_record/have_db_column_matcher_spec.rb +1 -1
- data/spec/support/active_model_versions.rb +6 -6
- metadata +26 -55
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a8d6dec5056a7af853da41e6e4ae08288de002a7
|
4
|
+
data.tar.gz: ea8954413360434e6ab48488e52f5783398a6e06
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: fc71bcd764ed3b1810bcdd5356bda25df166d18ad2d2d2189a6a8d4f7a2795918f477ac6f59bb7ff01fcbc36091bd34c786612247d77bda0475c4f6c6b056a21
|
7
|
+
data.tar.gz: d76951b81ac17fd5449f1b0e15129805811c581ece8b0ec46a9bdc691dd07a51351f965a9c8cfbb9d71a9691c86fc3ff2977441edb13e027c2cac0ddbc4c8c99
|
data/Appraisals
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
if RUBY_VERSION < '2.0'
|
2
2
|
appraise '3.0' do
|
3
3
|
gem 'rails', '~> 3.0.17'
|
4
|
+
gem 'strong_parameters'
|
4
5
|
end
|
5
6
|
|
6
7
|
appraise '3.1' do
|
7
8
|
gem 'rails', '~> 3.1.8'
|
8
9
|
gem 'jquery-rails'
|
9
10
|
gem 'sass-rails'
|
11
|
+
gem 'strong_parameters'
|
10
12
|
end
|
11
13
|
end
|
12
14
|
|
@@ -14,4 +16,14 @@ appraise '3.2' do
|
|
14
16
|
gem 'rails', '~> 3.2.13'
|
15
17
|
gem 'jquery-rails'
|
16
18
|
gem 'sass-rails'
|
19
|
+
gem 'strong_parameters'
|
20
|
+
end
|
21
|
+
|
22
|
+
appraise '4.0' do
|
23
|
+
gem 'rails', '4.0.0'
|
24
|
+
gem 'jquery-rails'
|
25
|
+
gem 'sass-rails', '~> 4.0.0'
|
26
|
+
|
27
|
+
# Test suite makes heavy use of attr_accessible
|
28
|
+
gem 'protected_attributes'
|
17
29
|
end
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
shoulda-matchers (2.
|
4
|
+
shoulda-matchers (2.4.0.rc1)
|
5
5
|
activesupport (>= 3.0.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -99,25 +99,21 @@ GEM
|
|
99
99
|
rspec-core (2.13.1)
|
100
100
|
rspec-expectations (2.13.0)
|
101
101
|
diff-lcs (>= 1.1.3, < 2.0)
|
102
|
-
rspec-mocks (2.13.
|
103
|
-
rspec-rails (2.13.
|
102
|
+
rspec-mocks (2.13.1)
|
103
|
+
rspec-rails (2.13.2)
|
104
104
|
actionpack (>= 3.0)
|
105
105
|
activesupport (>= 3.0)
|
106
106
|
railties (>= 3.0)
|
107
107
|
rspec-core (~> 2.13.0)
|
108
108
|
rspec-expectations (~> 2.13.0)
|
109
109
|
rspec-mocks (~> 2.13.0)
|
110
|
-
shoulda-context (1.
|
110
|
+
shoulda-context (1.1.4)
|
111
111
|
sprockets (2.2.2)
|
112
112
|
hike (~> 1.2)
|
113
113
|
multi_json (~> 1.0)
|
114
114
|
rack (~> 1.0)
|
115
115
|
tilt (~> 1.1, != 1.3.0)
|
116
116
|
sqlite3 (1.3.6)
|
117
|
-
strong_parameters (0.1.5)
|
118
|
-
actionpack (~> 3.1)
|
119
|
-
activemodel (~> 3.1)
|
120
|
-
railties (~> 3.1)
|
121
117
|
thor (0.17.0)
|
122
118
|
tilt (1.3.6)
|
123
119
|
treetop (1.4.12)
|
@@ -140,9 +136,8 @@ DEPENDENCIES
|
|
140
136
|
jruby-openssl
|
141
137
|
rails (~> 3.0)
|
142
138
|
rake (>= 0.9.2)
|
143
|
-
rspec-rails (
|
144
|
-
shoulda-context (~> 1.
|
139
|
+
rspec-rails (>= 2.13.1, < 3)
|
140
|
+
shoulda-context (~> 1.1.2)
|
145
141
|
shoulda-matchers!
|
146
142
|
sqlite3
|
147
|
-
strong_parameters
|
148
143
|
therubyrhino
|
data/NEWS.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# HEAD
|
2
2
|
|
3
|
+
* shoulda-matchers is now fully compatible with Rails 4.
|
4
|
+
|
5
|
+
* When not using RSpec, shoulda-matchers is now auto-included into
|
6
|
+
ActiveSupport::TestCase instead of Test::Unit::TestCase (in Rails 4
|
7
|
+
the former no longer inherits from the latter).
|
8
|
+
|
3
9
|
# v 2.3.0
|
4
10
|
|
5
11
|
* Fix a bug in `ensure_inclusion_of` that would cause issues with using
|
@@ -55,8 +55,7 @@ Feature: integrate with Rails
|
|
55
55
|
"""
|
56
56
|
When I set the "TESTOPTS" environment variable to "-v"
|
57
57
|
When I successfully run `bundle exec rake test --trace`
|
58
|
-
Then the output should
|
59
|
-
And the output should contain "1 tests, 1 assertions, 0 failures, 0 errors"
|
58
|
+
Then the output should indicate that 1 unit and 1 functional test were run
|
60
59
|
And the output should contain "User should require name to be set"
|
61
60
|
And the output should contain "should respond with 200"
|
62
61
|
|
@@ -111,4 +110,4 @@ Feature: integrate with Rails
|
|
111
110
|
"""
|
112
111
|
When I successfully run `bundle exec rake spec test:functionals SPEC_OPTS=-fs --trace`
|
113
112
|
Then the output should contain "1 example, 0 failures"
|
114
|
-
|
113
|
+
Then the output should indicate that 1 test was run
|
@@ -16,14 +16,14 @@ end
|
|
16
16
|
|
17
17
|
When 'I generate a new rails application' do
|
18
18
|
steps %{
|
19
|
-
When I run `rails new #{APP_NAME}`
|
19
|
+
When I run `bundle exec rails new #{APP_NAME} --skip-bundle`
|
20
20
|
And I cd to "#{APP_NAME}"
|
21
21
|
And I comment out the gem "turn" from the Gemfile
|
22
22
|
And I comment out the gem "coffee-rails" from the Gemfile
|
23
23
|
And I comment out the gem "uglifier" from the Gemfile
|
24
24
|
And I reset Bundler environment variables
|
25
25
|
And I set the "BUNDLE_GEMFILE" environment variable to "Gemfile"
|
26
|
-
And I
|
26
|
+
And I install gems
|
27
27
|
}
|
28
28
|
|
29
29
|
if RUBY_VERSION >= '1.9.3'
|
@@ -34,7 +34,7 @@ end
|
|
34
34
|
|
35
35
|
When /^I configure the application to use "([^\"]+)" from this project$/ do |name|
|
36
36
|
append_to_gemfile "gem '#{name}', :path => '#{PROJECT_ROOT}'"
|
37
|
-
steps %{And I
|
37
|
+
steps %{And I install gems}
|
38
38
|
end
|
39
39
|
|
40
40
|
When /^I configure the application to use "([^\"]+)" from this project in test and development$/ do |name|
|
@@ -43,7 +43,7 @@ When /^I configure the application to use "([^\"]+)" from this project in test a
|
|
43
43
|
gem '#{name}', :path => '#{PROJECT_ROOT}'
|
44
44
|
end
|
45
45
|
GEMFILE
|
46
|
-
steps %{And I
|
46
|
+
steps %{And I install gems}
|
47
47
|
end
|
48
48
|
|
49
49
|
When 'I run the rspec generator' do
|
@@ -54,7 +54,7 @@ end
|
|
54
54
|
|
55
55
|
When 'I configure the application to use rspec-rails' do
|
56
56
|
append_to_gemfile %q(gem 'rspec-rails', '~> 2.13')
|
57
|
-
steps %{And I
|
57
|
+
steps %{And I install gems}
|
58
58
|
end
|
59
59
|
|
60
60
|
When 'I configure the application to use rspec-rails in test and development' do
|
@@ -63,12 +63,12 @@ When 'I configure the application to use rspec-rails in test and development' do
|
|
63
63
|
gem 'rspec-rails', '~> 2.13'
|
64
64
|
end
|
65
65
|
GEMFILE
|
66
|
-
steps %{And I
|
66
|
+
steps %{And I install gems}
|
67
67
|
end
|
68
68
|
|
69
69
|
When 'I configure the application to use shoulda-context' do
|
70
70
|
append_to_gemfile %q(gem 'shoulda-context', '~> 1.0')
|
71
|
-
steps %{And I
|
71
|
+
steps %{And I install gems}
|
72
72
|
end
|
73
73
|
|
74
74
|
When /^I set the "([^"]*)" environment variable to "([^"]*)"$/ do |key, value|
|
@@ -80,7 +80,7 @@ When 'I configure a wildcard route' do
|
|
80
80
|
When I write to "config/routes.rb" with:
|
81
81
|
"""
|
82
82
|
Rails.application.routes.draw do
|
83
|
-
|
83
|
+
get ':controller(/:action(/:id(.:format)))'
|
84
84
|
end
|
85
85
|
"""
|
86
86
|
}
|
@@ -104,6 +104,33 @@ When /^I comment out the gem "([^"]*)" from the Gemfile$/ do |gemname|
|
|
104
104
|
comment_out_gem_in_gemfile(gemname)
|
105
105
|
end
|
106
106
|
|
107
|
+
When /^I install gems$/ do
|
108
|
+
steps %{When I run `bundle install --local`}
|
109
|
+
end
|
110
|
+
|
111
|
+
Then /^the output should indicate that (\d+) tests? (?:was|were) run/ do |number|
|
112
|
+
# Rails 4 has slightly different output than Rails 3 due to
|
113
|
+
# Test::Unit::TestCase -> MiniTest
|
114
|
+
if rails_4?
|
115
|
+
steps %{Then the output should contain "#{number} tests, #{number} assertions, 0 failures, 0 errors, 0 skips"}
|
116
|
+
else
|
117
|
+
steps %{Then the output should contain "#{number} tests, #{number} assertions, 0 failures, 0 errors"}
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
Then /^the output should indicate that (\d+) unit and (\d+) functional tests? were run/ do |n1, n2|
|
122
|
+
n1 = n1.to_i
|
123
|
+
n2 = n2.to_i
|
124
|
+
total = n1.to_i + n2.to_i
|
125
|
+
# Rails 3 runs separate test suites in separate processes, but Rails 4 does
|
126
|
+
# not, so that's why we have to check for different things here
|
127
|
+
if rails_4?
|
128
|
+
steps %{Then the output should contain "#{total} tests, #{total} assertions, 0 failures, 0 errors, 0 skips"}
|
129
|
+
else
|
130
|
+
steps %{Then the output should match /#{n1} tests, #{n1} assertions, 0 failures, 0 errors.+#{n2} tests, #{n2} assertions, 0 failures, 0 errors/}
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
107
134
|
module FileHelpers
|
108
135
|
def append_to(path, contents)
|
109
136
|
in_current_dir do
|
@@ -125,6 +152,11 @@ module FileHelpers
|
|
125
152
|
File.open('Gemfile', 'w'){ |file| file.write(gemfile) }
|
126
153
|
end
|
127
154
|
end
|
155
|
+
|
156
|
+
def rails_4?
|
157
|
+
match = ORIGINAL_BUNDLE_VARS['BUNDLE_GEMFILE'].match(/(\d)\.\d\.gemfile$/)
|
158
|
+
match.captures[0] == '4'
|
159
|
+
end
|
128
160
|
end
|
129
161
|
|
130
162
|
World(FileHelpers)
|
data/gemfiles/3.0.gemfile
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
-
gem "shoulda-context", "~> 1.
|
5
|
+
gem "shoulda-context", "~> 1.1.2"
|
6
6
|
gem "sqlite3", :platform=>:ruby
|
7
7
|
gem "activerecord-jdbc-adapter", :platform=>:jruby
|
8
8
|
gem "activerecord-jdbcsqlite3-adapter", :platform=>:jruby
|
@@ -10,5 +10,6 @@ gem "jdbc-sqlite3", :platform=>:jruby
|
|
10
10
|
gem "jruby-openssl", :platform=>:jruby
|
11
11
|
gem "therubyrhino", :platform=>:jruby
|
12
12
|
gem "rails", "~> 3.0.17"
|
13
|
+
gem "strong_parameters"
|
13
14
|
|
14
15
|
gemspec :path=>"../"
|
data/gemfiles/3.0.gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../
|
3
3
|
specs:
|
4
|
-
shoulda-matchers (2.
|
4
|
+
shoulda-matchers (2.4.0.rc1)
|
5
5
|
activesupport (>= 3.0.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -96,15 +96,15 @@ GEM
|
|
96
96
|
rspec-core (2.13.1)
|
97
97
|
rspec-expectations (2.13.0)
|
98
98
|
diff-lcs (>= 1.1.3, < 2.0)
|
99
|
-
rspec-mocks (2.13.
|
100
|
-
rspec-rails (2.13.
|
99
|
+
rspec-mocks (2.13.1)
|
100
|
+
rspec-rails (2.13.2)
|
101
101
|
actionpack (>= 3.0)
|
102
102
|
activesupport (>= 3.0)
|
103
103
|
railties (>= 3.0)
|
104
104
|
rspec-core (~> 2.13.0)
|
105
105
|
rspec-expectations (~> 2.13.0)
|
106
106
|
rspec-mocks (~> 2.13.0)
|
107
|
-
shoulda-context (1.
|
107
|
+
shoulda-context (1.1.4)
|
108
108
|
sqlite3 (1.3.7)
|
109
109
|
strong_parameters (0.2.0)
|
110
110
|
actionpack (~> 3.0)
|
@@ -131,8 +131,8 @@ DEPENDENCIES
|
|
131
131
|
jruby-openssl
|
132
132
|
rails (~> 3.0.17)
|
133
133
|
rake (>= 0.9.2)
|
134
|
-
rspec-rails (
|
135
|
-
shoulda-context (~> 1.
|
134
|
+
rspec-rails (>= 2.13.1, < 3)
|
135
|
+
shoulda-context (~> 1.1.2)
|
136
136
|
shoulda-matchers!
|
137
137
|
sqlite3
|
138
138
|
strong_parameters
|
data/gemfiles/3.1.gemfile
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
-
gem "shoulda-context", "~> 1.
|
5
|
+
gem "shoulda-context", "~> 1.1.2"
|
6
6
|
gem "sqlite3", :platform=>:ruby
|
7
7
|
gem "activerecord-jdbc-adapter", :platform=>:jruby
|
8
8
|
gem "activerecord-jdbcsqlite3-adapter", :platform=>:jruby
|
@@ -12,5 +12,6 @@ gem "therubyrhino", :platform=>:jruby
|
|
12
12
|
gem "rails", "~> 3.1.8"
|
13
13
|
gem "jquery-rails"
|
14
14
|
gem "sass-rails"
|
15
|
+
gem "strong_parameters"
|
15
16
|
|
16
17
|
gemspec :path=>"../"
|
data/gemfiles/3.1.gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../
|
3
3
|
specs:
|
4
|
-
shoulda-matchers (2.
|
4
|
+
shoulda-matchers (2.4.0.rc1)
|
5
5
|
activesupport (>= 3.0.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -104,8 +104,8 @@ GEM
|
|
104
104
|
rspec-core (2.13.1)
|
105
105
|
rspec-expectations (2.13.0)
|
106
106
|
diff-lcs (>= 1.1.3, < 2.0)
|
107
|
-
rspec-mocks (2.13.
|
108
|
-
rspec-rails (2.13.
|
107
|
+
rspec-mocks (2.13.1)
|
108
|
+
rspec-rails (2.13.2)
|
109
109
|
actionpack (>= 3.0)
|
110
110
|
activesupport (>= 3.0)
|
111
111
|
railties (>= 3.0)
|
@@ -118,7 +118,7 @@ GEM
|
|
118
118
|
railties (~> 3.1.0)
|
119
119
|
sass (>= 3.1.10)
|
120
120
|
tilt (~> 1.3.2)
|
121
|
-
shoulda-context (1.
|
121
|
+
shoulda-context (1.1.4)
|
122
122
|
sprockets (2.0.4)
|
123
123
|
hike (~> 1.2)
|
124
124
|
rack (~> 1.0)
|
@@ -151,9 +151,9 @@ DEPENDENCIES
|
|
151
151
|
jruby-openssl
|
152
152
|
rails (~> 3.1.8)
|
153
153
|
rake (>= 0.9.2)
|
154
|
-
rspec-rails (
|
154
|
+
rspec-rails (>= 2.13.1, < 3)
|
155
155
|
sass-rails
|
156
|
-
shoulda-context (~> 1.
|
156
|
+
shoulda-context (~> 1.1.2)
|
157
157
|
shoulda-matchers!
|
158
158
|
sqlite3
|
159
159
|
strong_parameters
|
data/gemfiles/3.2.gemfile
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
-
gem "shoulda-context", "~> 1.
|
5
|
+
gem "shoulda-context", "~> 1.1.2"
|
6
6
|
gem "sqlite3", :platform=>:ruby
|
7
7
|
gem "activerecord-jdbc-adapter", :platform=>:jruby
|
8
8
|
gem "activerecord-jdbcsqlite3-adapter", :platform=>:jruby
|
@@ -12,5 +12,6 @@ gem "therubyrhino", :platform=>:jruby
|
|
12
12
|
gem "rails", "~> 3.2.13"
|
13
13
|
gem "jquery-rails"
|
14
14
|
gem "sass-rails"
|
15
|
+
gem "strong_parameters"
|
15
16
|
|
16
17
|
gemspec :path=>"../"
|
data/gemfiles/3.2.gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../
|
3
3
|
specs:
|
4
|
-
shoulda-matchers (2.
|
4
|
+
shoulda-matchers (2.4.0.rc1)
|
5
5
|
activesupport (>= 3.0.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -102,8 +102,8 @@ GEM
|
|
102
102
|
rspec-core (2.13.1)
|
103
103
|
rspec-expectations (2.13.0)
|
104
104
|
diff-lcs (>= 1.1.3, < 2.0)
|
105
|
-
rspec-mocks (2.13.
|
106
|
-
rspec-rails (2.13.
|
105
|
+
rspec-mocks (2.13.1)
|
106
|
+
rspec-rails (2.13.2)
|
107
107
|
actionpack (>= 3.0)
|
108
108
|
activesupport (>= 3.0)
|
109
109
|
railties (>= 3.0)
|
@@ -115,7 +115,7 @@ GEM
|
|
115
115
|
railties (~> 3.2.0)
|
116
116
|
sass (>= 3.1.10)
|
117
117
|
tilt (~> 1.3)
|
118
|
-
shoulda-context (1.
|
118
|
+
shoulda-context (1.1.4)
|
119
119
|
sprockets (2.2.2)
|
120
120
|
hike (~> 1.2)
|
121
121
|
multi_json (~> 1.0)
|
@@ -149,9 +149,9 @@ DEPENDENCIES
|
|
149
149
|
jruby-openssl
|
150
150
|
rails (~> 3.2.13)
|
151
151
|
rake (>= 0.9.2)
|
152
|
-
rspec-rails (
|
152
|
+
rspec-rails (>= 2.13.1, < 3)
|
153
153
|
sass-rails
|
154
|
-
shoulda-context (~> 1.
|
154
|
+
shoulda-context (~> 1.1.2)
|
155
155
|
shoulda-matchers!
|
156
156
|
sqlite3
|
157
157
|
strong_parameters
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "shoulda-context", "~> 1.1.2"
|
6
|
+
gem "sqlite3", :platform=>:ruby
|
7
|
+
gem "activerecord-jdbc-adapter", :platform=>:jruby
|
8
|
+
gem "activerecord-jdbcsqlite3-adapter", :platform=>:jruby
|
9
|
+
gem "jdbc-sqlite3", :platform=>:jruby
|
10
|
+
gem "jruby-openssl", :platform=>:jruby
|
11
|
+
gem "therubyrhino", :platform=>:jruby
|
12
|
+
gem "rails", "4.0.0"
|
13
|
+
gem "jquery-rails"
|
14
|
+
gem "sass-rails", "~> 4.0.0"
|
15
|
+
gem "protected_attributes"
|
16
|
+
|
17
|
+
gemspec :path=>"../"
|
@@ -0,0 +1,152 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../
|
3
|
+
specs:
|
4
|
+
shoulda-matchers (2.4.0.rc1)
|
5
|
+
activesupport (>= 3.0.0)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
actionmailer (4.0.0)
|
11
|
+
actionpack (= 4.0.0)
|
12
|
+
mail (~> 2.5.3)
|
13
|
+
actionpack (4.0.0)
|
14
|
+
activesupport (= 4.0.0)
|
15
|
+
builder (~> 3.1.0)
|
16
|
+
erubis (~> 2.7.0)
|
17
|
+
rack (~> 1.5.2)
|
18
|
+
rack-test (~> 0.6.2)
|
19
|
+
activemodel (4.0.0)
|
20
|
+
activesupport (= 4.0.0)
|
21
|
+
builder (~> 3.1.0)
|
22
|
+
activerecord (4.0.0)
|
23
|
+
activemodel (= 4.0.0)
|
24
|
+
activerecord-deprecated_finders (~> 1.0.2)
|
25
|
+
activesupport (= 4.0.0)
|
26
|
+
arel (~> 4.0.0)
|
27
|
+
activerecord-deprecated_finders (1.0.3)
|
28
|
+
activesupport (4.0.0)
|
29
|
+
i18n (~> 0.6, >= 0.6.4)
|
30
|
+
minitest (~> 4.2)
|
31
|
+
multi_json (~> 1.3)
|
32
|
+
thread_safe (~> 0.1)
|
33
|
+
tzinfo (~> 0.3.37)
|
34
|
+
appraisal (0.5.2)
|
35
|
+
bundler
|
36
|
+
rake
|
37
|
+
arel (4.0.0)
|
38
|
+
aruba (0.5.3)
|
39
|
+
childprocess (>= 0.3.6)
|
40
|
+
cucumber (>= 1.1.1)
|
41
|
+
rspec-expectations (>= 2.7.0)
|
42
|
+
atomic (1.1.13)
|
43
|
+
bourne (1.5.0)
|
44
|
+
mocha (>= 0.13.2, < 0.15)
|
45
|
+
builder (3.1.4)
|
46
|
+
childprocess (0.3.9)
|
47
|
+
ffi (~> 1.0, >= 1.0.11)
|
48
|
+
cucumber (1.3.6)
|
49
|
+
builder (>= 2.1.2)
|
50
|
+
diff-lcs (>= 1.1.3)
|
51
|
+
gherkin (~> 2.12.0)
|
52
|
+
multi_json (~> 1.7.5)
|
53
|
+
multi_test (>= 0.0.2)
|
54
|
+
diff-lcs (1.2.4)
|
55
|
+
erubis (2.7.0)
|
56
|
+
ffi (1.9.0)
|
57
|
+
gherkin (2.12.1)
|
58
|
+
multi_json (~> 1.3)
|
59
|
+
hike (1.2.3)
|
60
|
+
i18n (0.6.5)
|
61
|
+
jquery-rails (3.0.4)
|
62
|
+
railties (>= 3.0, < 5.0)
|
63
|
+
thor (>= 0.14, < 2.0)
|
64
|
+
mail (2.5.4)
|
65
|
+
mime-types (~> 1.16)
|
66
|
+
treetop (~> 1.4.8)
|
67
|
+
metaclass (0.0.1)
|
68
|
+
mime-types (1.24)
|
69
|
+
minitest (4.7.5)
|
70
|
+
mocha (0.14.0)
|
71
|
+
metaclass (~> 0.0.1)
|
72
|
+
multi_json (1.7.9)
|
73
|
+
multi_test (0.0.2)
|
74
|
+
polyglot (0.3.3)
|
75
|
+
protected_attributes (1.0.3)
|
76
|
+
activemodel (>= 4.0.0, < 5.0)
|
77
|
+
rack (1.5.2)
|
78
|
+
rack-test (0.6.2)
|
79
|
+
rack (>= 1.0)
|
80
|
+
rails (4.0.0)
|
81
|
+
actionmailer (= 4.0.0)
|
82
|
+
actionpack (= 4.0.0)
|
83
|
+
activerecord (= 4.0.0)
|
84
|
+
activesupport (= 4.0.0)
|
85
|
+
bundler (>= 1.3.0, < 2.0)
|
86
|
+
railties (= 4.0.0)
|
87
|
+
sprockets-rails (~> 2.0.0)
|
88
|
+
railties (4.0.0)
|
89
|
+
actionpack (= 4.0.0)
|
90
|
+
activesupport (= 4.0.0)
|
91
|
+
rake (>= 0.8.7)
|
92
|
+
thor (>= 0.18.1, < 2.0)
|
93
|
+
rake (10.1.0)
|
94
|
+
rspec-core (2.14.5)
|
95
|
+
rspec-expectations (2.14.2)
|
96
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
97
|
+
rspec-mocks (2.14.3)
|
98
|
+
rspec-rails (2.14.0)
|
99
|
+
actionpack (>= 3.0)
|
100
|
+
activesupport (>= 3.0)
|
101
|
+
railties (>= 3.0)
|
102
|
+
rspec-core (~> 2.14.0)
|
103
|
+
rspec-expectations (~> 2.14.0)
|
104
|
+
rspec-mocks (~> 2.14.0)
|
105
|
+
sass (3.2.10)
|
106
|
+
sass-rails (4.0.0)
|
107
|
+
railties (>= 4.0.0.beta, < 5.0)
|
108
|
+
sass (>= 3.1.10)
|
109
|
+
sprockets-rails (~> 2.0.0)
|
110
|
+
shoulda-context (1.1.4)
|
111
|
+
sprockets (2.10.0)
|
112
|
+
hike (~> 1.2)
|
113
|
+
multi_json (~> 1.0)
|
114
|
+
rack (~> 1.0)
|
115
|
+
tilt (~> 1.1, != 1.3.0)
|
116
|
+
sprockets-rails (2.0.0)
|
117
|
+
actionpack (>= 3.0)
|
118
|
+
activesupport (>= 3.0)
|
119
|
+
sprockets (~> 2.8)
|
120
|
+
sqlite3 (1.3.7)
|
121
|
+
thor (0.18.1)
|
122
|
+
thread_safe (0.1.2)
|
123
|
+
atomic
|
124
|
+
tilt (1.4.1)
|
125
|
+
treetop (1.4.14)
|
126
|
+
polyglot
|
127
|
+
polyglot (>= 0.3.1)
|
128
|
+
tzinfo (0.3.37)
|
129
|
+
|
130
|
+
PLATFORMS
|
131
|
+
ruby
|
132
|
+
|
133
|
+
DEPENDENCIES
|
134
|
+
activerecord-jdbc-adapter
|
135
|
+
activerecord-jdbcsqlite3-adapter
|
136
|
+
appraisal (~> 0.4)
|
137
|
+
aruba
|
138
|
+
bourne (~> 1.3)
|
139
|
+
bundler (~> 1.1)
|
140
|
+
cucumber (~> 1.1)
|
141
|
+
jdbc-sqlite3
|
142
|
+
jquery-rails
|
143
|
+
jruby-openssl
|
144
|
+
protected_attributes
|
145
|
+
rails (= 4.0.0)
|
146
|
+
rake (>= 0.9.2)
|
147
|
+
rspec-rails (>= 2.13.1, < 3)
|
148
|
+
sass-rails (~> 4.0.0)
|
149
|
+
shoulda-context (~> 1.1.2)
|
150
|
+
shoulda-matchers!
|
151
|
+
sqlite3
|
152
|
+
therubyrhino
|