rails-bigint-pk 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e59b399aa72f4fc1bc410101c6b9fe7e86c1902f
4
+ data.tar.gz: b05791c30141695f0a851c0bdc86698dd3cf1472
5
+ SHA512:
6
+ metadata.gz: 0195a8da8a39a28d3823cf661a895f60c8ff97df6b3eac8ba873e198e4126d057526d3b391179e332643377a32f0bdec6bc27e8919dc51a1e25034843beebea0
7
+ data.tar.gz: 935ba4cd1407b3b8bb9f8b6a10b0aa6a6c8581055210ce25585787ce4498a5f98e0a51cf4cf04607dec61367f6468fd6993be33aa63e5e25be6edde19e476fc4
data/.rspec CHANGED
@@ -1,2 +1 @@
1
1
  --colour
2
- --debugger
@@ -0,0 +1 @@
1
+ ruby-1.9.3-p484
@@ -1,3 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
- - "1.9.3"
3
+ - 1.9.3
4
+ - 2.1.1
5
+ # https://github.com/heroku/heroku/pull/858
6
+ before_install:
7
+ - git config --global user.name "Travis CI"
8
+ - git config --global user.email "user@example.com"
data/Changelog CHANGED
@@ -1,10 +1,17 @@
1
+ ## 0.0.3 (02 March 2014)
2
+ - move project from VerticalResponse to caboteria (VerticalResponse went offline)
3
+ - update rails to 3.2.17
4
+ - build with Ruby 1.9.3 and 2.1.1
5
+ - document how to specify the rails3 version
6
+
7
+
1
8
  ## 0.0.2 (19 February 2013)
2
9
 
3
10
  Bug Fixes:
4
11
 
5
12
  - `references` uses 64bit keys for `change_table` now.
6
13
  - work with polymorphic associations (@Bishop, #12)
7
-
14
+
8
15
 
9
16
  ## 0.0.1 (19 November 2012)
10
17
 
data/Readme.md CHANGED
@@ -1,4 +1,4 @@
1
- ## rails-bigint-pk [![Build Status](https://secure.travis-ci.org/VerticalResponse/rails-bigint-pk.png?branch=master)](https://travis-ci.org/VerticalResponse/rails-bigint-pk)
1
+ ## rails-bigint-pk [![Build Status](https://secure.travis-ci.org/caboteria/rails-bigint-pk.png?branch=master)](https://travis-ci.org/caboteria/rails-bigint-pk)
2
2
 
3
3
  ### Overview
4
4
 
@@ -7,16 +7,21 @@ in mysql and postgres.
7
7
 
8
8
  ### Requirements
9
9
 
10
- rails-bigint-pk has been tested with rails 3.2.12, which at the time of writing
10
+ rails-bigint-pk has been tested with rails 3.2.17, which at the time of writing
11
11
  is the latest patch version for 3.2. If you use a higher patch version, it is
12
12
  recommended to run the test suite against your version of rails and activerecord.
13
13
 
14
14
  ### Installation & Usage
15
15
 
16
- * Add the following to your `Gemfile`
17
- `gem 'rails-bigint-pk', git: 'https://github.com/VerticalResponse/rails-bigint-pk.git'`
16
+ rails-bigint-pk has a `rails3` branch for support of 3.2.x versions of
17
+ Rails. The `master` branch supports Rails 4. To install the rails3
18
+ version, you can either download releases from Rubygems by adding the
19
+ following to your `Gemfile`:
20
+ `gem 'rails-bigint-pk', '~>0.0.1'`
21
+ ... or you can install the newest code directly from git:
22
+ `gem 'rails-bigint-pk', github: 'caboteria/rails-bigint-pk', branch: 'rails3'`
18
23
 
19
- * Run the generator
24
+ Then run the generator:
20
25
  `rails generate bigint_pk:install`
21
26
 
22
27
  This will create an initializer that enables 64 bit primary and foreign keys by
@@ -25,7 +30,6 @@ created via `references`.
25
30
 
26
31
  It will also create a migration to update all existing primary and foreign keys.
27
32
 
28
-
29
33
  ### Gotchas
30
34
 
31
35
  When adding foreign key columns, be sure to use `references` and not
@@ -44,7 +48,7 @@ add_column :my_table, :other_table_id, :int
44
48
  ### Running Tests Against Later Versions of Rails
45
49
 
46
50
  ```bash
47
- git clone git://github.com/VerticalResponse/rails-bigint-pk.git
51
+ git clone git://github.com/caboteria/rails-bigint-pk.git
48
52
  cd rails-bigint-pk
49
53
 
50
54
  # edit rails-bigint-pk.gemspec or Gemfile to set the version of activerecord to
@@ -57,5 +61,5 @@ bundle install
57
61
 
58
62
  # This will run integration specs against all supported database types, and
59
63
  # requires running servers for postgres and mysql.
60
- rake spec
64
+ bundle exec rake spec
61
65
  ```
@@ -1,3 +1,3 @@
1
1
  module BigintPk
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -1,5 +1,5 @@
1
1
  # This file is auto-generated when running `rails generate bigint_pk:install`
2
- # by the gem rails-bigint-pk (https://github.com/VerticalResponse/rails-bigint-pk).
2
+ # by the gem rails-bigint-pk (https://github.com/caboteria/rails-bigint-pk).
3
3
 
4
4
  class ChangeKeysToBigint < ActiveRecord::Migration
5
5
  def change
@@ -6,10 +6,10 @@ Gem::Specification.new do |s|
6
6
  s.name = "rails-bigint-pk"
7
7
  s.version = BigintPk::VERSION
8
8
  s.authors = ["David J. Hamilton"]
9
- s.email = ["dhamilton@verticalresponse.com"]
10
- s.homepage = "https://github.com/VerticalResponse/rails-bigint-pk"
9
+ s.email = ["github@hjdivad.com"]
10
+ s.homepage = "https://github.com/caboteria/rails-bigint-pk"
11
11
  s.summary = %q{Easily use 64-bit primary keys in rails}
12
- s.description = %q{Easily use 64-bit primary keys in rails.}
12
+ s.description = %q{Easily use 64-bit primary keys in rails}
13
13
 
14
14
  s.rubyforge_project = "rails-bigint-pk"
15
15
 
@@ -24,7 +24,6 @@ Gem::Specification.new do |s|
24
24
  s.add_development_dependency "rspec"
25
25
  s.add_development_dependency "travis-lint"
26
26
  s.add_development_dependency "rails"
27
- s.add_development_dependency "debugger"
28
27
  s.add_development_dependency "mysql2", '~> 0.3.10'
29
28
  s.add_development_dependency "mysql", '~> 2.8.1'
30
29
  s.add_development_dependency "pg", '~> 0.11'
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'rails', '3.2.8'
3
+ gem 'rails', '3.2.17'
4
4
 
5
5
  gem 'pg', '~> 0.11'
6
6
  gem 'mysql', '~> 2.8.1'
@@ -1,5 +1,4 @@
1
1
  common: &common
2
- database: test_rails_app
3
2
  adapter: mysql2
4
3
  encoding: utf8
5
4
  reconnect: false
@@ -7,7 +6,9 @@ common: &common
7
6
  host: localhost
8
7
 
9
8
  development:
9
+ database: dev_rails_app
10
10
  <<: *common
11
11
 
12
12
  test:
13
+ database: test_rails_app
13
14
  <<: *common
@@ -1,12 +1,11 @@
1
1
  common: &common
2
2
  adapter: postgresql
3
- database: test_rails_app
4
- username: postgres
5
- password:
6
3
  host: localhost
7
4
 
8
5
  development:
6
+ database: dev_rails_app
9
7
  <<: *common
10
8
 
11
9
  test:
10
+ database: test_rails_app
12
11
  <<: *common
@@ -1,11 +1,12 @@
1
1
  common: &common
2
2
  adapter: sqlite3
3
- database: db/development.sqlite3
4
3
  pool: 5
5
4
  timeout: 5000
6
5
 
7
6
  development:
7
+ database: db/development.sqlite3
8
8
  <<: *common
9
9
 
10
10
  test:
11
+ database: db/test.sqlite3
11
12
  <<: *common
metadata CHANGED
@@ -1,269 +1,224 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-bigint-pk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
5
- prerelease:
4
+ version: 0.0.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - David J. Hamilton
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-06-26 00:00:00.000000000 Z
11
+ date: 2014-03-02 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: activerecord
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: 3.2.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: 3.2.0
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: railties
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: 3.2.0
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
40
  version: 3.2.0
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rspec
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: travis-lint
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - ">="
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: rails
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - ">="
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: '0'
94
- - !ruby/object:Gem::Dependency
95
- name: debugger
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ! '>='
100
- - !ruby/object:Gem::Version
101
- version: '0'
102
- type: :development
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ! '>='
80
+ - - ">="
108
81
  - !ruby/object:Gem::Version
109
82
  version: '0'
110
83
  - !ruby/object:Gem::Dependency
111
84
  name: mysql2
112
85
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
86
  requirements:
115
- - - ~>
87
+ - - "~>"
116
88
  - !ruby/object:Gem::Version
117
89
  version: 0.3.10
118
90
  type: :development
119
91
  prerelease: false
120
92
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
93
  requirements:
123
- - - ~>
94
+ - - "~>"
124
95
  - !ruby/object:Gem::Version
125
96
  version: 0.3.10
126
97
  - !ruby/object:Gem::Dependency
127
98
  name: mysql
128
99
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
100
  requirements:
131
- - - ~>
101
+ - - "~>"
132
102
  - !ruby/object:Gem::Version
133
103
  version: 2.8.1
134
104
  type: :development
135
105
  prerelease: false
136
106
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
107
  requirements:
139
- - - ~>
108
+ - - "~>"
140
109
  - !ruby/object:Gem::Version
141
110
  version: 2.8.1
142
111
  - !ruby/object:Gem::Dependency
143
112
  name: pg
144
113
  requirement: !ruby/object:Gem::Requirement
145
- none: false
146
114
  requirements:
147
- - - ~>
115
+ - - "~>"
148
116
  - !ruby/object:Gem::Version
149
117
  version: '0.11'
150
118
  type: :development
151
119
  prerelease: false
152
120
  version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
121
  requirements:
155
- - - ~>
122
+ - - "~>"
156
123
  - !ruby/object:Gem::Version
157
124
  version: '0.11'
158
125
  - !ruby/object:Gem::Dependency
159
126
  name: sqlite3
160
127
  requirement: !ruby/object:Gem::Requirement
161
- none: false
162
128
  requirements:
163
- - - ~>
129
+ - - "~>"
164
130
  - !ruby/object:Gem::Version
165
131
  version: 1.3.6
166
132
  type: :development
167
133
  prerelease: false
168
134
  version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
135
  requirements:
171
- - - ~>
136
+ - - "~>"
172
137
  - !ruby/object:Gem::Version
173
138
  version: 1.3.6
174
139
  - !ruby/object:Gem::Dependency
175
140
  name: guard
176
141
  requirement: !ruby/object:Gem::Requirement
177
- none: false
178
142
  requirements:
179
- - - ! '>='
143
+ - - ">="
180
144
  - !ruby/object:Gem::Version
181
145
  version: '0'
182
146
  type: :development
183
147
  prerelease: false
184
148
  version_requirements: !ruby/object:Gem::Requirement
185
- none: false
186
149
  requirements:
187
- - - ! '>='
150
+ - - ">="
188
151
  - !ruby/object:Gem::Version
189
152
  version: '0'
190
153
  - !ruby/object:Gem::Dependency
191
154
  name: guard-rspec
192
155
  requirement: !ruby/object:Gem::Requirement
193
- none: false
194
156
  requirements:
195
- - - ! '>='
157
+ - - ">="
196
158
  - !ruby/object:Gem::Version
197
159
  version: '0'
198
160
  type: :development
199
161
  prerelease: false
200
162
  version_requirements: !ruby/object:Gem::Requirement
201
- none: false
202
163
  requirements:
203
- - - ! '>='
164
+ - - ">="
204
165
  - !ruby/object:Gem::Version
205
166
  version: '0'
206
167
  - !ruby/object:Gem::Dependency
207
168
  name: guard-bundler
208
169
  requirement: !ruby/object:Gem::Requirement
209
- none: false
210
170
  requirements:
211
- - - ! '>='
171
+ - - ">="
212
172
  - !ruby/object:Gem::Version
213
173
  version: '0'
214
174
  type: :development
215
175
  prerelease: false
216
176
  version_requirements: !ruby/object:Gem::Requirement
217
- none: false
218
177
  requirements:
219
- - - ! '>='
178
+ - - ">="
220
179
  - !ruby/object:Gem::Version
221
180
  version: '0'
222
181
  - !ruby/object:Gem::Dependency
223
182
  name: guard-ctags-bundler
224
183
  requirement: !ruby/object:Gem::Requirement
225
- none: false
226
184
  requirements:
227
- - - ! '>='
185
+ - - ">="
228
186
  - !ruby/object:Gem::Version
229
187
  version: '0'
230
188
  type: :development
231
189
  prerelease: false
232
190
  version_requirements: !ruby/object:Gem::Requirement
233
- none: false
234
191
  requirements:
235
- - - ! '>='
192
+ - - ">="
236
193
  - !ruby/object:Gem::Version
237
194
  version: '0'
238
195
  - !ruby/object:Gem::Dependency
239
196
  name: rb-fsevent
240
197
  requirement: !ruby/object:Gem::Requirement
241
- none: false
242
198
  requirements:
243
- - - ! '>='
199
+ - - ">="
244
200
  - !ruby/object:Gem::Version
245
201
  version: '0'
246
202
  type: :development
247
203
  prerelease: false
248
204
  version_requirements: !ruby/object:Gem::Requirement
249
- none: false
250
205
  requirements:
251
- - - ! '>='
206
+ - - ">="
252
207
  - !ruby/object:Gem::Version
253
208
  version: '0'
254
- description: Easily use 64-bit primary keys in rails.
209
+ description: Easily use 64-bit primary keys in rails
255
210
  email:
256
- - dhamilton@verticalresponse.com
211
+ - github@hjdivad.com
257
212
  executables: []
258
213
  extensions: []
259
214
  extra_rdoc_files: []
260
215
  files:
261
- - .gitignore
262
- - .rspec
263
- - .rvmrc
264
- - .travis.yml
265
- - .vim/snippets/rspec.snippets
266
- - .vimrc
216
+ - ".gitignore"
217
+ - ".rspec"
218
+ - ".ruby-version"
219
+ - ".travis.yml"
220
+ - ".vim/snippets/rspec.snippets"
221
+ - ".vimrc"
267
222
  - Changelog
268
223
  - Gemfile
269
224
  - Guardfile
@@ -295,29 +250,28 @@ files:
295
250
  - spec/support/logging.rb
296
251
  - spec/support/rails.rb
297
252
  - spec/support/rspec.rb
298
- homepage: https://github.com/VerticalResponse/rails-bigint-pk
253
+ homepage: https://github.com/caboteria/rails-bigint-pk
299
254
  licenses: []
255
+ metadata: {}
300
256
  post_install_message:
301
257
  rdoc_options: []
302
258
  require_paths:
303
259
  - lib
304
260
  required_ruby_version: !ruby/object:Gem::Requirement
305
- none: false
306
261
  requirements:
307
- - - ! '>='
262
+ - - ">="
308
263
  - !ruby/object:Gem::Version
309
264
  version: '0'
310
265
  required_rubygems_version: !ruby/object:Gem::Requirement
311
- none: false
312
266
  requirements:
313
- - - ! '>='
267
+ - - ">="
314
268
  - !ruby/object:Gem::Version
315
269
  version: '0'
316
270
  requirements: []
317
271
  rubyforge_project: rails-bigint-pk
318
- rubygems_version: 1.8.25
272
+ rubygems_version: 2.2.2
319
273
  signing_key:
320
- specification_version: 3
274
+ specification_version: 4
321
275
  summary: Easily use 64-bit primary keys in rails
322
276
  test_files:
323
277
  - spec/fixtures/Gemfile
data/.rvmrc DELETED
@@ -1 +0,0 @@
1
- rvm --create 1.9.3