assignable_values 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +22 -0
- data/Rakefile +6 -1
- data/assignable_values.gemspec +1 -0
- data/lib/assignable_values/version.rb +1 -1
- data/spec/rails-2.3/Gemfile +1 -0
- data/spec/rails-2.3/Gemfile.lock +3 -2
- metadata +99 -86
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Henning Koch
|
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/Rakefile
CHANGED
@@ -8,7 +8,12 @@ task :default => 'all:spec'
|
|
8
8
|
namespace :travis_ci do
|
9
9
|
|
10
10
|
desc 'Things to do before Travis CI begins'
|
11
|
-
task :prepare do
|
11
|
+
task :prepare => :slimgems do
|
12
|
+
end
|
13
|
+
|
14
|
+
desc 'Install slimgems'
|
15
|
+
task :slimgems do
|
16
|
+
system('gem install slimgems')
|
12
17
|
end
|
13
18
|
|
14
19
|
end
|
data/assignable_values.gemspec
CHANGED
@@ -9,6 +9,7 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.homepage = 'https://github.com/makandra/assignable_values'
|
10
10
|
s.summary = 'Restrict the values assignable to ActiveRecord attributes or associations. Or enums on steroids.'
|
11
11
|
s.description = s.summary
|
12
|
+
s.license = 'MIT'
|
12
13
|
|
13
14
|
s.files = `git ls-files`.split("\n")
|
14
15
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
data/spec/rails-2.3/Gemfile
CHANGED
data/spec/rails-2.3/Gemfile.lock
CHANGED
@@ -25,8 +25,8 @@ GEM
|
|
25
25
|
debugger-linecache (1.1.2)
|
26
26
|
debugger-ruby_core_source (>= 1.1.1)
|
27
27
|
debugger-ruby_core_source (1.2.0)
|
28
|
-
hoe (
|
29
|
-
rake (>= 0.8
|
28
|
+
hoe (2.8.0)
|
29
|
+
rake (>= 0.8.7)
|
30
30
|
linecache (0.46)
|
31
31
|
rbx-require-relative (> 0.0.4)
|
32
32
|
rack (1.1.6)
|
@@ -63,6 +63,7 @@ PLATFORMS
|
|
63
63
|
DEPENDENCIES
|
64
64
|
assignable_values!
|
65
65
|
debugger
|
66
|
+
hoe (= 2.8.0)
|
66
67
|
rails (~> 2.3.10)
|
67
68
|
rspec (< 2)
|
68
69
|
rspec-rails (< 2)
|
metadata
CHANGED
@@ -1,106 +1,109 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: assignable_values
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 7
|
9
|
+
- 2
|
10
|
+
version: 0.7.2
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Henning Koch
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2013-07-26 00:00:00 +02:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
15
22
|
name: activerecord
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
version: "0"
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
31
36
|
name: rails
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
|
-
requirements:
|
35
|
-
- - ~>
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: '3.1'
|
38
|
-
type: :development
|
39
37
|
prerelease: false
|
40
|
-
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: '3.1'
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: rspec
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
49
39
|
none: false
|
50
|
-
requirements:
|
40
|
+
requirements:
|
51
41
|
- - ~>
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
hash: 5
|
44
|
+
segments:
|
45
|
+
- 3
|
46
|
+
- 1
|
47
|
+
version: "3.1"
|
54
48
|
type: :development
|
49
|
+
version_requirements: *id002
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: rspec
|
55
52
|
prerelease: false
|
56
|
-
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
57
54
|
none: false
|
58
|
-
requirements:
|
55
|
+
requirements:
|
59
56
|
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
requirements:
|
67
|
-
- - ~>
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '2.8'
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
hash: 19
|
59
|
+
segments:
|
60
|
+
- 2
|
61
|
+
- 8
|
62
|
+
version: "2.8"
|
70
63
|
type: :development
|
64
|
+
version_requirements: *id003
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
name: rspec-rails
|
71
67
|
prerelease: false
|
72
|
-
|
68
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
73
69
|
none: false
|
74
|
-
requirements:
|
70
|
+
requirements:
|
75
71
|
- - ~>
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
requirements:
|
83
|
-
- - ! '>='
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: '0'
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
hash: 19
|
74
|
+
segments:
|
75
|
+
- 2
|
76
|
+
- 8
|
77
|
+
version: "2.8"
|
86
78
|
type: :development
|
79
|
+
version_requirements: *id004
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: sqlite3
|
87
82
|
prerelease: false
|
88
|
-
|
83
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
89
84
|
none: false
|
90
|
-
requirements:
|
91
|
-
- -
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
|
94
|
-
|
95
|
-
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
hash: 3
|
89
|
+
segments:
|
90
|
+
- 0
|
91
|
+
version: "0"
|
92
|
+
type: :development
|
93
|
+
version_requirements: *id005
|
94
|
+
description: Restrict the values assignable to ActiveRecord attributes or associations. Or enums on steroids.
|
96
95
|
email: henning.koch@makandra.de
|
97
96
|
executables: []
|
97
|
+
|
98
98
|
extensions: []
|
99
|
+
|
99
100
|
extra_rdoc_files: []
|
100
|
-
|
101
|
+
|
102
|
+
files:
|
101
103
|
- .gitignore
|
102
104
|
- .rspec
|
103
105
|
- .travis.yml
|
106
|
+
- LICENSE
|
104
107
|
- README.md
|
105
108
|
- Rakefile
|
106
109
|
- assignable_values.gemspec
|
@@ -180,29 +183,39 @@ files:
|
|
180
183
|
- spec/shared/app_root/db/migrate/003_create_recordings.rb
|
181
184
|
- spec/shared/assignable_values/active_record_spec.rb
|
182
185
|
- spec/shared/assignable_values/humanized_value_spec.rb
|
186
|
+
has_rdoc: true
|
183
187
|
homepage: https://github.com/makandra/assignable_values
|
184
|
-
licenses:
|
188
|
+
licenses:
|
189
|
+
- MIT
|
185
190
|
post_install_message:
|
186
191
|
rdoc_options: []
|
187
|
-
|
192
|
+
|
193
|
+
require_paths:
|
188
194
|
- lib
|
189
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
195
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
190
196
|
none: false
|
191
|
-
requirements:
|
192
|
-
- -
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
|
195
|
-
|
197
|
+
requirements:
|
198
|
+
- - ">="
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
hash: 3
|
201
|
+
segments:
|
202
|
+
- 0
|
203
|
+
version: "0"
|
204
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
196
205
|
none: false
|
197
|
-
requirements:
|
198
|
-
- -
|
199
|
-
- !ruby/object:Gem::Version
|
200
|
-
|
206
|
+
requirements:
|
207
|
+
- - ">="
|
208
|
+
- !ruby/object:Gem::Version
|
209
|
+
hash: 3
|
210
|
+
segments:
|
211
|
+
- 0
|
212
|
+
version: "0"
|
201
213
|
requirements: []
|
214
|
+
|
202
215
|
rubyforge_project:
|
203
|
-
rubygems_version: 1.
|
216
|
+
rubygems_version: 1.3.9.5
|
204
217
|
signing_key:
|
205
218
|
specification_version: 3
|
206
|
-
summary: Restrict the values assignable to ActiveRecord attributes or associations.
|
207
|
-
Or enums on steroids.
|
219
|
+
summary: Restrict the values assignable to ActiveRecord attributes or associations. Or enums on steroids.
|
208
220
|
test_files: []
|
221
|
+
|