activerecord-propertybase_id 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +5 -4
- data/README.md +1 -1
- data/activerecord-propertybase_id.gemspec +4 -4
- data/lib/activerecord/propertybase_id/version.rb +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e42f77284a03bf91816131183a1e36691eecf8b
|
4
|
+
data.tar.gz: e332b0a5b217ae4895c270f90f0a91004251a754
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80d3f1004ea4442025331a4c2a1917b87a6ff3ccaceb641413bc0efd27b880041389989c0f1371d2e7ea469636a321ddc87bd240b2d95b2748102ed1d292b786
|
7
|
+
data.tar.gz: c554fc4170217dabcb0c1b3ded2b4f40fb469348095fc51288580be2436207038d2a143b405afc7dbe5577808708173d766ff4e90524039ce763d35b26926f73
|
data/.travis.yml
CHANGED
@@ -1,17 +1,18 @@
|
|
1
1
|
language: ruby
|
2
2
|
cache: bundler
|
3
3
|
rvm:
|
4
|
-
- 2.1.
|
5
|
-
- 2.2.
|
4
|
+
- 2.1.8
|
5
|
+
- 2.2.4
|
6
|
+
- 2.3.0
|
7
|
+
- jruby-9.0.4.0
|
6
8
|
- rbx
|
7
9
|
- ruby-head
|
8
10
|
- jruby-head
|
9
11
|
matrix:
|
12
|
+
fast_finish: true
|
10
13
|
allow_failures:
|
11
14
|
- rvm: ruby-head
|
12
15
|
- rvm: jruby-head
|
13
|
-
matrix:
|
14
|
-
fast_finish: true
|
15
16
|
addons:
|
16
17
|
postgresql: "9.4"
|
17
18
|
env:
|
data/README.md
CHANGED
@@ -24,7 +24,7 @@ This ActiveRecord extension lets you use the [Propertybase ID](https://github.co
|
|
24
24
|
|
25
25
|
### Migration
|
26
26
|
|
27
|
-
The Propertybase ID is stored via the `char(
|
27
|
+
The Propertybase ID is stored via the `char(15)` data type (currently only tested on SQLite and PostgreSQL). You can also use the cusom migration type `propertybase_id`.
|
28
28
|
|
29
29
|
Note: As Rails doesn't really support changing the type of the primary key in the migration. You need to work around a little bit. You need to disable the ID for a sepcific table and then add it as
|
30
30
|
|
@@ -18,12 +18,12 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency "propertybase_id", ">= 0.
|
21
|
+
spec.add_dependency "propertybase_id", ">= 0.6.0"
|
22
22
|
spec.add_dependency "activerecord", ">= 4.2", "< 4.3"
|
23
23
|
|
24
|
-
spec.add_development_dependency "bundler", "< 1.
|
24
|
+
spec.add_development_dependency "bundler", "< 1.12"
|
25
25
|
spec.add_development_dependency "rake", "< 11.0"
|
26
|
-
spec.add_development_dependency "rspec", "< 3.
|
26
|
+
spec.add_development_dependency "rspec", "< 3.5"
|
27
27
|
if defined?(JRUBY_VERSION)
|
28
28
|
spec.add_development_dependency "activerecord-jdbc-adapter", "< 1.4"
|
29
29
|
spec.add_development_dependency "jdbc-postgres", "< 9.5"
|
@@ -32,6 +32,6 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.add_development_dependency "pg", "< 0.19"
|
33
33
|
spec.add_development_dependency "sqlite3", "< 1.4.0"
|
34
34
|
end
|
35
|
-
spec.add_development_dependency "database_cleaner", "< 1.
|
35
|
+
spec.add_development_dependency "database_cleaner", "< 1.6.0"
|
36
36
|
spec.add_development_dependency "rspec-its", "< 1.3.0"
|
37
37
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-propertybase_id
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leif Gensert
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: propertybase_id
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.6.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.6.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activerecord
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "<"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '1.
|
53
|
+
version: '1.12'
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "<"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '1.
|
60
|
+
version: '1.12'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: rake
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -78,14 +78,14 @@ dependencies:
|
|
78
78
|
requirements:
|
79
79
|
- - "<"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '3.
|
81
|
+
version: '3.5'
|
82
82
|
type: :development
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "<"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '3.
|
88
|
+
version: '3.5'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: pg
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,14 +120,14 @@ dependencies:
|
|
120
120
|
requirements:
|
121
121
|
- - "<"
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version: 1.
|
123
|
+
version: 1.6.0
|
124
124
|
type: :development
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
128
|
- - "<"
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: 1.
|
130
|
+
version: 1.6.0
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
name: rspec-its
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
@@ -183,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
183
|
version: '0'
|
184
184
|
requirements: []
|
185
185
|
rubyforge_project:
|
186
|
-
rubygems_version: 2.
|
186
|
+
rubygems_version: 2.5.1
|
187
187
|
signing_key:
|
188
188
|
specification_version: 4
|
189
189
|
summary: Propertybase ID for ActiveRecord
|