gigo-activerecord 1.3.0 → 1.4.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 +7 -0
- data/Appraisals +8 -8
- data/README.md +8 -9
- data/gemfiles/activerecord32.gemfile +1 -1
- data/gemfiles/activerecord32.gemfile.lock +18 -16
- data/gemfiles/activerecord40.gemfile +2 -2
- data/gemfiles/activerecord40.gemfile.lock +20 -20
- data/gemfiles/{activerecord30.gemfile → activerecord41.gemfile} +2 -2
- data/gemfiles/activerecord41.gemfile.lock +53 -0
- data/gemfiles/{activerecord31.gemfile → activerecord42.gemfile} +2 -2
- data/gemfiles/activerecord42.gemfile.lock +53 -0
- data/gigo-activerecord.gemspec +1 -1
- data/lib/gigo/active_record/base.rb +2 -2
- data/lib/gigo/active_record/version.rb +1 -1
- data/test/cases/all_test.rb +2 -2
- data/test/test_helper.rb +5 -5
- metadata +40 -60
- data/gemfiles/activerecord30.gemfile.lock +0 -45
- data/gemfiles/activerecord31.gemfile.lock +0 -47
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ff85262313c320748bcfb9659bf58623dd310c7b
|
4
|
+
data.tar.gz: 26007fccf2bf09a68ab9abd09549ca9c69fadbdc
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a46443fcd550f3f0a8f3a96fadb359e934f6f8489592b6490d3835ebf619e601b7528e0b0ad6faa3bc3548e53b93d87d573809815f37bcb5be1e217394aa01c1
|
7
|
+
data.tar.gz: 87971ea8d0b69840743e735609357ee8b478ab2a399eb19d1c6c279555849091d073d88d67d418db3f1b71625f1950f315decda67a7469a9c1dbafd26a645498
|
data/Appraisals
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
|
2
|
-
appraise '
|
3
|
-
gem 'activerecord', '~> 3.
|
2
|
+
appraise 'activerecord32' do
|
3
|
+
gem 'activerecord', '~> 3.2.0'
|
4
4
|
end
|
5
5
|
|
6
|
-
appraise '
|
7
|
-
gem 'activerecord', '
|
6
|
+
appraise 'activerecord40' do
|
7
|
+
gem 'activerecord', '4.0.0'
|
8
8
|
end
|
9
9
|
|
10
|
-
appraise '
|
11
|
-
gem 'activerecord', '~>
|
10
|
+
appraise 'activerecord41' do
|
11
|
+
gem 'activerecord', '~> 4.1.0'
|
12
12
|
end
|
13
13
|
|
14
|
-
appraise '
|
15
|
-
gem 'activerecord', '~> 4.
|
14
|
+
appraise 'activerecord42' do
|
15
|
+
gem 'activerecord', '~> 4.2.0'
|
16
16
|
end
|
data/README.md
CHANGED
@@ -22,7 +22,7 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
#### Column Helpers
|
24
24
|
|
25
|
-
This gem allows you to use GIGO with ActiveRecord in a few convenient ways. First by easily declaring that a column should be loaded
|
25
|
+
This gem allows you to use GIGO with ActiveRecord in a few convenient ways. First by easily declaring that a column should be loaded through GIGO. Assuming you have a `Note` model with a `subject` column.
|
26
26
|
|
27
27
|
```ruby
|
28
28
|
class Note < ActiveRecord::Base
|
@@ -32,7 +32,7 @@ end
|
|
32
32
|
@note.subject # => "€20 – “Woohoo”"
|
33
33
|
```
|
34
34
|
|
35
|
-
GIGO extends your model in such a way that still allows you to define your own instance methods and super up
|
35
|
+
GIGO extends your model in such a way that still allows you to define your own instance methods and super up through the attribute method stack.
|
36
36
|
|
37
37
|
```ruby
|
38
38
|
class Note < ActiveRecord::Base
|
@@ -45,7 +45,7 @@ end
|
|
45
45
|
@note.subject # => "€20 – “WOOHOO”"
|
46
46
|
```
|
47
47
|
|
48
|
-
If you want to
|
48
|
+
If you want to extend all `:string` and `:text` columns, use the `gigo_columns` method. All string/text columns will be GIGO'ized. Any arguments passed to `gigi_columns` will be excluded.
|
49
49
|
|
50
50
|
```ruby
|
51
51
|
class LegacyTable < ActiveRecord::Base
|
@@ -67,17 +67,16 @@ end
|
|
67
67
|
|
68
68
|
## Contributing
|
69
69
|
|
70
|
-
GIGO is fully tested with ActiveRecord 3.0 to 4 and upward. If you detect a problem, open up a github issue or fork the repo and help out. After you fork or clone the repository, the following commands will get you up and running on the test suite.
|
70
|
+
GIGO is fully tested with ActiveRecord 3.0 to 4 and upward. If you detect a problem, open up a github issue or fork the repo and help out. After you fork or clone the repository, the following commands will get you up and running on the test suite.
|
71
71
|
|
72
72
|
```shell
|
73
73
|
$ bundle install
|
74
|
-
$ bundle exec
|
75
|
-
$ bundle exec rake
|
74
|
+
$ bundle exec appraisal install
|
75
|
+
$ bundle exec appraisal rake test
|
76
76
|
```
|
77
77
|
|
78
|
-
We use the [appraisal](https://github.com/thoughtbot/appraisal) gem from Thoughtbot to help us generate the individual
|
78
|
+
We use the [appraisal](https://github.com/thoughtbot/appraisal) gem from Thoughtbot to help us generate the individual Gemfiles for each ActiveSupport version and to run the tests locally against each generated Gemfile. The `rake appraisal test` command actually runs our test suite against all Rails versions in our `Appraisal` file. If you want to run the tests for a specific Rails version, use `rake -T` for a list. For example, the following command will run the tests for Rails 3.2 only.
|
79
79
|
|
80
80
|
```shell
|
81
|
-
$ bundle exec
|
81
|
+
$ bundle exec appraisal activerecord32 rake test
|
82
82
|
```
|
83
|
-
|
@@ -1,39 +1,41 @@
|
|
1
1
|
PATH
|
2
|
-
remote:
|
2
|
+
remote: ../
|
3
3
|
specs:
|
4
|
-
gigo-activerecord (1.
|
4
|
+
gigo-activerecord (1.3.0)
|
5
5
|
activerecord (>= 3.0, < 5.0)
|
6
6
|
gigo
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activemodel (3.2.
|
12
|
-
activesupport (= 3.2.
|
11
|
+
activemodel (3.2.21)
|
12
|
+
activesupport (= 3.2.21)
|
13
13
|
builder (~> 3.0.0)
|
14
|
-
activerecord (3.2.
|
15
|
-
activemodel (= 3.2.
|
16
|
-
activesupport (= 3.2.
|
14
|
+
activerecord (3.2.21)
|
15
|
+
activemodel (= 3.2.21)
|
16
|
+
activesupport (= 3.2.21)
|
17
17
|
arel (~> 3.0.2)
|
18
18
|
tzinfo (~> 0.3.29)
|
19
|
-
activesupport (3.2.
|
19
|
+
activesupport (3.2.21)
|
20
20
|
i18n (~> 0.6, >= 0.6.4)
|
21
21
|
multi_json (~> 1.0)
|
22
|
-
appraisal (0.
|
22
|
+
appraisal (1.0.2)
|
23
23
|
bundler
|
24
24
|
rake
|
25
|
+
thor (>= 0.14.0)
|
25
26
|
arel (3.0.3)
|
26
27
|
builder (3.0.4)
|
27
28
|
ensure_valid_encoding (0.5.3)
|
28
29
|
gigo (2.0.0)
|
29
30
|
activesupport (>= 3.0)
|
30
31
|
ensure_valid_encoding (~> 0.5.3)
|
31
|
-
i18n (0.
|
32
|
-
minitest (
|
33
|
-
multi_json (1.
|
34
|
-
rake (10.
|
35
|
-
sqlite3 (1.3.
|
36
|
-
|
32
|
+
i18n (0.7.0)
|
33
|
+
minitest (5.5.1)
|
34
|
+
multi_json (1.10.1)
|
35
|
+
rake (10.4.2)
|
36
|
+
sqlite3 (1.3.10)
|
37
|
+
thor (0.19.1)
|
38
|
+
tzinfo (0.3.43)
|
37
39
|
|
38
40
|
PLATFORMS
|
39
41
|
ruby
|
@@ -42,6 +44,6 @@ DEPENDENCIES
|
|
42
44
|
activerecord (~> 3.2.0)
|
43
45
|
appraisal
|
44
46
|
gigo-activerecord!
|
45
|
-
minitest
|
47
|
+
minitest
|
46
48
|
rake
|
47
49
|
sqlite3
|
@@ -1,54 +1,54 @@
|
|
1
1
|
PATH
|
2
|
-
remote:
|
2
|
+
remote: ../
|
3
3
|
specs:
|
4
|
-
gigo-activerecord (1.
|
4
|
+
gigo-activerecord (1.3.0)
|
5
5
|
activerecord (>= 3.0, < 5.0)
|
6
6
|
gigo
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activemodel (4.0.
|
12
|
-
activesupport (= 4.0.
|
11
|
+
activemodel (4.0.0)
|
12
|
+
activesupport (= 4.0.0)
|
13
13
|
builder (~> 3.1.0)
|
14
|
-
activerecord (4.0.
|
15
|
-
activemodel (= 4.0.
|
14
|
+
activerecord (4.0.0)
|
15
|
+
activemodel (= 4.0.0)
|
16
16
|
activerecord-deprecated_finders (~> 1.0.2)
|
17
|
-
activesupport (= 4.0.
|
17
|
+
activesupport (= 4.0.0)
|
18
18
|
arel (~> 4.0.0)
|
19
19
|
activerecord-deprecated_finders (1.0.3)
|
20
|
-
activesupport (4.0.
|
20
|
+
activesupport (4.0.0)
|
21
21
|
i18n (~> 0.6, >= 0.6.4)
|
22
22
|
minitest (~> 4.2)
|
23
23
|
multi_json (~> 1.3)
|
24
24
|
thread_safe (~> 0.1)
|
25
25
|
tzinfo (~> 0.3.37)
|
26
|
-
appraisal (0.
|
26
|
+
appraisal (1.0.2)
|
27
27
|
bundler
|
28
28
|
rake
|
29
|
-
|
30
|
-
|
29
|
+
thor (>= 0.14.0)
|
30
|
+
arel (4.0.2)
|
31
31
|
builder (3.1.4)
|
32
32
|
ensure_valid_encoding (0.5.3)
|
33
33
|
gigo (2.0.0)
|
34
34
|
activesupport (>= 3.0)
|
35
35
|
ensure_valid_encoding (~> 0.5.3)
|
36
|
-
i18n (0.
|
36
|
+
i18n (0.7.0)
|
37
37
|
minitest (4.7.5)
|
38
|
-
multi_json (1.
|
39
|
-
rake (10.
|
40
|
-
sqlite3 (1.3.
|
41
|
-
|
42
|
-
|
43
|
-
tzinfo (0.3.
|
38
|
+
multi_json (1.10.1)
|
39
|
+
rake (10.4.2)
|
40
|
+
sqlite3 (1.3.10)
|
41
|
+
thor (0.19.1)
|
42
|
+
thread_safe (0.3.4)
|
43
|
+
tzinfo (0.3.43)
|
44
44
|
|
45
45
|
PLATFORMS
|
46
46
|
ruby
|
47
47
|
|
48
48
|
DEPENDENCIES
|
49
|
-
activerecord (
|
49
|
+
activerecord (= 4.0.0)
|
50
50
|
appraisal
|
51
51
|
gigo-activerecord!
|
52
|
-
minitest
|
52
|
+
minitest
|
53
53
|
rake
|
54
54
|
sqlite3
|
@@ -0,0 +1,53 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../
|
3
|
+
specs:
|
4
|
+
gigo-activerecord (1.3.0)
|
5
|
+
activerecord (>= 3.0, < 5.0)
|
6
|
+
gigo
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
activemodel (4.1.8)
|
12
|
+
activesupport (= 4.1.8)
|
13
|
+
builder (~> 3.1)
|
14
|
+
activerecord (4.1.8)
|
15
|
+
activemodel (= 4.1.8)
|
16
|
+
activesupport (= 4.1.8)
|
17
|
+
arel (~> 5.0.0)
|
18
|
+
activesupport (4.1.8)
|
19
|
+
i18n (~> 0.6, >= 0.6.9)
|
20
|
+
json (~> 1.7, >= 1.7.7)
|
21
|
+
minitest (~> 5.1)
|
22
|
+
thread_safe (~> 0.1)
|
23
|
+
tzinfo (~> 1.1)
|
24
|
+
appraisal (1.0.2)
|
25
|
+
bundler
|
26
|
+
rake
|
27
|
+
thor (>= 0.14.0)
|
28
|
+
arel (5.0.1.20140414130214)
|
29
|
+
builder (3.2.2)
|
30
|
+
ensure_valid_encoding (0.5.3)
|
31
|
+
gigo (2.0.0)
|
32
|
+
activesupport (>= 3.0)
|
33
|
+
ensure_valid_encoding (~> 0.5.3)
|
34
|
+
i18n (0.7.0)
|
35
|
+
json (1.8.2)
|
36
|
+
minitest (5.5.1)
|
37
|
+
rake (10.4.2)
|
38
|
+
sqlite3 (1.3.10)
|
39
|
+
thor (0.19.1)
|
40
|
+
thread_safe (0.3.4)
|
41
|
+
tzinfo (1.2.2)
|
42
|
+
thread_safe (~> 0.1)
|
43
|
+
|
44
|
+
PLATFORMS
|
45
|
+
ruby
|
46
|
+
|
47
|
+
DEPENDENCIES
|
48
|
+
activerecord (~> 4.1.0)
|
49
|
+
appraisal
|
50
|
+
gigo-activerecord!
|
51
|
+
minitest
|
52
|
+
rake
|
53
|
+
sqlite3
|
@@ -0,0 +1,53 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../
|
3
|
+
specs:
|
4
|
+
gigo-activerecord (1.3.0)
|
5
|
+
activerecord (>= 3.0, < 5.0)
|
6
|
+
gigo
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
activemodel (4.2.0)
|
12
|
+
activesupport (= 4.2.0)
|
13
|
+
builder (~> 3.1)
|
14
|
+
activerecord (4.2.0)
|
15
|
+
activemodel (= 4.2.0)
|
16
|
+
activesupport (= 4.2.0)
|
17
|
+
arel (~> 6.0)
|
18
|
+
activesupport (4.2.0)
|
19
|
+
i18n (~> 0.7)
|
20
|
+
json (~> 1.7, >= 1.7.7)
|
21
|
+
minitest (~> 5.1)
|
22
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
23
|
+
tzinfo (~> 1.1)
|
24
|
+
appraisal (1.0.2)
|
25
|
+
bundler
|
26
|
+
rake
|
27
|
+
thor (>= 0.14.0)
|
28
|
+
arel (6.0.0)
|
29
|
+
builder (3.2.2)
|
30
|
+
ensure_valid_encoding (0.5.3)
|
31
|
+
gigo (2.0.0)
|
32
|
+
activesupport (>= 3.0)
|
33
|
+
ensure_valid_encoding (~> 0.5.3)
|
34
|
+
i18n (0.7.0)
|
35
|
+
json (1.8.2)
|
36
|
+
minitest (5.5.1)
|
37
|
+
rake (10.4.2)
|
38
|
+
sqlite3 (1.3.10)
|
39
|
+
thor (0.19.1)
|
40
|
+
thread_safe (0.3.4)
|
41
|
+
tzinfo (1.2.2)
|
42
|
+
thread_safe (~> 0.1)
|
43
|
+
|
44
|
+
PLATFORMS
|
45
|
+
ruby
|
46
|
+
|
47
|
+
DEPENDENCIES
|
48
|
+
activerecord (~> 4.2.0)
|
49
|
+
appraisal
|
50
|
+
gigo-activerecord!
|
51
|
+
minitest
|
52
|
+
rake
|
53
|
+
sqlite3
|
data/gigo-activerecord.gemspec
CHANGED
@@ -20,6 +20,6 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.add_runtime_dependency 'activerecord', '>= 3.0', '< 5.0'
|
21
21
|
spec.add_development_dependency 'appraisal'
|
22
22
|
spec.add_development_dependency 'rake'
|
23
|
-
spec.add_development_dependency 'minitest'
|
23
|
+
spec.add_development_dependency 'minitest'
|
24
24
|
spec.add_development_dependency 'sqlite3'
|
25
25
|
end
|
data/test/cases/all_test.rb
CHANGED
@@ -28,7 +28,7 @@ module GIGO
|
|
28
28
|
it 'allows dual calls' do
|
29
29
|
UserWithDualGIGO
|
30
30
|
end
|
31
|
-
|
31
|
+
|
32
32
|
it 'can setup different DB data in other encodings so other test assumptions work' do
|
33
33
|
seralized_data_utf8_raw.encoding.must_equal utf8
|
34
34
|
seralized_data_cp1252_raw.encoding.must_equal cp1252
|
@@ -108,7 +108,7 @@ module GIGO
|
|
108
108
|
end
|
109
109
|
|
110
110
|
end
|
111
|
-
|
111
|
+
|
112
112
|
end
|
113
113
|
end
|
114
114
|
end
|
data/test/test_helper.rb
CHANGED
@@ -23,26 +23,26 @@ module GIGO
|
|
23
23
|
let(:data_binary) { "won\x92t".force_encoding(binary) }
|
24
24
|
let(:data_iso8859) { "Med\xEDco".force_encoding(iso8859) }
|
25
25
|
|
26
|
-
let(:user_data_utf8) {
|
26
|
+
let(:user_data_utf8) {
|
27
27
|
User.create! { |u| u.notes = {data: data_utf8} }
|
28
28
|
}
|
29
|
-
let(:user_data_cp1252) {
|
29
|
+
let(:user_data_cp1252) {
|
30
30
|
u = User.create!
|
31
31
|
with_db_encoding(cp1252) { UserRaw.find(u.id).update_attribute :notes, "---\n:data: #{data_cp1252}\n" }
|
32
32
|
u
|
33
33
|
}
|
34
|
-
let(:user_data_binary) {
|
34
|
+
let(:user_data_binary) {
|
35
35
|
u = User.create!
|
36
36
|
with_db_encoding(binary) { UserRaw.find(u.id).update_attribute :notes, "---\n:data: #{data_binary}\n" }
|
37
37
|
u
|
38
38
|
}
|
39
|
-
let(:user_data_iso8859) {
|
39
|
+
let(:user_data_iso8859) {
|
40
40
|
u = User.create!
|
41
41
|
with_db_encoding(iso8859) { UserRaw.find(u.id).update_attribute :notes, "---\n:data: #{data_iso8859}\n" }
|
42
42
|
u
|
43
43
|
}
|
44
44
|
|
45
|
-
let(:user_subject_binary) {
|
45
|
+
let(:user_subject_binary) {
|
46
46
|
u = User.create!
|
47
47
|
with_db_encoding(binary) { UserRaw.find(u.id).update_attribute :subject, data_binary }
|
48
48
|
u
|
metadata
CHANGED
@@ -1,118 +1,105 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gigo-activerecord
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 1.3.0
|
4
|
+
version: 1.4.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Ken Collins
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-03-04 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: gigo
|
16
|
-
type: :runtime
|
17
15
|
requirement: !ruby/object:Gem::Requirement
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
|
-
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
23
22
|
version_requirements: !ruby/object:Gem::Requirement
|
24
23
|
requirements:
|
25
|
-
- -
|
24
|
+
- - ">="
|
26
25
|
- !ruby/object:Gem::Version
|
27
26
|
version: '0'
|
28
|
-
none: false
|
29
|
-
prerelease: false
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: activerecord
|
32
|
-
type: :runtime
|
33
29
|
requirement: !ruby/object:Gem::Requirement
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '3.0'
|
38
|
-
- - <
|
34
|
+
- - "<"
|
39
35
|
- !ruby/object:Gem::Version
|
40
36
|
version: '5.0'
|
41
|
-
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
42
39
|
version_requirements: !ruby/object:Gem::Requirement
|
43
40
|
requirements:
|
44
|
-
- -
|
41
|
+
- - ">="
|
45
42
|
- !ruby/object:Gem::Version
|
46
43
|
version: '3.0'
|
47
|
-
- - <
|
44
|
+
- - "<"
|
48
45
|
- !ruby/object:Gem::Version
|
49
46
|
version: '5.0'
|
50
|
-
none: false
|
51
|
-
prerelease: false
|
52
47
|
- !ruby/object:Gem::Dependency
|
53
48
|
name: appraisal
|
54
|
-
type: :development
|
55
49
|
requirement: !ruby/object:Gem::Requirement
|
56
50
|
requirements:
|
57
|
-
- -
|
51
|
+
- - ">="
|
58
52
|
- !ruby/object:Gem::Version
|
59
53
|
version: '0'
|
60
|
-
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
61
56
|
version_requirements: !ruby/object:Gem::Requirement
|
62
57
|
requirements:
|
63
|
-
- -
|
58
|
+
- - ">="
|
64
59
|
- !ruby/object:Gem::Version
|
65
60
|
version: '0'
|
66
|
-
none: false
|
67
|
-
prerelease: false
|
68
61
|
- !ruby/object:Gem::Dependency
|
69
62
|
name: rake
|
70
|
-
type: :development
|
71
63
|
requirement: !ruby/object:Gem::Requirement
|
72
64
|
requirements:
|
73
|
-
- -
|
65
|
+
- - ">="
|
74
66
|
- !ruby/object:Gem::Version
|
75
67
|
version: '0'
|
76
|
-
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
77
70
|
version_requirements: !ruby/object:Gem::Requirement
|
78
71
|
requirements:
|
79
|
-
- -
|
72
|
+
- - ">="
|
80
73
|
- !ruby/object:Gem::Version
|
81
74
|
version: '0'
|
82
|
-
none: false
|
83
|
-
prerelease: false
|
84
75
|
- !ruby/object:Gem::Dependency
|
85
76
|
name: minitest
|
86
|
-
type: :development
|
87
77
|
requirement: !ruby/object:Gem::Requirement
|
88
78
|
requirements:
|
89
|
-
- -
|
79
|
+
- - ">="
|
90
80
|
- !ruby/object:Gem::Version
|
91
|
-
version: '
|
92
|
-
|
81
|
+
version: '0'
|
82
|
+
type: :development
|
83
|
+
prerelease: false
|
93
84
|
version_requirements: !ruby/object:Gem::Requirement
|
94
85
|
requirements:
|
95
|
-
- -
|
86
|
+
- - ">="
|
96
87
|
- !ruby/object:Gem::Version
|
97
|
-
version: '
|
98
|
-
none: false
|
99
|
-
prerelease: false
|
88
|
+
version: '0'
|
100
89
|
- !ruby/object:Gem::Dependency
|
101
90
|
name: sqlite3
|
102
|
-
type: :development
|
103
91
|
requirement: !ruby/object:Gem::Requirement
|
104
92
|
requirements:
|
105
|
-
- -
|
93
|
+
- - ">="
|
106
94
|
- !ruby/object:Gem::Version
|
107
95
|
version: '0'
|
108
|
-
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
109
98
|
version_requirements: !ruby/object:Gem::Requirement
|
110
99
|
requirements:
|
111
|
-
- -
|
100
|
+
- - ">="
|
112
101
|
- !ruby/object:Gem::Version
|
113
102
|
version: '0'
|
114
|
-
none: false
|
115
|
-
prerelease: false
|
116
103
|
description: GIGO for ActiveRecord
|
117
104
|
email:
|
118
105
|
- kcollins@customink.com
|
@@ -120,20 +107,20 @@ executables: []
|
|
120
107
|
extensions: []
|
121
108
|
extra_rdoc_files: []
|
122
109
|
files:
|
123
|
-
- .gitignore
|
110
|
+
- ".gitignore"
|
124
111
|
- Appraisals
|
125
112
|
- Gemfile
|
126
113
|
- LICENSE.txt
|
127
114
|
- README.md
|
128
115
|
- Rakefile
|
129
|
-
- gemfiles/activerecord30.gemfile
|
130
|
-
- gemfiles/activerecord30.gemfile.lock
|
131
|
-
- gemfiles/activerecord31.gemfile
|
132
|
-
- gemfiles/activerecord31.gemfile.lock
|
133
116
|
- gemfiles/activerecord32.gemfile
|
134
117
|
- gemfiles/activerecord32.gemfile.lock
|
135
118
|
- gemfiles/activerecord40.gemfile
|
136
119
|
- gemfiles/activerecord40.gemfile.lock
|
120
|
+
- gemfiles/activerecord41.gemfile
|
121
|
+
- gemfiles/activerecord41.gemfile.lock
|
122
|
+
- gemfiles/activerecord42.gemfile
|
123
|
+
- gemfiles/activerecord42.gemfile.lock
|
137
124
|
- gigo-activerecord.gemspec
|
138
125
|
- lib/gigo-activerecord.rb
|
139
126
|
- lib/gigo/active_record.rb
|
@@ -144,33 +131,26 @@ files:
|
|
144
131
|
homepage: http://github.com/customink/gigo-activerecord
|
145
132
|
licenses:
|
146
133
|
- MIT
|
134
|
+
metadata: {}
|
147
135
|
post_install_message:
|
148
136
|
rdoc_options: []
|
149
137
|
require_paths:
|
150
138
|
- lib
|
151
139
|
required_ruby_version: !ruby/object:Gem::Requirement
|
152
140
|
requirements:
|
153
|
-
- -
|
141
|
+
- - ">="
|
154
142
|
- !ruby/object:Gem::Version
|
155
|
-
segments:
|
156
|
-
- 0
|
157
|
-
hash: -3544303589874900389
|
158
143
|
version: '0'
|
159
|
-
none: false
|
160
144
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
161
145
|
requirements:
|
162
|
-
- -
|
146
|
+
- - ">="
|
163
147
|
- !ruby/object:Gem::Version
|
164
|
-
segments:
|
165
|
-
- 0
|
166
|
-
hash: -3544303589874900389
|
167
148
|
version: '0'
|
168
|
-
none: false
|
169
149
|
requirements: []
|
170
150
|
rubyforge_project:
|
171
|
-
rubygems_version:
|
151
|
+
rubygems_version: 2.4.2
|
172
152
|
signing_key:
|
173
|
-
specification_version:
|
153
|
+
specification_version: 4
|
174
154
|
summary: GIGO for ActiveRecord
|
175
155
|
test_files:
|
176
156
|
- test/cases/all_test.rb
|
@@ -1,45 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: /Users/kencollins/Repositories/customink/gigo-activerecord
|
3
|
-
specs:
|
4
|
-
gigo-activerecord (1.2.1)
|
5
|
-
activerecord (>= 3.0, < 5.0)
|
6
|
-
gigo
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
activemodel (3.0.20)
|
12
|
-
activesupport (= 3.0.20)
|
13
|
-
builder (~> 2.1.2)
|
14
|
-
i18n (~> 0.5.0)
|
15
|
-
activerecord (3.0.20)
|
16
|
-
activemodel (= 3.0.20)
|
17
|
-
activesupport (= 3.0.20)
|
18
|
-
arel (~> 2.0.10)
|
19
|
-
tzinfo (~> 0.3.23)
|
20
|
-
activesupport (3.0.20)
|
21
|
-
appraisal (0.5.2)
|
22
|
-
bundler
|
23
|
-
rake
|
24
|
-
arel (2.0.10)
|
25
|
-
builder (2.1.2)
|
26
|
-
ensure_valid_encoding (0.5.3)
|
27
|
-
gigo (2.0.0)
|
28
|
-
activesupport (>= 3.0)
|
29
|
-
ensure_valid_encoding (~> 0.5.3)
|
30
|
-
i18n (0.5.0)
|
31
|
-
minitest (4.7.5)
|
32
|
-
rake (10.1.0)
|
33
|
-
sqlite3 (1.3.8)
|
34
|
-
tzinfo (0.3.38)
|
35
|
-
|
36
|
-
PLATFORMS
|
37
|
-
ruby
|
38
|
-
|
39
|
-
DEPENDENCIES
|
40
|
-
activerecord (~> 3.0.0)
|
41
|
-
appraisal
|
42
|
-
gigo-activerecord!
|
43
|
-
minitest (~> 4.2)
|
44
|
-
rake
|
45
|
-
sqlite3
|
@@ -1,47 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: /Users/kencollins/Repositories/customink/gigo-activerecord
|
3
|
-
specs:
|
4
|
-
gigo-activerecord (1.2.1)
|
5
|
-
activerecord (>= 3.0, < 5.0)
|
6
|
-
gigo
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
activemodel (3.1.12)
|
12
|
-
activesupport (= 3.1.12)
|
13
|
-
builder (~> 3.0.0)
|
14
|
-
i18n (~> 0.6)
|
15
|
-
activerecord (3.1.12)
|
16
|
-
activemodel (= 3.1.12)
|
17
|
-
activesupport (= 3.1.12)
|
18
|
-
arel (~> 2.2.3)
|
19
|
-
tzinfo (~> 0.3.29)
|
20
|
-
activesupport (3.1.12)
|
21
|
-
multi_json (~> 1.0)
|
22
|
-
appraisal (0.5.2)
|
23
|
-
bundler
|
24
|
-
rake
|
25
|
-
arel (2.2.3)
|
26
|
-
builder (3.0.4)
|
27
|
-
ensure_valid_encoding (0.5.3)
|
28
|
-
gigo (2.0.0)
|
29
|
-
activesupport (>= 3.0)
|
30
|
-
ensure_valid_encoding (~> 0.5.3)
|
31
|
-
i18n (0.6.5)
|
32
|
-
minitest (4.7.5)
|
33
|
-
multi_json (1.8.2)
|
34
|
-
rake (10.1.0)
|
35
|
-
sqlite3 (1.3.8)
|
36
|
-
tzinfo (0.3.38)
|
37
|
-
|
38
|
-
PLATFORMS
|
39
|
-
ruby
|
40
|
-
|
41
|
-
DEPENDENCIES
|
42
|
-
activerecord (~> 3.1.0)
|
43
|
-
appraisal
|
44
|
-
gigo-activerecord!
|
45
|
-
minitest (~> 4.2)
|
46
|
-
rake
|
47
|
-
sqlite3
|