rails-bigint-pk 1.1.0 → 1.2.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 36f312ba8a2d027d656428d951776d19cfa558b2
4
- data.tar.gz: 6170eacf81c9e50fa0bced8a4f3af2c266ea1197
3
+ metadata.gz: 5227f3e51422713cbf2f5561bbdb1ea8cbdbd5e4
4
+ data.tar.gz: e4edf720d1967c57afc684877340f2815e35f56e
5
5
  SHA512:
6
- metadata.gz: 5069efd0eacefd9158538aa17a553a1ddf6334ecf46bfeef283e5e71449c729a38cbbe21304bfeecccf9b2be8ce38f6b42eed3abfd6b2f117dcdf44e44ef20ce
7
- data.tar.gz: 08e4ef35607b17997e538e3bf23e537902c115f76d4e2da79d2c5646de873b0fc70c79fe9c3f1d32f13b3b367ecdbe204e57e78225f40eda6c1b5cf31696d99b
6
+ metadata.gz: 28a0a561345e38398380179a91f66c6894f2f4dd0ecfb8b1cac55b677dc1f3a0f20eccc42450ed198b0bb6de2f1dfe94163795474ebb996f6e5e341fed2f54c0
7
+ data.tar.gz: 2b64548c7730f66fb50c6cf427cc3b63d13456fe97eea83d16f7b7699f0e957b71448906ae26727a087d2a971cc6c354971b8cf09539131d769980f82b9bdb88
@@ -1 +1 @@
1
- ruby-2.1.1
1
+ ruby-2.1.5
@@ -1,7 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
- - 2.1.1
4
+ - 2.1.5
5
5
  # https://github.com/heroku/heroku/pull/858
6
6
  before_install:
7
7
  - git config --global user.name "Travis CI"
data/Changelog CHANGED
@@ -1,3 +1,10 @@
1
+ ## 1.2.0 (22 October 2014)
2
+
3
+ Improvement:
4
+ - Rails 4.2 support:
5
+ Thanks @Bishop and @stayhero!
6
+
7
+
1
8
  ## 1.1.0 (20 May 2014)
2
9
 
3
10
  Improvement:
data/Readme.md CHANGED
@@ -7,15 +7,15 @@ in MySQL and PostgreSQL.
7
7
 
8
8
  ### Requirements
9
9
 
10
- rails-bigint-pk has been tested with rails 4.0.4, which at the time of writing
11
- is the latest patch version for 4.0. If you use a higher patch version, it is
12
- recommended to run the test suite against your version of rails and activerecord.
10
+ rails-bigint-pk has been tested with rails 4.2.0, which at the time of writing
11
+ is the latest patch version for 4.2. If you use a higher patch version, we
12
+ recommend that you run the test suite against your version of rails and activerecord.
13
13
 
14
14
  ### Installation & Usage
15
15
 
16
16
  #### Rails 4
17
17
 
18
- rails-bigint-pk supports Rails 4 and 4.1. To install, you can either
18
+ rails-bigint-pk supports Rails 4.2, 4.1, and 4.0. To install, you can either
19
19
  download releases from Rubygems by adding the following to your
20
20
  `Gemfile`:
21
21
 
@@ -70,22 +70,23 @@ end
70
70
  add_column :my_table, :other_table_id, :int
71
71
  ```
72
72
 
73
-
74
73
  ### Running Tests Against Later Versions of Rails
75
74
 
76
75
  ```bash
77
76
  git clone git://github.com/caboteria/rails-bigint-pk.git
78
77
  cd rails-bigint-pk
79
78
 
80
- # edit rails-bigint-pk.gemspec or Gemfile to set the version of activerecord to
79
+ # edit spec/fixtures/Gemfile to set the version of activerecord to
81
80
  # the one you are using
82
81
 
83
- bundle install
84
-
85
- # verify that Gemfile.lock's entry for activerecord matches the version you want
86
- # to test against.
82
+ # purge the test fixture
83
+ rm -rf tmp/test\_rails\_app
87
84
 
88
85
  # This will run integration specs against all supported database types, and
89
86
  # requires running servers for postgres and mysql.
90
87
  bundle exec rake spec
88
+
89
+ # verify that tmp/test_rails_app/Gemfile.lock's entry for activerecord
90
+ # matches the version you wanted to test against.
91
+
91
92
  ```
@@ -1,3 +1,3 @@
1
1
  module BigintPk
2
- VERSION = "1.1.0"
2
+ VERSION = "1.2.0"
3
3
  end
@@ -22,8 +22,12 @@ Gem::Specification.new do |s|
22
22
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
23
23
  s.require_paths = ["lib"]
24
24
 
25
- s.add_runtime_dependency "activerecord", '>= 4.0', '< 4.2'
26
- s.add_runtime_dependency "railties", '>= 4.0', '< 4.2'
25
+ # we might work with older rubies but this is the oldest one that we
26
+ # test with
27
+ s.required_ruby_version = '>= 1.9.3'
28
+
29
+ s.add_runtime_dependency "activerecord", '>= 4.0', '< 5'
30
+ s.add_runtime_dependency "railties", '>= 4.0', '< 5'
27
31
 
28
32
  s.add_development_dependency "rspec", '~> 2.14'
29
33
  s.add_development_dependency "travis-lint", '~> 1.7'
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'rails', '4.1.1'
3
+ gem 'rails', '4.2.0'
4
4
 
5
5
  gem 'pg', '~> 0.11'
6
6
  gem 'mysql', '~> 2.8.1'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-bigint-pk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David J. Hamilton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-21 00:00:00.000000000 Z
11
+ date: 2014-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '4.0'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '4.2'
22
+ version: '5'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '4.0'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '4.2'
32
+ version: '5'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: railties
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '4.0'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '4.2'
42
+ version: '5'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: '4.0'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '4.2'
52
+ version: '5'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: rspec
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -278,7 +278,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
278
278
  requirements:
279
279
  - - ">="
280
280
  - !ruby/object:Gem::Version
281
- version: '0'
281
+ version: 1.9.3
282
282
  required_rubygems_version: !ruby/object:Gem::Requirement
283
283
  requirements:
284
284
  - - ">="
@@ -286,7 +286,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
286
286
  version: '0'
287
287
  requirements: []
288
288
  rubyforge_project:
289
- rubygems_version: 2.2.2
289
+ rubygems_version: 2.4.3
290
290
  signing_key:
291
291
  specification_version: 4
292
292
  summary: Easily use 64-bit primary keys in rails
@@ -309,4 +309,3 @@ test_files:
309
309
  - spec/support/logging.rb
310
310
  - spec/support/rails.rb
311
311
  - spec/support/rspec.rb
312
- has_rdoc: