unchanged_validator 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +15 -0
- data/.rspec +2 -0
- data/.travis.yml +9 -0
- data/Appraisals +19 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +101 -0
- data/Rakefile +2 -0
- data/config/locales/en.yml +4 -0
- data/gemfiles/rails_3.1.gemfile +7 -0
- data/gemfiles/rails_3.1.gemfile.lock +118 -0
- data/gemfiles/rails_3.2.gemfile +7 -0
- data/gemfiles/rails_3.2.gemfile.lock +114 -0
- data/gemfiles/rails_4.0.gemfile +7 -0
- data/gemfiles/rails_4.0.gemfile.lock +107 -0
- data/gemfiles/rails_4.1.gemfile +7 -0
- data/gemfiles/rails_4.1.gemfile.lock +113 -0
- data/gemfiles/rails_4.2.gemfile +7 -0
- data/gemfiles/rails_4.2.gemfile.lock +133 -0
- data/lib/active_model/validations/unchanged_validator.rb +35 -0
- data/lib/unchanged_validator/engine.rb +5 -0
- data/lib/unchanged_validator/version.rb +3 -0
- data/lib/unchanged_validator.rb +7 -0
- data/spec/active_model/validations/helper_methods_spec.rb +152 -0
- data/spec/active_model/validations/unchanged_validator_spec.rb +56 -0
- data/spec/spec_helper.rb +97 -0
- data/unchanged_validator.gemspec +27 -0
- metadata +160 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: dbef5baf88e54ff72c54de4f7bf6e563cd85b46b
|
4
|
+
data.tar.gz: 0bb3acda62cee1a8f57877f71fc679440cac1458
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 602fdfdebbfd78285b2ff3191034cc5f174e288a73bc7c103cd8c9abcf581c9987a2d4ef5e32f2705166f101c7b88f35243587ecc04c8b0e612fb35393a22b8b
|
7
|
+
data.tar.gz: 2c57fe376bd3268c6cb326b2c82a5fd4075d07bc87f8ffac17e81018a434afd9c0dd514fb65866ff4c0b1723c7c6d8a8850f7b54a4d0286c9ae3aab58d2a7c68
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Appraisals
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
appraise 'rails-3.1' do
|
2
|
+
gem 'rails', '3.1.0'
|
3
|
+
end
|
4
|
+
|
5
|
+
appraise 'rails-3.2' do
|
6
|
+
gem 'rails', '3.2.0'
|
7
|
+
end
|
8
|
+
|
9
|
+
appraise 'rails-4.0' do
|
10
|
+
gem 'rails', '4.0.0'
|
11
|
+
end
|
12
|
+
|
13
|
+
appraise 'rails-4.1' do
|
14
|
+
gem 'rails', '4.1.0'
|
15
|
+
end
|
16
|
+
|
17
|
+
appraise 'rails-4.2' do
|
18
|
+
gem 'rails', '4.2.0'
|
19
|
+
end
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 Peter Marsh
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,101 @@
|
|
1
|
+
# UnchangedValidator
|
2
|
+
|
3
|
+
A validator for ActiveModels that checks that attributes have not been
|
4
|
+
modified since the last time the model was saved.
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
Add this line to your application's Gemfile:
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
gem 'unchanged_validator'
|
12
|
+
```
|
13
|
+
|
14
|
+
And then execute:
|
15
|
+
|
16
|
+
$ bundle
|
17
|
+
|
18
|
+
Or install it yourself as:
|
19
|
+
|
20
|
+
$ gem install unchanged_validator
|
21
|
+
|
22
|
+
## Running the tests
|
23
|
+
|
24
|
+
Install various dependencies:
|
25
|
+
|
26
|
+
$ appraisal install
|
27
|
+
|
28
|
+
Then, to run the tests:
|
29
|
+
|
30
|
+
$ appraisal rspec
|
31
|
+
|
32
|
+
## Usage
|
33
|
+
|
34
|
+
### Example
|
35
|
+
|
36
|
+
```ruby
|
37
|
+
class Person < ActiveRecord::Base
|
38
|
+
validates_unchanged :first_name
|
39
|
+
end
|
40
|
+
|
41
|
+
p = Person.new
|
42
|
+
p.first_name = 'Bob'
|
43
|
+
p.save
|
44
|
+
#=> true
|
45
|
+
p.valid?
|
46
|
+
#=> true
|
47
|
+
|
48
|
+
p.first_name = 'Dave'
|
49
|
+
p.save
|
50
|
+
#=> false
|
51
|
+
p.valid?
|
52
|
+
#=> false
|
53
|
+
```
|
54
|
+
|
55
|
+
### I18n
|
56
|
+
|
57
|
+
To change the default message for all usages of `validates_unchanged`:
|
58
|
+
|
59
|
+
```yaml
|
60
|
+
# In config/locales/en.yml
|
61
|
+
en:
|
62
|
+
activerecord:
|
63
|
+
errors:
|
64
|
+
messages:
|
65
|
+
changed: 'cannot be different'
|
66
|
+
```
|
67
|
+
|
68
|
+
To change the message for a particular attribute of a particular model:
|
69
|
+
|
70
|
+
```yaml
|
71
|
+
# In config/locales/en.yml
|
72
|
+
en:
|
73
|
+
activerecord:
|
74
|
+
models:
|
75
|
+
person:
|
76
|
+
attributes:
|
77
|
+
first_name:
|
78
|
+
changed: 'cannot be different'
|
79
|
+
```
|
80
|
+
|
81
|
+
### Options
|
82
|
+
|
83
|
+
UnchangedValidator supports all of the common `ActiveModel::Validations` options:
|
84
|
+
|
85
|
+
```ruby
|
86
|
+
class Book < ActiveRecord::Base
|
87
|
+
validates_unchanged :title, allow_blank: true
|
88
|
+
validates_unchanged :author, allow_nil: true
|
89
|
+
validates_unchanged :copyright_expirty_date, if: same_edition?
|
90
|
+
validates_unchanged :published_date, message: 'cannot be re-released'
|
91
|
+
validates_unchanged :foreward, on: :update
|
92
|
+
validates_unchanged :publisher, unless: :rebranded?
|
93
|
+
end
|
94
|
+
```
|
95
|
+
## Supported Rails Versions
|
96
|
+
|
97
|
+
* 3.1
|
98
|
+
* 3.2
|
99
|
+
* 4.0
|
100
|
+
* 4.1
|
101
|
+
* 4.2
|
data/Rakefile
ADDED
@@ -0,0 +1,118 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../
|
3
|
+
specs:
|
4
|
+
unchanged_validator (0.0.1)
|
5
|
+
activemodel (>= 3.1)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
actionmailer (3.1.0)
|
11
|
+
actionpack (= 3.1.0)
|
12
|
+
mail (~> 2.3.0)
|
13
|
+
actionpack (3.1.0)
|
14
|
+
activemodel (= 3.1.0)
|
15
|
+
activesupport (= 3.1.0)
|
16
|
+
builder (~> 3.0.0)
|
17
|
+
erubis (~> 2.7.0)
|
18
|
+
i18n (~> 0.6)
|
19
|
+
rack (~> 1.3.2)
|
20
|
+
rack-cache (~> 1.0.3)
|
21
|
+
rack-mount (~> 0.8.2)
|
22
|
+
rack-test (~> 0.6.1)
|
23
|
+
sprockets (~> 2.0.0)
|
24
|
+
activemodel (3.1.0)
|
25
|
+
activesupport (= 3.1.0)
|
26
|
+
bcrypt-ruby (~> 3.0.0)
|
27
|
+
builder (~> 3.0.0)
|
28
|
+
i18n (~> 0.6)
|
29
|
+
activerecord (3.1.0)
|
30
|
+
activemodel (= 3.1.0)
|
31
|
+
activesupport (= 3.1.0)
|
32
|
+
arel (~> 2.2.1)
|
33
|
+
tzinfo (~> 0.3.29)
|
34
|
+
activeresource (3.1.0)
|
35
|
+
activemodel (= 3.1.0)
|
36
|
+
activesupport (= 3.1.0)
|
37
|
+
activesupport (3.1.0)
|
38
|
+
multi_json (~> 1.0)
|
39
|
+
appraisal (1.0.2)
|
40
|
+
bundler
|
41
|
+
rake
|
42
|
+
thor (>= 0.14.0)
|
43
|
+
arel (2.2.3)
|
44
|
+
bcrypt-ruby (3.0.1)
|
45
|
+
builder (3.0.4)
|
46
|
+
diff-lcs (1.2.5)
|
47
|
+
erubis (2.7.0)
|
48
|
+
hike (1.2.3)
|
49
|
+
i18n (0.7.0)
|
50
|
+
json (1.8.1)
|
51
|
+
mail (2.3.3)
|
52
|
+
i18n (>= 0.4.0)
|
53
|
+
mime-types (~> 1.16)
|
54
|
+
treetop (~> 1.4.8)
|
55
|
+
mime-types (1.25.1)
|
56
|
+
multi_json (1.10.1)
|
57
|
+
polyglot (0.3.5)
|
58
|
+
rack (1.3.10)
|
59
|
+
rack-cache (1.0.3)
|
60
|
+
rack (>= 0.4)
|
61
|
+
rack-mount (0.8.3)
|
62
|
+
rack (>= 1.0.0)
|
63
|
+
rack-ssl (1.3.4)
|
64
|
+
rack
|
65
|
+
rack-test (0.6.2)
|
66
|
+
rack (>= 1.0)
|
67
|
+
rails (3.1.0)
|
68
|
+
actionmailer (= 3.1.0)
|
69
|
+
actionpack (= 3.1.0)
|
70
|
+
activerecord (= 3.1.0)
|
71
|
+
activeresource (= 3.1.0)
|
72
|
+
activesupport (= 3.1.0)
|
73
|
+
bundler (~> 1.0)
|
74
|
+
railties (= 3.1.0)
|
75
|
+
railties (3.1.0)
|
76
|
+
actionpack (= 3.1.0)
|
77
|
+
activesupport (= 3.1.0)
|
78
|
+
rack-ssl (~> 1.3.2)
|
79
|
+
rake (>= 0.8.7)
|
80
|
+
rdoc (~> 3.4)
|
81
|
+
thor (~> 0.14.6)
|
82
|
+
rake (10.4.2)
|
83
|
+
rdoc (3.12.2)
|
84
|
+
json (~> 1.4)
|
85
|
+
rspec (3.1.0)
|
86
|
+
rspec-core (~> 3.1.0)
|
87
|
+
rspec-expectations (~> 3.1.0)
|
88
|
+
rspec-mocks (~> 3.1.0)
|
89
|
+
rspec-core (3.1.7)
|
90
|
+
rspec-support (~> 3.1.0)
|
91
|
+
rspec-expectations (3.1.2)
|
92
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
93
|
+
rspec-support (~> 3.1.0)
|
94
|
+
rspec-mocks (3.1.3)
|
95
|
+
rspec-support (~> 3.1.0)
|
96
|
+
rspec-support (3.1.2)
|
97
|
+
sprockets (2.0.5)
|
98
|
+
hike (~> 1.2)
|
99
|
+
rack (~> 1.0)
|
100
|
+
tilt (~> 1.1, != 1.3.0)
|
101
|
+
thor (0.14.6)
|
102
|
+
tilt (1.4.1)
|
103
|
+
treetop (1.4.15)
|
104
|
+
polyglot
|
105
|
+
polyglot (>= 0.3.1)
|
106
|
+
tzinfo (0.3.42)
|
107
|
+
|
108
|
+
PLATFORMS
|
109
|
+
ruby
|
110
|
+
|
111
|
+
DEPENDENCIES
|
112
|
+
activesupport (>= 3.1)
|
113
|
+
appraisal (~> 1.0)
|
114
|
+
bundler (~> 1.6)
|
115
|
+
rails (= 3.1.0)
|
116
|
+
rake (~> 10.0)
|
117
|
+
rspec (~> 3.1)
|
118
|
+
unchanged_validator!
|
@@ -0,0 +1,114 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../
|
3
|
+
specs:
|
4
|
+
unchanged_validator (0.0.1)
|
5
|
+
activemodel (>= 3.1)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
actionmailer (3.2.0)
|
11
|
+
actionpack (= 3.2.0)
|
12
|
+
mail (~> 2.4.0)
|
13
|
+
actionpack (3.2.0)
|
14
|
+
activemodel (= 3.2.0)
|
15
|
+
activesupport (= 3.2.0)
|
16
|
+
builder (~> 3.0.0)
|
17
|
+
erubis (~> 2.7.0)
|
18
|
+
journey (~> 1.0.0)
|
19
|
+
rack (~> 1.4.0)
|
20
|
+
rack-cache (~> 1.1)
|
21
|
+
rack-test (~> 0.6.1)
|
22
|
+
sprockets (~> 2.1.2)
|
23
|
+
activemodel (3.2.0)
|
24
|
+
activesupport (= 3.2.0)
|
25
|
+
builder (~> 3.0.0)
|
26
|
+
activerecord (3.2.0)
|
27
|
+
activemodel (= 3.2.0)
|
28
|
+
activesupport (= 3.2.0)
|
29
|
+
arel (~> 3.0.0)
|
30
|
+
tzinfo (~> 0.3.29)
|
31
|
+
activeresource (3.2.0)
|
32
|
+
activemodel (= 3.2.0)
|
33
|
+
activesupport (= 3.2.0)
|
34
|
+
activesupport (3.2.0)
|
35
|
+
i18n (~> 0.6)
|
36
|
+
multi_json (~> 1.0)
|
37
|
+
appraisal (1.0.2)
|
38
|
+
bundler
|
39
|
+
rake
|
40
|
+
thor (>= 0.14.0)
|
41
|
+
arel (3.0.3)
|
42
|
+
builder (3.0.4)
|
43
|
+
diff-lcs (1.2.5)
|
44
|
+
erubis (2.7.0)
|
45
|
+
hike (1.2.3)
|
46
|
+
i18n (0.7.0)
|
47
|
+
journey (1.0.4)
|
48
|
+
json (1.8.1)
|
49
|
+
mail (2.4.4)
|
50
|
+
i18n (>= 0.4.0)
|
51
|
+
mime-types (~> 1.16)
|
52
|
+
treetop (~> 1.4.8)
|
53
|
+
mime-types (1.25.1)
|
54
|
+
multi_json (1.10.1)
|
55
|
+
polyglot (0.3.5)
|
56
|
+
rack (1.4.5)
|
57
|
+
rack-cache (1.2)
|
58
|
+
rack (>= 0.4)
|
59
|
+
rack-ssl (1.3.4)
|
60
|
+
rack
|
61
|
+
rack-test (0.6.2)
|
62
|
+
rack (>= 1.0)
|
63
|
+
rails (3.2.0)
|
64
|
+
actionmailer (= 3.2.0)
|
65
|
+
actionpack (= 3.2.0)
|
66
|
+
activerecord (= 3.2.0)
|
67
|
+
activeresource (= 3.2.0)
|
68
|
+
activesupport (= 3.2.0)
|
69
|
+
bundler (~> 1.0)
|
70
|
+
railties (= 3.2.0)
|
71
|
+
railties (3.2.0)
|
72
|
+
actionpack (= 3.2.0)
|
73
|
+
activesupport (= 3.2.0)
|
74
|
+
rack-ssl (~> 1.3.2)
|
75
|
+
rake (>= 0.8.7)
|
76
|
+
rdoc (~> 3.4)
|
77
|
+
thor (~> 0.14.6)
|
78
|
+
rake (10.4.2)
|
79
|
+
rdoc (3.12.2)
|
80
|
+
json (~> 1.4)
|
81
|
+
rspec (3.1.0)
|
82
|
+
rspec-core (~> 3.1.0)
|
83
|
+
rspec-expectations (~> 3.1.0)
|
84
|
+
rspec-mocks (~> 3.1.0)
|
85
|
+
rspec-core (3.1.7)
|
86
|
+
rspec-support (~> 3.1.0)
|
87
|
+
rspec-expectations (3.1.2)
|
88
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
89
|
+
rspec-support (~> 3.1.0)
|
90
|
+
rspec-mocks (3.1.3)
|
91
|
+
rspec-support (~> 3.1.0)
|
92
|
+
rspec-support (3.1.2)
|
93
|
+
sprockets (2.1.4)
|
94
|
+
hike (~> 1.2)
|
95
|
+
rack (~> 1.0)
|
96
|
+
tilt (~> 1.1, != 1.3.0)
|
97
|
+
thor (0.14.6)
|
98
|
+
tilt (1.4.1)
|
99
|
+
treetop (1.4.15)
|
100
|
+
polyglot
|
101
|
+
polyglot (>= 0.3.1)
|
102
|
+
tzinfo (0.3.42)
|
103
|
+
|
104
|
+
PLATFORMS
|
105
|
+
ruby
|
106
|
+
|
107
|
+
DEPENDENCIES
|
108
|
+
activesupport (>= 3.1)
|
109
|
+
appraisal (~> 1.0)
|
110
|
+
bundler (~> 1.6)
|
111
|
+
rails (= 3.2.0)
|
112
|
+
rake (~> 10.0)
|
113
|
+
rspec (~> 3.1)
|
114
|
+
unchanged_validator!
|
@@ -0,0 +1,107 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../
|
3
|
+
specs:
|
4
|
+
unchanged_validator (0.0.1)
|
5
|
+
activemodel (>= 3.1)
|
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 (1.0.2)
|
35
|
+
bundler
|
36
|
+
rake
|
37
|
+
thor (>= 0.14.0)
|
38
|
+
arel (4.0.2)
|
39
|
+
builder (3.1.4)
|
40
|
+
diff-lcs (1.2.5)
|
41
|
+
erubis (2.7.0)
|
42
|
+
hike (1.2.3)
|
43
|
+
i18n (0.7.0)
|
44
|
+
mail (2.5.4)
|
45
|
+
mime-types (~> 1.16)
|
46
|
+
treetop (~> 1.4.8)
|
47
|
+
mime-types (1.25.1)
|
48
|
+
minitest (4.7.5)
|
49
|
+
multi_json (1.10.1)
|
50
|
+
polyglot (0.3.5)
|
51
|
+
rack (1.5.2)
|
52
|
+
rack-test (0.6.2)
|
53
|
+
rack (>= 1.0)
|
54
|
+
rails (4.0.0)
|
55
|
+
actionmailer (= 4.0.0)
|
56
|
+
actionpack (= 4.0.0)
|
57
|
+
activerecord (= 4.0.0)
|
58
|
+
activesupport (= 4.0.0)
|
59
|
+
bundler (>= 1.3.0, < 2.0)
|
60
|
+
railties (= 4.0.0)
|
61
|
+
sprockets-rails (~> 2.0.0)
|
62
|
+
railties (4.0.0)
|
63
|
+
actionpack (= 4.0.0)
|
64
|
+
activesupport (= 4.0.0)
|
65
|
+
rake (>= 0.8.7)
|
66
|
+
thor (>= 0.18.1, < 2.0)
|
67
|
+
rake (10.4.2)
|
68
|
+
rspec (3.1.0)
|
69
|
+
rspec-core (~> 3.1.0)
|
70
|
+
rspec-expectations (~> 3.1.0)
|
71
|
+
rspec-mocks (~> 3.1.0)
|
72
|
+
rspec-core (3.1.7)
|
73
|
+
rspec-support (~> 3.1.0)
|
74
|
+
rspec-expectations (3.1.2)
|
75
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
76
|
+
rspec-support (~> 3.1.0)
|
77
|
+
rspec-mocks (3.1.3)
|
78
|
+
rspec-support (~> 3.1.0)
|
79
|
+
rspec-support (3.1.2)
|
80
|
+
sprockets (2.12.3)
|
81
|
+
hike (~> 1.2)
|
82
|
+
multi_json (~> 1.0)
|
83
|
+
rack (~> 1.0)
|
84
|
+
tilt (~> 1.1, != 1.3.0)
|
85
|
+
sprockets-rails (2.0.1)
|
86
|
+
actionpack (>= 3.0)
|
87
|
+
activesupport (>= 3.0)
|
88
|
+
sprockets (~> 2.8)
|
89
|
+
thor (0.19.1)
|
90
|
+
thread_safe (0.3.4)
|
91
|
+
tilt (1.4.1)
|
92
|
+
treetop (1.4.15)
|
93
|
+
polyglot
|
94
|
+
polyglot (>= 0.3.1)
|
95
|
+
tzinfo (0.3.42)
|
96
|
+
|
97
|
+
PLATFORMS
|
98
|
+
ruby
|
99
|
+
|
100
|
+
DEPENDENCIES
|
101
|
+
activesupport (>= 3.1)
|
102
|
+
appraisal (~> 1.0)
|
103
|
+
bundler (~> 1.6)
|
104
|
+
rails (= 4.0.0)
|
105
|
+
rake (~> 10.0)
|
106
|
+
rspec (~> 3.1)
|
107
|
+
unchanged_validator!
|
@@ -0,0 +1,113 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../
|
3
|
+
specs:
|
4
|
+
unchanged_validator (0.0.1)
|
5
|
+
activemodel (>= 3.1)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
actionmailer (4.1.0)
|
11
|
+
actionpack (= 4.1.0)
|
12
|
+
actionview (= 4.1.0)
|
13
|
+
mail (~> 2.5.4)
|
14
|
+
actionpack (4.1.0)
|
15
|
+
actionview (= 4.1.0)
|
16
|
+
activesupport (= 4.1.0)
|
17
|
+
rack (~> 1.5.2)
|
18
|
+
rack-test (~> 0.6.2)
|
19
|
+
actionview (4.1.0)
|
20
|
+
activesupport (= 4.1.0)
|
21
|
+
builder (~> 3.1)
|
22
|
+
erubis (~> 2.7.0)
|
23
|
+
activemodel (4.1.0)
|
24
|
+
activesupport (= 4.1.0)
|
25
|
+
builder (~> 3.1)
|
26
|
+
activerecord (4.1.0)
|
27
|
+
activemodel (= 4.1.0)
|
28
|
+
activesupport (= 4.1.0)
|
29
|
+
arel (~> 5.0.0)
|
30
|
+
activesupport (4.1.0)
|
31
|
+
i18n (~> 0.6, >= 0.6.9)
|
32
|
+
json (~> 1.7, >= 1.7.7)
|
33
|
+
minitest (~> 5.1)
|
34
|
+
thread_safe (~> 0.1)
|
35
|
+
tzinfo (~> 1.1)
|
36
|
+
appraisal (1.0.2)
|
37
|
+
bundler
|
38
|
+
rake
|
39
|
+
thor (>= 0.14.0)
|
40
|
+
arel (5.0.1.20140414130214)
|
41
|
+
builder (3.2.2)
|
42
|
+
diff-lcs (1.2.5)
|
43
|
+
erubis (2.7.0)
|
44
|
+
hike (1.2.3)
|
45
|
+
i18n (0.7.0)
|
46
|
+
json (1.8.1)
|
47
|
+
mail (2.5.4)
|
48
|
+
mime-types (~> 1.16)
|
49
|
+
treetop (~> 1.4.8)
|
50
|
+
mime-types (1.25.1)
|
51
|
+
minitest (5.5.0)
|
52
|
+
multi_json (1.10.1)
|
53
|
+
polyglot (0.3.5)
|
54
|
+
rack (1.5.2)
|
55
|
+
rack-test (0.6.2)
|
56
|
+
rack (>= 1.0)
|
57
|
+
rails (4.1.0)
|
58
|
+
actionmailer (= 4.1.0)
|
59
|
+
actionpack (= 4.1.0)
|
60
|
+
actionview (= 4.1.0)
|
61
|
+
activemodel (= 4.1.0)
|
62
|
+
activerecord (= 4.1.0)
|
63
|
+
activesupport (= 4.1.0)
|
64
|
+
bundler (>= 1.3.0, < 2.0)
|
65
|
+
railties (= 4.1.0)
|
66
|
+
sprockets-rails (~> 2.0)
|
67
|
+
railties (4.1.0)
|
68
|
+
actionpack (= 4.1.0)
|
69
|
+
activesupport (= 4.1.0)
|
70
|
+
rake (>= 0.8.7)
|
71
|
+
thor (>= 0.18.1, < 2.0)
|
72
|
+
rake (10.4.2)
|
73
|
+
rspec (3.1.0)
|
74
|
+
rspec-core (~> 3.1.0)
|
75
|
+
rspec-expectations (~> 3.1.0)
|
76
|
+
rspec-mocks (~> 3.1.0)
|
77
|
+
rspec-core (3.1.7)
|
78
|
+
rspec-support (~> 3.1.0)
|
79
|
+
rspec-expectations (3.1.2)
|
80
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
81
|
+
rspec-support (~> 3.1.0)
|
82
|
+
rspec-mocks (3.1.3)
|
83
|
+
rspec-support (~> 3.1.0)
|
84
|
+
rspec-support (3.1.2)
|
85
|
+
sprockets (2.12.3)
|
86
|
+
hike (~> 1.2)
|
87
|
+
multi_json (~> 1.0)
|
88
|
+
rack (~> 1.0)
|
89
|
+
tilt (~> 1.1, != 1.3.0)
|
90
|
+
sprockets-rails (2.2.2)
|
91
|
+
actionpack (>= 3.0)
|
92
|
+
activesupport (>= 3.0)
|
93
|
+
sprockets (>= 2.8, < 4.0)
|
94
|
+
thor (0.19.1)
|
95
|
+
thread_safe (0.3.4)
|
96
|
+
tilt (1.4.1)
|
97
|
+
treetop (1.4.15)
|
98
|
+
polyglot
|
99
|
+
polyglot (>= 0.3.1)
|
100
|
+
tzinfo (1.2.2)
|
101
|
+
thread_safe (~> 0.1)
|
102
|
+
|
103
|
+
PLATFORMS
|
104
|
+
ruby
|
105
|
+
|
106
|
+
DEPENDENCIES
|
107
|
+
activesupport (>= 3.1)
|
108
|
+
appraisal (~> 1.0)
|
109
|
+
bundler (~> 1.6)
|
110
|
+
rails (= 4.1.0)
|
111
|
+
rake (~> 10.0)
|
112
|
+
rspec (~> 3.1)
|
113
|
+
unchanged_validator!
|