enumerated_field 1.0.2 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: bdda97b31946f54d9ffb6260b6fc29295a3e70e2
4
- data.tar.gz: 233ced4a324208d853fd0d90aad4344f6bba7f82
2
+ SHA256:
3
+ metadata.gz: 4a95618c245ae78676eef2c2ea766fba4c7e6b37d2fed2037916faa75bb4b4c1
4
+ data.tar.gz: 811c5525444744f6ea3f93a9cb2fd2588440c01de9c449f756e60bd2b472da21
5
5
  SHA512:
6
- metadata.gz: ff0741567bd0c1269179cf96fe9d479ceefd1ad47b57c9dbcde771e8207fdd2f7027ee21d387bc995b70d01ddbc0f882c85b360254881bc0d2cd4d6d55d08338
7
- data.tar.gz: 20b0aee3ddcc2e59248c3ed04624bd0abed98319411e71a05bf3bd74205cb9466020e0e7c8124e76f8c9e15ae8ed9d4b2680dbb03e67dcce8d2d2484cab504dc
6
+ metadata.gz: 7f386c191d9a3d28371a3ce7112881ec1ddab63f5204f1308f399fa183c98b02458bd1af14bb6e15e98873c2e5a779ec25e421f21f6046f9b8f65950c72af8b8
7
+ data.tar.gz: 48076ded8fe8190f5b1bad423c2504514687af77a91bf1aff713bac29dd3a738b9e1f42df7a0ca98004f3f9a50e80bb8f8ef909c86b6a8d023b764b40f11444a
data/.soyuz.yml CHANGED
@@ -3,10 +3,10 @@ defaults:
3
3
  - gem build enumerated_field.gemspec
4
4
  - gem push *.gem
5
5
  before_deploy_cmds:
6
- - /usr/local/bin/op tag-release
7
- - sed -i '' -e "s/\".*/\"$(git tag | tail -1 | sed s/v//)\"/" lib/enumerated_field/version.rb
8
- - git add lib/enumerated_field/version.rb
9
- - git commit -m "Version Bump" && git push
6
+ #- /usr/local/bin/op tag-release
7
+ #- sed -i '' -e "s/\".*/\"$(git tag | tail -1 | sed s/v//)\"/" lib/enumerated_field/version.rb
8
+ #- git add lib/enumerated_field/version.rb
9
+ #- git commit -m "Version Bump" && git push
10
10
  after_deploy_cmds:
11
11
  - rm *.gem
12
12
  environments:
data/.travis.yml CHANGED
@@ -2,6 +2,7 @@ rvm:
2
2
  - 1.9.3
3
3
  - 2.0.0
4
4
  - 2.2.1
5
+ - 2.6.1
5
6
  notifications:
6
7
  # overriding this so billing@teamsporttech.com (who owns the repo) doesn't get spammed
7
8
  # anyone, feel free to add yourselves
data/CHANGELOG.markdown CHANGED
@@ -1,2 +1,3 @@
1
+ #### v1.1.0
1
2
  #### v1.0.2
2
3
  #### v0.3.1
data/README.md CHANGED
@@ -82,7 +82,7 @@ these.
82
82
  => [['Pacific Crest Trail', 'pct'], ['Continental Divide Trail', 'cdt'], ['Superior Hiking Trail', 'sht']]
83
83
  > Hike.trail_values # or get it from the class instead of the instance, if you like
84
84
  => [['Pacific Crest Trail', 'pct'], ['Continental Divide Trail', 'cdt'], ['Superior Hiking Trail', 'sht']]
85
- > Hike.trail_values_for_json # or get a has for injecting into JSON or wherever
85
+ > Hike.trail_values_for_json # or get a hash for injecting into JSON or wherever
86
86
  => [{:display => 'Pacific Crest Trail', :value => 'pct'}, {:display => 'Continental Divide Trail', :value => 'cdt'}, {:display => 'Superior Hiking Trail', :value => 'sht'}]
87
87
 
88
88
  ### ActiveRecord Scopes
@@ -28,14 +28,14 @@ Gem::Specification.new do |s|
28
28
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
29
29
  s.require_paths = ["lib"]
30
30
 
31
- s.add_dependency 'activemodel', ['> 3.0.0', '< 5.0.0']
32
- s.add_dependency 'activesupport', ['> 3.0.0', '< 5.0.0']
31
+ s.add_dependency 'activemodel', ['> 3.0.0', '< 6.0.0']
32
+ s.add_dependency 'activesupport', ['> 3.0.0', '< 6.0.0']
33
33
  s.add_development_dependency 'test-unit'
34
34
  s.add_development_dependency 'minitest', "~> 4.0"
35
35
  s.add_development_dependency 'rake'
36
36
  s.add_development_dependency 'bundler'
37
37
  s.add_development_dependency 'turn'
38
- s.add_development_dependency 'shoulda', '~> 2'
38
+ s.add_development_dependency 'shoulda'
39
39
  s.add_development_dependency 'activerecord', '~> 4.0.0'
40
- s.add_development_dependency 'sqlite3'
40
+ s.add_development_dependency 'sqlite3', '~> 1.3.9'
41
41
  end
@@ -1,3 +1,3 @@
1
1
  module EnumeratedField
2
- VERSION = "1.0.2"
2
+ VERSION = "1.1.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enumerated_field
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Ludwig
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-03-12 00:00:00.000000000 Z
13
+ date: 2019-11-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activemodel
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 3.0.0
22
22
  - - "<"
23
23
  - !ruby/object:Gem::Version
24
- version: 5.0.0
24
+ version: 6.0.0
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
@@ -31,7 +31,7 @@ dependencies:
31
31
  version: 3.0.0
32
32
  - - "<"
33
33
  - !ruby/object:Gem::Version
34
- version: 5.0.0
34
+ version: 6.0.0
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: activesupport
37
37
  requirement: !ruby/object:Gem::Requirement
@@ -41,7 +41,7 @@ dependencies:
41
41
  version: 3.0.0
42
42
  - - "<"
43
43
  - !ruby/object:Gem::Version
44
- version: 5.0.0
44
+ version: 6.0.0
45
45
  type: :runtime
46
46
  prerelease: false
47
47
  version_requirements: !ruby/object:Gem::Requirement
@@ -51,7 +51,7 @@ dependencies:
51
51
  version: 3.0.0
52
52
  - - "<"
53
53
  - !ruby/object:Gem::Version
54
- version: 5.0.0
54
+ version: 6.0.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: test-unit
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -126,16 +126,16 @@ dependencies:
126
126
  name: shoulda
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - "~>"
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
- version: '2'
131
+ version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - "~>"
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
- version: '2'
138
+ version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: activerecord
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -154,16 +154,16 @@ dependencies:
154
154
  name: sqlite3
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ">="
157
+ - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '0'
159
+ version: 1.3.9
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - ">="
164
+ - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '0'
166
+ version: 1.3.9
167
167
  description: EnumeratedField is a library that provides some nice methods when a string
168
168
  column is used like an enumeration, meaning there is a list of allowable values
169
169
  for the string column.
@@ -210,8 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
210
210
  - !ruby/object:Gem::Version
211
211
  version: '0'
212
212
  requirements: []
213
- rubyforge_project: enumerated_field
214
- rubygems_version: 2.2.2
213
+ rubygems_version: 3.0.3
215
214
  signing_key:
216
215
  specification_version: 4
217
216
  summary: EnumeratedField is a library that provides some nice methods when a string