shoulda-kept-assign-to 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/.travis.yml +20 -0
- data/Appraisals +16 -8
- data/CONTRIBUTING.md +1 -4
- data/README.md +6 -2
- data/Rakefile +6 -11
- data/gemfiles/3.0.gemfile +2 -2
- data/gemfiles/3.1.gemfile +2 -4
- data/gemfiles/3.2.gemfile +2 -4
- data/gemfiles/4.0.gemfile +7 -0
- data/gemfiles/4.1.gemfile +7 -0
- data/gemfiles/4.2.gemfile +7 -0
- data/lib/shoulda/matchers/action_controller/assign_to_matcher.rb +9 -9
- data/shoulda-kept-assign-to.gemspec +2 -2
- data/spec/shoulda/matchers/action_controller/assign_to_matcher_spec.rb +7 -3
- data/spec/spec_helper.rb +5 -3
- metadata +12 -11
- data/Gemfile.lock +0 -116
- data/gemfiles/3.0.gemfile.lock +0 -120
- data/gemfiles/3.1.gemfile.lock +0 -130
- data/gemfiles/3.2.gemfile.lock +0 -130
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9994d5d8eee7b6c74cb8a9258946b7b67154e31d
|
4
|
+
data.tar.gz: 4b4b3d4ec521d0dd959a8d971a707d5d7efffba9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a40b22e5c21b7eda1e95da9fe51a128bc2809fddf430dce12e8b4da35e497d91d9e5b54e8ffb733497fdb35c3b53ab13209ffe4b165ce793de3d7b469fc56c0
|
7
|
+
data.tar.gz: 726b8abea0832c5322e836982046e0d11b56b2f7d371d5ee1a3aadd9fa54a3bff92680807616d01fd78692362e13e19cdafaae57839037a375495baab307ce86
|
data/.gitignore
CHANGED
data/.travis.yml
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
language: ruby
|
2
|
+
rvm:
|
3
|
+
- 2.0.0
|
4
|
+
- 2.1
|
5
|
+
- 2.2
|
6
|
+
gemfile:
|
7
|
+
- gemfiles/3.0.gemfile
|
8
|
+
- gemfiles/3.1.gemfile
|
9
|
+
- gemfiles/3.2.gemfile
|
10
|
+
- gemfiles/4.0.gemfile
|
11
|
+
- gemfiles/4.1.gemfile
|
12
|
+
- gemfiles/4.2.gemfile
|
13
|
+
matrix:
|
14
|
+
exclude:
|
15
|
+
- rvm: 2.2
|
16
|
+
gemfile: gemfiles/3.0.gemfile
|
17
|
+
- rvm: 2.2
|
18
|
+
gemfile: gemfiles/3.1.gemfile
|
19
|
+
- rvm: 2.2
|
20
|
+
gemfile: gemfiles/3.2.gemfile
|
data/Appraisals
CHANGED
@@ -1,15 +1,23 @@
|
|
1
1
|
appraise '3.0' do
|
2
|
-
gem 'rails', '~> 3.0'
|
2
|
+
gem 'rails', '~> 3.0.0'
|
3
3
|
end
|
4
4
|
|
5
5
|
appraise '3.1' do
|
6
|
-
gem 'rails', '~> 3.1'
|
7
|
-
gem 'jquery-rails'
|
8
|
-
gem 'sass-rails'
|
6
|
+
gem 'rails', '~> 3.1.0'
|
9
7
|
end
|
10
8
|
|
11
9
|
appraise '3.2' do
|
12
|
-
gem 'rails', '~> 3.2'
|
13
|
-
|
14
|
-
|
15
|
-
|
10
|
+
gem 'rails', '~> 3.2.0'
|
11
|
+
end
|
12
|
+
|
13
|
+
appraise '4.0' do
|
14
|
+
gem 'rails', '~> 4.0.0'
|
15
|
+
end
|
16
|
+
|
17
|
+
appraise '4.1' do
|
18
|
+
gem 'rails', '~> 4.1.0'
|
19
|
+
end
|
20
|
+
|
21
|
+
appraise '4.2' do
|
22
|
+
gem 'rails', '~> 4.2.0'
|
23
|
+
end
|
data/CONTRIBUTING.md
CHANGED
@@ -11,10 +11,7 @@ a test!
|
|
11
11
|
|
12
12
|
4. Make the test pass.
|
13
13
|
|
14
|
-
5.
|
15
|
-
heading.
|
16
|
-
|
17
|
-
6. Push to your fork and submit a pull request.
|
14
|
+
5. Push to your fork and submit a pull request.
|
18
15
|
|
19
16
|
|
20
17
|
At this point you're waiting on us. We like to at least comment on, if not
|
data/README.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
# Shoulda-Kept-Assign-To
|
2
|
+
By [Tinfoil Security](http://tinfoilsecurity.com/)
|
2
3
|
|
3
|
-
|
4
|
+
[![Build Status](https://travis-ci.org/tinfoil/shoulda-kept-assign-to.svg?branch=master)](https://travis-ci.org/tinfoil/shoulda-kept-assign-to)
|
5
|
+
|
6
|
+
Shoulda-matchers ([official Git repo](https://github.com/thoughtbot/shoulda-matchers)) removed the `assign_to` matcher in version 2.0.0. We missed it dearly, enough to bring it back. This gem adds the `assign_to` matcher back in and includes, by reference, all the rest of the `shoulda-matchers` – just the way it was before it was mercilessly destroyed.
|
4
7
|
|
5
8
|
## Example (from shoulda-matchers, v1.5)
|
6
9
|
|
@@ -26,5 +29,6 @@ In Rails 3 and Bundler, add the following to your Gemfile:
|
|
26
29
|
group :test do
|
27
30
|
gem "shoulda-kept-assign-to"
|
28
31
|
end
|
32
|
+
```
|
29
33
|
|
30
|
-
Shoulda will automatically include matchers into the appropriate example groups.
|
34
|
+
Shoulda will automatically include matchers into the appropriate example groups.
|
data/Rakefile
CHANGED
@@ -1,22 +1,17 @@
|
|
1
|
+
require 'rubygems'
|
1
2
|
require 'bundler/setup'
|
2
3
|
require 'bundler/gem_tasks'
|
3
4
|
require 'rspec/core/rake_task'
|
4
5
|
require 'appraisal'
|
5
6
|
|
6
7
|
RSpec::Core::RakeTask.new do |t|
|
7
|
-
t.pattern =
|
8
|
+
t.pattern = 'spec/**/*_spec.rb'
|
8
9
|
t.rspec_opts = '--color --format progress'
|
9
10
|
t.verbose = false
|
10
11
|
end
|
11
12
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
Rake::Task['appraise'].execute
|
17
|
-
end
|
13
|
+
if !ENV['APPRAISAL_INITIALIZED'] && !ENV['TRAVIS']
|
14
|
+
task :default => :appraisal
|
15
|
+
else
|
16
|
+
task :default => :spec
|
18
17
|
end
|
19
|
-
|
20
|
-
task :appraise => ['appraisal:install'] do |t|
|
21
|
-
exec 'rake appraisal'
|
22
|
-
end
|
data/gemfiles/3.0.gemfile
CHANGED
data/gemfiles/3.1.gemfile
CHANGED
data/gemfiles/3.2.gemfile
CHANGED
@@ -19,7 +19,7 @@ module Shoulda # :nodoc:
|
|
19
19
|
end
|
20
20
|
|
21
21
|
class AssignToMatcher # :nodoc:
|
22
|
-
attr_reader :
|
22
|
+
attr_reader :failure_message, :failure_message_when_negated
|
23
23
|
|
24
24
|
def initialize(variable)
|
25
25
|
@variable = variable.to_s
|
@@ -64,12 +64,12 @@ module Shoulda # :nodoc:
|
|
64
64
|
|
65
65
|
def assigned_value?
|
66
66
|
if @controller.instance_variables.map(&:to_s).include?("@#{@variable}")
|
67
|
-
@
|
67
|
+
@failure_message_when_negated =
|
68
68
|
"Didn't expect action to assign a value for @#{@variable}, " <<
|
69
69
|
"but it was assigned to #{assigned_value.inspect}"
|
70
70
|
true
|
71
71
|
else
|
72
|
-
@
|
72
|
+
@failure_message =
|
73
73
|
"Expected action to assign a value for @#{@variable}"
|
74
74
|
false
|
75
75
|
end
|
@@ -78,12 +78,12 @@ module Shoulda # :nodoc:
|
|
78
78
|
def kind_of_expected_class?
|
79
79
|
if @options.key?(:expected_class)
|
80
80
|
if assigned_value.kind_of?(@options[:expected_class])
|
81
|
-
@
|
81
|
+
@failure_message_when_negated =
|
82
82
|
"Didn't expect action to assign a kind of #{@options[:expected_class]} " <<
|
83
83
|
"for #{@variable}, but got one anyway"
|
84
84
|
true
|
85
85
|
else
|
86
|
-
@
|
86
|
+
@failure_message =
|
87
87
|
"Expected action to assign a kind of #{@options[:expected_class]} " <<
|
88
88
|
"for #{@variable}, but got #{assigned_value.inspect} " <<
|
89
89
|
"(#{assigned_value.class.name})"
|
@@ -96,13 +96,13 @@ module Shoulda # :nodoc:
|
|
96
96
|
|
97
97
|
def equal_to_expected_value?
|
98
98
|
if @options[:check_value]
|
99
|
-
if @options[:expected_value]
|
100
|
-
@
|
99
|
+
if @options[:expected_value] === assigned_value
|
100
|
+
@failure_message_when_negated =
|
101
101
|
"Didn't expect action to assign #{@options[:expected_value].inspect} " <<
|
102
102
|
"for #{@variable}, but got it anyway"
|
103
103
|
true
|
104
104
|
else
|
105
|
-
@
|
105
|
+
@failure_message =
|
106
106
|
"Expected action to assign #{@options[:expected_value].inspect} " <<
|
107
107
|
"for #{@variable}, but got #{assigned_value.inspect}"
|
108
108
|
false
|
@@ -124,4 +124,4 @@ module Shoulda # :nodoc:
|
|
124
124
|
end
|
125
125
|
end
|
126
126
|
end
|
127
|
-
end
|
127
|
+
end
|
@@ -2,7 +2,7 @@ $LOAD_PATH << File.join(File.dirname(__FILE__), 'lib')
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "shoulda-kept-assign-to"
|
5
|
-
s.version = '1.0
|
5
|
+
s.version = '1.1.0'
|
6
6
|
s.authors = ["Angel Irizarry", "Ben Sedat"]
|
7
7
|
s.date = Time.now.strftime("%Y-%m-%d")
|
8
8
|
s.email = "engineers@tinfoilsecurity.com"
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
|
|
22
22
|
s.add_development_dependency('bundler')
|
23
23
|
s.add_development_dependency('rake')
|
24
24
|
s.add_development_dependency('appraisal')
|
25
|
-
s.add_development_dependency('rails'
|
25
|
+
s.add_development_dependency('rails')
|
26
26
|
s.add_development_dependency('sqlite3')
|
27
27
|
s.add_development_dependency('rspec-rails')
|
28
28
|
end
|
@@ -12,7 +12,7 @@ describe Shoulda::Matchers::ActionController::AssignToMatcher do
|
|
12
12
|
matcher = assign_to(:var).with_kind_of(Fixnum)
|
13
13
|
matcher.matches?(controller)
|
14
14
|
|
15
|
-
matcher.
|
15
|
+
matcher.failure_message.should =~ /kind of Fixnum for var, but got.*\(WrongClass\)$/
|
16
16
|
end
|
17
17
|
|
18
18
|
context 'a controller that assigns to an instance variable' do
|
@@ -50,8 +50,12 @@ describe Shoulda::Matchers::ActionController::AssignToMatcher do
|
|
50
50
|
controller.should_not assign_to(:var).in_context(self).with { expected }
|
51
51
|
end
|
52
52
|
|
53
|
+
it 'accepts assigning a matcher for the value to that variable' do
|
54
|
+
controller.should assign_to(:arr).with(match_array(['value', 'other']))
|
55
|
+
end
|
56
|
+
|
53
57
|
def controller
|
54
|
-
build_response { @var = 'value' }
|
58
|
+
build_response { @var = 'value'; @arr = ['other', 'value'] }
|
55
59
|
end
|
56
60
|
end
|
57
61
|
|
@@ -63,4 +67,4 @@ describe Shoulda::Matchers::ActionController::AssignToMatcher do
|
|
63
67
|
controller.should assign_to(:var)
|
64
68
|
end
|
65
69
|
end
|
66
|
-
end
|
70
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -21,6 +21,8 @@ ActiveRecord::Migration.verbose = false
|
|
21
21
|
ActiveRecord::Migrator.migrate(Rails.root.join('db/migrate'))
|
22
22
|
|
23
23
|
RSpec.configure do |config|
|
24
|
-
config.include
|
25
|
-
|
26
|
-
|
24
|
+
config.include ActionController::TemplateAssertions
|
25
|
+
config.include Shoulda::Matchers::ActionController
|
26
|
+
|
27
|
+
config.expect_with(:rspec) { |c| c.syntax = :should }
|
28
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shoulda-kept-assign-to
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Angel Irizarry
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-10-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: shoulda-matchers
|
@@ -71,16 +71,16 @@ dependencies:
|
|
71
71
|
name: rails
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- -
|
74
|
+
- - '>='
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '
|
76
|
+
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- -
|
81
|
+
- - '>='
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: '
|
83
|
+
version: '0'
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: sqlite3
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
@@ -116,19 +116,19 @@ extensions: []
|
|
116
116
|
extra_rdoc_files: []
|
117
117
|
files:
|
118
118
|
- .gitignore
|
119
|
+
- .travis.yml
|
119
120
|
- Appraisals
|
120
121
|
- CONTRIBUTING.md
|
121
122
|
- Gemfile
|
122
|
-
- Gemfile.lock
|
123
123
|
- MIT-LICENSE
|
124
124
|
- README.md
|
125
125
|
- Rakefile
|
126
126
|
- gemfiles/3.0.gemfile
|
127
|
-
- gemfiles/3.0.gemfile.lock
|
128
127
|
- gemfiles/3.1.gemfile
|
129
|
-
- gemfiles/3.1.gemfile.lock
|
130
128
|
- gemfiles/3.2.gemfile
|
131
|
-
- gemfiles/
|
129
|
+
- gemfiles/4.0.gemfile
|
130
|
+
- gemfiles/4.1.gemfile
|
131
|
+
- gemfiles/4.2.gemfile
|
132
132
|
- lib/shoulda-kept-assign-to.rb
|
133
133
|
- lib/shoulda/matchers/action_controller/assign_to_matcher.rb
|
134
134
|
- shoulda-kept-assign-to.gemspec
|
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
156
156
|
version: '0'
|
157
157
|
requirements: []
|
158
158
|
rubyforge_project:
|
159
|
-
rubygems_version: 2.
|
159
|
+
rubygems_version: 2.4.8
|
160
160
|
signing_key:
|
161
161
|
specification_version: 4
|
162
162
|
summary: We miss the assign_to matcher in shoulda-matchers.
|
@@ -165,3 +165,4 @@ test_files:
|
|
165
165
|
- spec/spec_helper.rb
|
166
166
|
- spec/support/class_builder.rb
|
167
167
|
- spec/support/controller_builder.rb
|
168
|
+
has_rdoc:
|
data/Gemfile.lock
DELETED
@@ -1,116 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
shoulda-kept-assign-to (1.0.1)
|
5
|
-
shoulda-matchers (>= 2.1.0)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
actionmailer (3.2.17)
|
11
|
-
actionpack (= 3.2.17)
|
12
|
-
mail (~> 2.5.4)
|
13
|
-
actionpack (3.2.17)
|
14
|
-
activemodel (= 3.2.17)
|
15
|
-
activesupport (= 3.2.17)
|
16
|
-
builder (~> 3.0.0)
|
17
|
-
erubis (~> 2.7.0)
|
18
|
-
journey (~> 1.0.4)
|
19
|
-
rack (~> 1.4.5)
|
20
|
-
rack-cache (~> 1.2)
|
21
|
-
rack-test (~> 0.6.1)
|
22
|
-
sprockets (~> 2.2.1)
|
23
|
-
activemodel (3.2.17)
|
24
|
-
activesupport (= 3.2.17)
|
25
|
-
builder (~> 3.0.0)
|
26
|
-
activerecord (3.2.17)
|
27
|
-
activemodel (= 3.2.17)
|
28
|
-
activesupport (= 3.2.17)
|
29
|
-
arel (~> 3.0.2)
|
30
|
-
tzinfo (~> 0.3.29)
|
31
|
-
activeresource (3.2.17)
|
32
|
-
activemodel (= 3.2.17)
|
33
|
-
activesupport (= 3.2.17)
|
34
|
-
activesupport (3.2.17)
|
35
|
-
i18n (~> 0.6, >= 0.6.4)
|
36
|
-
multi_json (~> 1.0)
|
37
|
-
appraisal (0.5.2)
|
38
|
-
bundler
|
39
|
-
rake
|
40
|
-
arel (3.0.3)
|
41
|
-
builder (3.0.4)
|
42
|
-
diff-lcs (1.2.5)
|
43
|
-
erubis (2.7.0)
|
44
|
-
hike (1.2.3)
|
45
|
-
i18n (0.6.9)
|
46
|
-
journey (1.0.4)
|
47
|
-
json (1.8.1)
|
48
|
-
mail (2.5.4)
|
49
|
-
mime-types (~> 1.16)
|
50
|
-
treetop (~> 1.4.8)
|
51
|
-
mime-types (1.25.1)
|
52
|
-
multi_json (1.9.0)
|
53
|
-
polyglot (0.3.4)
|
54
|
-
rack (1.4.5)
|
55
|
-
rack-cache (1.2)
|
56
|
-
rack (>= 0.4)
|
57
|
-
rack-ssl (1.3.3)
|
58
|
-
rack
|
59
|
-
rack-test (0.6.2)
|
60
|
-
rack (>= 1.0)
|
61
|
-
rails (3.2.17)
|
62
|
-
actionmailer (= 3.2.17)
|
63
|
-
actionpack (= 3.2.17)
|
64
|
-
activerecord (= 3.2.17)
|
65
|
-
activeresource (= 3.2.17)
|
66
|
-
activesupport (= 3.2.17)
|
67
|
-
bundler (~> 1.0)
|
68
|
-
railties (= 3.2.17)
|
69
|
-
railties (3.2.17)
|
70
|
-
actionpack (= 3.2.17)
|
71
|
-
activesupport (= 3.2.17)
|
72
|
-
rack-ssl (~> 1.3.2)
|
73
|
-
rake (>= 0.8.7)
|
74
|
-
rdoc (~> 3.4)
|
75
|
-
thor (>= 0.14.6, < 2.0)
|
76
|
-
rake (10.1.1)
|
77
|
-
rdoc (3.12.2)
|
78
|
-
json (~> 1.4)
|
79
|
-
rspec-core (2.14.8)
|
80
|
-
rspec-expectations (2.14.5)
|
81
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
82
|
-
rspec-mocks (2.14.6)
|
83
|
-
rspec-rails (2.14.1)
|
84
|
-
actionpack (>= 3.0)
|
85
|
-
activemodel (>= 3.0)
|
86
|
-
activesupport (>= 3.0)
|
87
|
-
railties (>= 3.0)
|
88
|
-
rspec-core (~> 2.14.0)
|
89
|
-
rspec-expectations (~> 2.14.0)
|
90
|
-
rspec-mocks (~> 2.14.0)
|
91
|
-
shoulda-matchers (2.5.0)
|
92
|
-
activesupport (>= 3.0.0)
|
93
|
-
sprockets (2.2.2)
|
94
|
-
hike (~> 1.2)
|
95
|
-
multi_json (~> 1.0)
|
96
|
-
rack (~> 1.0)
|
97
|
-
tilt (~> 1.1, != 1.3.0)
|
98
|
-
sqlite3 (1.3.9)
|
99
|
-
thor (0.18.1)
|
100
|
-
tilt (1.4.1)
|
101
|
-
treetop (1.4.15)
|
102
|
-
polyglot
|
103
|
-
polyglot (>= 0.3.1)
|
104
|
-
tzinfo (0.3.38)
|
105
|
-
|
106
|
-
PLATFORMS
|
107
|
-
ruby
|
108
|
-
|
109
|
-
DEPENDENCIES
|
110
|
-
appraisal
|
111
|
-
bundler
|
112
|
-
rails (~> 3)
|
113
|
-
rake
|
114
|
-
rspec-rails
|
115
|
-
shoulda-kept-assign-to!
|
116
|
-
sqlite3
|
data/gemfiles/3.0.gemfile.lock
DELETED
@@ -1,120 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../
|
3
|
-
specs:
|
4
|
-
shoulda-kept-assign-to (1.0.1)
|
5
|
-
shoulda-matchers (>= 2.1.0)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
actionmailer (3.2.17)
|
11
|
-
actionpack (= 3.2.17)
|
12
|
-
mail (~> 2.5.4)
|
13
|
-
actionpack (3.2.17)
|
14
|
-
activemodel (= 3.2.17)
|
15
|
-
activesupport (= 3.2.17)
|
16
|
-
builder (~> 3.0.0)
|
17
|
-
erubis (~> 2.7.0)
|
18
|
-
journey (~> 1.0.4)
|
19
|
-
rack (~> 1.4.5)
|
20
|
-
rack-cache (~> 1.2)
|
21
|
-
rack-test (~> 0.6.1)
|
22
|
-
sprockets (~> 2.2.1)
|
23
|
-
activemodel (3.2.17)
|
24
|
-
activesupport (= 3.2.17)
|
25
|
-
builder (~> 3.0.0)
|
26
|
-
activerecord (3.2.17)
|
27
|
-
activemodel (= 3.2.17)
|
28
|
-
activesupport (= 3.2.17)
|
29
|
-
arel (~> 3.0.2)
|
30
|
-
tzinfo (~> 0.3.29)
|
31
|
-
activeresource (3.2.17)
|
32
|
-
activemodel (= 3.2.17)
|
33
|
-
activesupport (= 3.2.17)
|
34
|
-
activesupport (3.2.17)
|
35
|
-
i18n (~> 0.6, >= 0.6.4)
|
36
|
-
multi_json (~> 1.0)
|
37
|
-
appraisal (0.5.2)
|
38
|
-
bundler
|
39
|
-
rake
|
40
|
-
arel (3.0.3)
|
41
|
-
builder (3.0.4)
|
42
|
-
diff-lcs (1.2.5)
|
43
|
-
erubis (2.7.0)
|
44
|
-
hike (1.2.3)
|
45
|
-
i18n (0.6.9)
|
46
|
-
journey (1.0.4)
|
47
|
-
json (1.8.1)
|
48
|
-
mail (2.5.4)
|
49
|
-
mime-types (~> 1.16)
|
50
|
-
treetop (~> 1.4.8)
|
51
|
-
metaclass (0.0.4)
|
52
|
-
mime-types (1.25.1)
|
53
|
-
mocha (1.0.0)
|
54
|
-
metaclass (~> 0.0.1)
|
55
|
-
multi_json (1.9.0)
|
56
|
-
polyglot (0.3.4)
|
57
|
-
rack (1.4.5)
|
58
|
-
rack-cache (1.2)
|
59
|
-
rack (>= 0.4)
|
60
|
-
rack-ssl (1.3.3)
|
61
|
-
rack
|
62
|
-
rack-test (0.6.2)
|
63
|
-
rack (>= 1.0)
|
64
|
-
rails (3.2.17)
|
65
|
-
actionmailer (= 3.2.17)
|
66
|
-
actionpack (= 3.2.17)
|
67
|
-
activerecord (= 3.2.17)
|
68
|
-
activeresource (= 3.2.17)
|
69
|
-
activesupport (= 3.2.17)
|
70
|
-
bundler (~> 1.0)
|
71
|
-
railties (= 3.2.17)
|
72
|
-
railties (3.2.17)
|
73
|
-
actionpack (= 3.2.17)
|
74
|
-
activesupport (= 3.2.17)
|
75
|
-
rack-ssl (~> 1.3.2)
|
76
|
-
rake (>= 0.8.7)
|
77
|
-
rdoc (~> 3.4)
|
78
|
-
thor (>= 0.14.6, < 2.0)
|
79
|
-
rake (10.1.1)
|
80
|
-
rdoc (3.12.2)
|
81
|
-
json (~> 1.4)
|
82
|
-
rspec-core (2.14.8)
|
83
|
-
rspec-expectations (2.14.5)
|
84
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
85
|
-
rspec-mocks (2.14.6)
|
86
|
-
rspec-rails (2.14.1)
|
87
|
-
actionpack (>= 3.0)
|
88
|
-
activemodel (>= 3.0)
|
89
|
-
activesupport (>= 3.0)
|
90
|
-
railties (>= 3.0)
|
91
|
-
rspec-core (~> 2.14.0)
|
92
|
-
rspec-expectations (~> 2.14.0)
|
93
|
-
rspec-mocks (~> 2.14.0)
|
94
|
-
shoulda-matchers (2.5.0)
|
95
|
-
activesupport (>= 3.0.0)
|
96
|
-
sprockets (2.2.2)
|
97
|
-
hike (~> 1.2)
|
98
|
-
multi_json (~> 1.0)
|
99
|
-
rack (~> 1.0)
|
100
|
-
tilt (~> 1.1, != 1.3.0)
|
101
|
-
sqlite3 (1.3.9)
|
102
|
-
thor (0.18.1)
|
103
|
-
tilt (1.4.1)
|
104
|
-
treetop (1.4.15)
|
105
|
-
polyglot
|
106
|
-
polyglot (>= 0.3.1)
|
107
|
-
tzinfo (0.3.38)
|
108
|
-
|
109
|
-
PLATFORMS
|
110
|
-
ruby
|
111
|
-
|
112
|
-
DEPENDENCIES
|
113
|
-
appraisal
|
114
|
-
bundler
|
115
|
-
mocha
|
116
|
-
rails (~> 3.0)
|
117
|
-
rake
|
118
|
-
rspec-rails
|
119
|
-
shoulda-kept-assign-to!
|
120
|
-
sqlite3
|
data/gemfiles/3.1.gemfile.lock
DELETED
@@ -1,130 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../
|
3
|
-
specs:
|
4
|
-
shoulda-kept-assign-to (1.0.1)
|
5
|
-
shoulda-matchers (>= 2.1.0)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
actionmailer (3.2.17)
|
11
|
-
actionpack (= 3.2.17)
|
12
|
-
mail (~> 2.5.4)
|
13
|
-
actionpack (3.2.17)
|
14
|
-
activemodel (= 3.2.17)
|
15
|
-
activesupport (= 3.2.17)
|
16
|
-
builder (~> 3.0.0)
|
17
|
-
erubis (~> 2.7.0)
|
18
|
-
journey (~> 1.0.4)
|
19
|
-
rack (~> 1.4.5)
|
20
|
-
rack-cache (~> 1.2)
|
21
|
-
rack-test (~> 0.6.1)
|
22
|
-
sprockets (~> 2.2.1)
|
23
|
-
activemodel (3.2.17)
|
24
|
-
activesupport (= 3.2.17)
|
25
|
-
builder (~> 3.0.0)
|
26
|
-
activerecord (3.2.17)
|
27
|
-
activemodel (= 3.2.17)
|
28
|
-
activesupport (= 3.2.17)
|
29
|
-
arel (~> 3.0.2)
|
30
|
-
tzinfo (~> 0.3.29)
|
31
|
-
activeresource (3.2.17)
|
32
|
-
activemodel (= 3.2.17)
|
33
|
-
activesupport (= 3.2.17)
|
34
|
-
activesupport (3.2.17)
|
35
|
-
i18n (~> 0.6, >= 0.6.4)
|
36
|
-
multi_json (~> 1.0)
|
37
|
-
appraisal (0.5.2)
|
38
|
-
bundler
|
39
|
-
rake
|
40
|
-
arel (3.0.3)
|
41
|
-
builder (3.0.4)
|
42
|
-
diff-lcs (1.2.5)
|
43
|
-
erubis (2.7.0)
|
44
|
-
hike (1.2.3)
|
45
|
-
i18n (0.6.9)
|
46
|
-
journey (1.0.4)
|
47
|
-
jquery-rails (3.1.0)
|
48
|
-
railties (>= 3.0, < 5.0)
|
49
|
-
thor (>= 0.14, < 2.0)
|
50
|
-
json (1.8.1)
|
51
|
-
mail (2.5.4)
|
52
|
-
mime-types (~> 1.16)
|
53
|
-
treetop (~> 1.4.8)
|
54
|
-
metaclass (0.0.4)
|
55
|
-
mime-types (1.25.1)
|
56
|
-
mocha (1.0.0)
|
57
|
-
metaclass (~> 0.0.1)
|
58
|
-
multi_json (1.9.0)
|
59
|
-
polyglot (0.3.4)
|
60
|
-
rack (1.4.5)
|
61
|
-
rack-cache (1.2)
|
62
|
-
rack (>= 0.4)
|
63
|
-
rack-ssl (1.3.3)
|
64
|
-
rack
|
65
|
-
rack-test (0.6.2)
|
66
|
-
rack (>= 1.0)
|
67
|
-
rails (3.2.17)
|
68
|
-
actionmailer (= 3.2.17)
|
69
|
-
actionpack (= 3.2.17)
|
70
|
-
activerecord (= 3.2.17)
|
71
|
-
activeresource (= 3.2.17)
|
72
|
-
activesupport (= 3.2.17)
|
73
|
-
bundler (~> 1.0)
|
74
|
-
railties (= 3.2.17)
|
75
|
-
railties (3.2.17)
|
76
|
-
actionpack (= 3.2.17)
|
77
|
-
activesupport (= 3.2.17)
|
78
|
-
rack-ssl (~> 1.3.2)
|
79
|
-
rake (>= 0.8.7)
|
80
|
-
rdoc (~> 3.4)
|
81
|
-
thor (>= 0.14.6, < 2.0)
|
82
|
-
rake (10.1.1)
|
83
|
-
rdoc (3.12.2)
|
84
|
-
json (~> 1.4)
|
85
|
-
rspec-core (2.14.8)
|
86
|
-
rspec-expectations (2.14.5)
|
87
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
88
|
-
rspec-mocks (2.14.6)
|
89
|
-
rspec-rails (2.14.1)
|
90
|
-
actionpack (>= 3.0)
|
91
|
-
activemodel (>= 3.0)
|
92
|
-
activesupport (>= 3.0)
|
93
|
-
railties (>= 3.0)
|
94
|
-
rspec-core (~> 2.14.0)
|
95
|
-
rspec-expectations (~> 2.14.0)
|
96
|
-
rspec-mocks (~> 2.14.0)
|
97
|
-
sass (3.2.15)
|
98
|
-
sass-rails (3.2.6)
|
99
|
-
railties (~> 3.2.0)
|
100
|
-
sass (>= 3.1.10)
|
101
|
-
tilt (~> 1.3)
|
102
|
-
shoulda-matchers (2.5.0)
|
103
|
-
activesupport (>= 3.0.0)
|
104
|
-
sprockets (2.2.2)
|
105
|
-
hike (~> 1.2)
|
106
|
-
multi_json (~> 1.0)
|
107
|
-
rack (~> 1.0)
|
108
|
-
tilt (~> 1.1, != 1.3.0)
|
109
|
-
sqlite3 (1.3.9)
|
110
|
-
thor (0.18.1)
|
111
|
-
tilt (1.4.1)
|
112
|
-
treetop (1.4.15)
|
113
|
-
polyglot
|
114
|
-
polyglot (>= 0.3.1)
|
115
|
-
tzinfo (0.3.38)
|
116
|
-
|
117
|
-
PLATFORMS
|
118
|
-
ruby
|
119
|
-
|
120
|
-
DEPENDENCIES
|
121
|
-
appraisal
|
122
|
-
bundler
|
123
|
-
jquery-rails
|
124
|
-
mocha
|
125
|
-
rails (~> 3.1)
|
126
|
-
rake
|
127
|
-
rspec-rails
|
128
|
-
sass-rails
|
129
|
-
shoulda-kept-assign-to!
|
130
|
-
sqlite3
|
data/gemfiles/3.2.gemfile.lock
DELETED
@@ -1,130 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../
|
3
|
-
specs:
|
4
|
-
shoulda-kept-assign-to (1.0.1)
|
5
|
-
shoulda-matchers (>= 2.1.0)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
actionmailer (3.2.17)
|
11
|
-
actionpack (= 3.2.17)
|
12
|
-
mail (~> 2.5.4)
|
13
|
-
actionpack (3.2.17)
|
14
|
-
activemodel (= 3.2.17)
|
15
|
-
activesupport (= 3.2.17)
|
16
|
-
builder (~> 3.0.0)
|
17
|
-
erubis (~> 2.7.0)
|
18
|
-
journey (~> 1.0.4)
|
19
|
-
rack (~> 1.4.5)
|
20
|
-
rack-cache (~> 1.2)
|
21
|
-
rack-test (~> 0.6.1)
|
22
|
-
sprockets (~> 2.2.1)
|
23
|
-
activemodel (3.2.17)
|
24
|
-
activesupport (= 3.2.17)
|
25
|
-
builder (~> 3.0.0)
|
26
|
-
activerecord (3.2.17)
|
27
|
-
activemodel (= 3.2.17)
|
28
|
-
activesupport (= 3.2.17)
|
29
|
-
arel (~> 3.0.2)
|
30
|
-
tzinfo (~> 0.3.29)
|
31
|
-
activeresource (3.2.17)
|
32
|
-
activemodel (= 3.2.17)
|
33
|
-
activesupport (= 3.2.17)
|
34
|
-
activesupport (3.2.17)
|
35
|
-
i18n (~> 0.6, >= 0.6.4)
|
36
|
-
multi_json (~> 1.0)
|
37
|
-
appraisal (0.5.2)
|
38
|
-
bundler
|
39
|
-
rake
|
40
|
-
arel (3.0.3)
|
41
|
-
builder (3.0.4)
|
42
|
-
diff-lcs (1.2.5)
|
43
|
-
erubis (2.7.0)
|
44
|
-
hike (1.2.3)
|
45
|
-
i18n (0.6.9)
|
46
|
-
journey (1.0.4)
|
47
|
-
jquery-rails (3.1.0)
|
48
|
-
railties (>= 3.0, < 5.0)
|
49
|
-
thor (>= 0.14, < 2.0)
|
50
|
-
json (1.8.1)
|
51
|
-
mail (2.5.4)
|
52
|
-
mime-types (~> 1.16)
|
53
|
-
treetop (~> 1.4.8)
|
54
|
-
metaclass (0.0.4)
|
55
|
-
mime-types (1.25.1)
|
56
|
-
mocha (1.0.0)
|
57
|
-
metaclass (~> 0.0.1)
|
58
|
-
multi_json (1.9.0)
|
59
|
-
polyglot (0.3.4)
|
60
|
-
rack (1.4.5)
|
61
|
-
rack-cache (1.2)
|
62
|
-
rack (>= 0.4)
|
63
|
-
rack-ssl (1.3.3)
|
64
|
-
rack
|
65
|
-
rack-test (0.6.2)
|
66
|
-
rack (>= 1.0)
|
67
|
-
rails (3.2.17)
|
68
|
-
actionmailer (= 3.2.17)
|
69
|
-
actionpack (= 3.2.17)
|
70
|
-
activerecord (= 3.2.17)
|
71
|
-
activeresource (= 3.2.17)
|
72
|
-
activesupport (= 3.2.17)
|
73
|
-
bundler (~> 1.0)
|
74
|
-
railties (= 3.2.17)
|
75
|
-
railties (3.2.17)
|
76
|
-
actionpack (= 3.2.17)
|
77
|
-
activesupport (= 3.2.17)
|
78
|
-
rack-ssl (~> 1.3.2)
|
79
|
-
rake (>= 0.8.7)
|
80
|
-
rdoc (~> 3.4)
|
81
|
-
thor (>= 0.14.6, < 2.0)
|
82
|
-
rake (10.1.1)
|
83
|
-
rdoc (3.12.2)
|
84
|
-
json (~> 1.4)
|
85
|
-
rspec-core (2.14.8)
|
86
|
-
rspec-expectations (2.14.5)
|
87
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
88
|
-
rspec-mocks (2.14.6)
|
89
|
-
rspec-rails (2.14.1)
|
90
|
-
actionpack (>= 3.0)
|
91
|
-
activemodel (>= 3.0)
|
92
|
-
activesupport (>= 3.0)
|
93
|
-
railties (>= 3.0)
|
94
|
-
rspec-core (~> 2.14.0)
|
95
|
-
rspec-expectations (~> 2.14.0)
|
96
|
-
rspec-mocks (~> 2.14.0)
|
97
|
-
sass (3.2.15)
|
98
|
-
sass-rails (3.2.6)
|
99
|
-
railties (~> 3.2.0)
|
100
|
-
sass (>= 3.1.10)
|
101
|
-
tilt (~> 1.3)
|
102
|
-
shoulda-matchers (2.5.0)
|
103
|
-
activesupport (>= 3.0.0)
|
104
|
-
sprockets (2.2.2)
|
105
|
-
hike (~> 1.2)
|
106
|
-
multi_json (~> 1.0)
|
107
|
-
rack (~> 1.0)
|
108
|
-
tilt (~> 1.1, != 1.3.0)
|
109
|
-
sqlite3 (1.3.9)
|
110
|
-
thor (0.18.1)
|
111
|
-
tilt (1.4.1)
|
112
|
-
treetop (1.4.15)
|
113
|
-
polyglot
|
114
|
-
polyglot (>= 0.3.1)
|
115
|
-
tzinfo (0.3.38)
|
116
|
-
|
117
|
-
PLATFORMS
|
118
|
-
ruby
|
119
|
-
|
120
|
-
DEPENDENCIES
|
121
|
-
appraisal
|
122
|
-
bundler
|
123
|
-
jquery-rails
|
124
|
-
mocha
|
125
|
-
rails (~> 3.2)
|
126
|
-
rake
|
127
|
-
rspec-rails
|
128
|
-
sass-rails
|
129
|
-
shoulda-kept-assign-to!
|
130
|
-
sqlite3
|