norton 0.0.28 → 0.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
2
  SHA1:
3
- metadata.gz: 6b7c3999eddbe0fe7c432929c4a64337f7d13582
4
- data.tar.gz: ff3c8b2858a68fb58992cf20007c9240fd0669a6
3
+ metadata.gz: cd6857888aeeaff9058c2e436ee04a49bbc28d3b
4
+ data.tar.gz: 61448d8c7f3c2328d053c4c278d54eaeb313dd9a
5
5
  SHA512:
6
- metadata.gz: dab5a67c19f6ed9c13b7c10e52399fb3b5e230333deee5ccf74ee50b030e8534edcfa143038723bef88db5ae2fa583221c48b5dea9f9a32e97e951bae183859c
7
- data.tar.gz: 1404ed9e20b18ab3f66c49cf648fb17bd91dece915fc572b3b652a554db27c94aed79809f1f9446836d614b25fafc9fcf47eb54841d14db45af7e64aea598210
6
+ metadata.gz: cd818ead50d51cb1bf3b1b1cf42da4baaa1c0502c2000232f2eda158cc23b692397fc55432e6bfd4f4285efba6f3f5dd9d4c6456a120944603b9427680dfaa96
7
+ data.tar.gz: ae7e691d326da12719ef643cc249f85286b153c93121d04069d396d81de40e4af1c539c9d1af6b3f57bd2793aba7ab4af67ad5bc3f8f78b182c937338a345a26
data/.gitignore CHANGED
@@ -25,6 +25,7 @@ tmp
25
25
  /test/tmp/
26
26
  /test/version_tmp/
27
27
  /tmp/
28
+ /gemfiles/*.lock
28
29
 
29
30
  ## Specific to RubyMotion:
30
31
  .dat*
@@ -48,4 +49,4 @@ build/
48
49
  # .ruby-gemset
49
50
 
50
51
  # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
51
- .rvmrc
52
+ .rvmrc
@@ -6,6 +6,10 @@ services:
6
6
  rvm:
7
7
  - 2.3.4
8
8
 
9
+ gemfile:
10
+ - Gemfile
11
+ - gemfiles/Gemfile.activesupport-4.2.x
12
+
9
13
  script:
10
14
  - bundle exec rake
11
15
  - bundle exec codeclimate-test-reporter
@@ -1,3 +1,7 @@
1
+ ### 0.1.0
2
+
3
+ - Change dependencies to support Rails >= 5.0
4
+
1
5
  ### 0.0.28
2
6
 
3
7
  - Fix `remove_#{norton_attribute}`
data/Gemfile CHANGED
@@ -1,9 +1,11 @@
1
1
  source "https://rubygems.org"
2
2
 
3
+ gemspec
4
+
5
+ gem "activesupport", "~> 5.0"
6
+ gem "activerecord", "~> 5.0"
7
+
3
8
  group :test do
4
9
  gem "simplecov", "~> 0.14", require: false
5
10
  gem "codeclimate-test-reporter", "~> 1.0", require: false
6
11
  end
7
-
8
- # Specify your gem"s dependencies in norton.gemspec
9
- gemspec
@@ -0,0 +1,11 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec path: ".."
4
+
5
+ gem "activesupport", "~> 4.2", ">= 4.2.5"
6
+ gem "activerecord", "~> 4.2", ">= 4.2.5"
7
+
8
+ group :test do
9
+ gem "simplecov", "~> 0.14", require: false
10
+ gem "codeclimate-test-reporter", "~> 1.0", require: false
11
+ end
@@ -1,3 +1,3 @@
1
1
  module Norton
2
- VERSION = "0.0.28"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -18,9 +18,11 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
+ spec.required_ruby_version = "~> 2.3.0"
22
+
21
23
  spec.add_dependency "redis", ">= 3.2.0"
22
24
  spec.add_dependency "connection_pool", "~> 2.2.0"
23
- spec.add_dependency "activesupport", "~> 4.1"
25
+ spec.add_dependency "activesupport", ">= 4.2.5", "< 5.1"
24
26
 
25
27
  spec.add_development_dependency "bundler", "~> 1.5"
26
28
  spec.add_development_dependency "rake"
@@ -29,6 +31,7 @@ Gem::Specification.new do |spec|
29
31
  spec.add_development_dependency "pry"
30
32
  spec.add_development_dependency "pry-nav"
31
33
  spec.add_development_dependency "timecop"
32
- spec.add_development_dependency "activerecord", "~> 4.1"
34
+ spec.add_development_dependency "activerecord", ">= 4.2.5", "< 5.1"
33
35
  spec.add_development_dependency "activerecord-nulldb-adapter"
36
+
34
37
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: norton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.28
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Larry Zhao
@@ -42,16 +42,22 @@ dependencies:
42
42
  name: activesupport
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '4.1'
47
+ version: 4.2.5
48
+ - - "<"
49
+ - !ruby/object:Gem::Version
50
+ version: '5.1'
48
51
  type: :runtime
49
52
  prerelease: false
50
53
  version_requirements: !ruby/object:Gem::Requirement
51
54
  requirements:
52
- - - "~>"
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: 4.2.5
58
+ - - "<"
53
59
  - !ruby/object:Gem::Version
54
- version: '4.1'
60
+ version: '5.1'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: bundler
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -154,16 +160,22 @@ dependencies:
154
160
  name: activerecord
155
161
  requirement: !ruby/object:Gem::Requirement
156
162
  requirements:
157
- - - "~>"
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ version: 4.2.5
166
+ - - "<"
158
167
  - !ruby/object:Gem::Version
159
- version: '4.1'
168
+ version: '5.1'
160
169
  type: :development
161
170
  prerelease: false
162
171
  version_requirements: !ruby/object:Gem::Requirement
163
172
  requirements:
164
- - - "~>"
173
+ - - ">="
165
174
  - !ruby/object:Gem::Version
166
- version: '4.1'
175
+ version: 4.2.5
176
+ - - "<"
177
+ - !ruby/object:Gem::Version
178
+ version: '5.1'
167
179
  - !ruby/object:Gem::Dependency
168
180
  name: activerecord-nulldb-adapter
169
181
  requirement: !ruby/object:Gem::Requirement
@@ -195,6 +207,7 @@ files:
195
207
  - LICENSE.txt
196
208
  - README.md
197
209
  - Rakefile
210
+ - gemfiles/Gemfile.activesupport-4.2.x
198
211
  - lib/norton.rb
199
212
  - lib/norton/counter.rb
200
213
  - lib/norton/hash_map.rb
@@ -221,9 +234,9 @@ require_paths:
221
234
  - lib
222
235
  required_ruby_version: !ruby/object:Gem::Requirement
223
236
  requirements:
224
- - - ">="
237
+ - - "~>"
225
238
  - !ruby/object:Gem::Version
226
- version: '0'
239
+ version: 2.3.0
227
240
  required_rubygems_version: !ruby/object:Gem::Requirement
228
241
  requirements:
229
242
  - - ">="