flag_shih_tzu 0.3.20 → 0.3.21

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
  SHA256:
3
- metadata.gz: 860a532b61aec6f40e462a59d766bbac95f654275c8c0e10eedf078f88cbe0ae
4
- data.tar.gz: d56a05cba13f94b22af3a187b78241488104a95de05ea315f13b48b1f14ad0f2
3
+ metadata.gz: 8433736f25b1a4e35506a62d4379bca4a604c356890784361bd9dc5f6da1d281
4
+ data.tar.gz: 7280c2aa6c7ab7e08a733c412496b399f7d1f7369ec8ab871f12a75cd90ddb1e
5
5
  SHA512:
6
- metadata.gz: ad3e7222164f83df925b0a0f5ef61ac12a9e93235af35974f697e8755f0bfddddf6b084e7bae483a96b587ba37ba52ac096d3a3f41b53c4dfe467c58dd808c22
7
- data.tar.gz: 12f5bb7194d55e086f5522e1afa0a12be2c127fce20d7cea7902d246572b9c14dbc11cd664de153146570ba401df4091e01efa38bade008ebdc3feaf9ff728bf
6
+ metadata.gz: f669b8f544f906f217b02538da085c2862d373cf6cd84648033461762cea501827ced978955ee6bb2fdc67c01643a51ddf1fbdd3925fab7b997a16041a220000
7
+ data.tar.gz: 2eef7f1dbf8cc80927c292f60fc1acc4e21ec4ee12683c00bf85495efac39494dc013cd0c48bd1d12a3fc5eb1d31ac1b5721a5f563fb541eba068b1de840e743
@@ -8,9 +8,6 @@ before_script:
8
8
  - chmod +x ./cc-test-reporter
9
9
  - ./cc-test-reporter before-build
10
10
 
11
- script:
12
- - bundle exec rspec
13
-
14
11
  after_script:
15
12
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
16
13
 
@@ -29,118 +26,125 @@ language: ruby
29
26
  sudo: false
30
27
 
31
28
  rvm:
32
- - 1.9.3-p551
33
- - 2.0.0-p648
34
- - 2.1.10
35
- - 2.2.10
36
- - 2.3.7
37
- - 2.4.4
38
- - 2.5.1
29
+ - ruby-1.9.3-p551
30
+ - ruby-2.0.0-p648
31
+ - ruby-2.1.10
32
+ - ruby-2.2.10
33
+ - ruby-2.3.7
34
+ - ruby-2.4.4
35
+ - ruby-2.5.1
39
36
  - jruby-1.7.26
40
37
  - jruby-9.1.9.0
41
38
  gemfile:
42
- - gemfiles/Gemfile.activerecord-2.3.x
43
- - gemfiles/Gemfile.activerecord-3.0.x
44
- - gemfiles/Gemfile.activerecord-3.1.x
45
- - gemfiles/Gemfile.activerecord-3.2.x
46
- - gemfiles/Gemfile.activerecord-4.0.x
47
- - gemfiles/Gemfile.activerecord-4.1.x
48
- - gemfiles/Gemfile.activerecord-4.2.x
49
- - gemfiles/Gemfile.activerecord-5.0.x
50
- - gemfiles/Gemfile.activerecord-5.1.x
39
+ - gemfiles/ar-2.3.x
40
+ - gemfiles/ar-3.0.x
41
+ - gemfiles/ar-3.1.x
42
+ - gemfiles/ar-3.2.x
43
+ - gemfiles/ar-4.0.x
44
+ - gemfiles/ar-4.1.x
45
+ - gemfiles/ar-4.2.x
46
+ - gemfiles/ar-5.0.x
47
+ - gemfiles/ar-5.1.x
48
+ - gemfiles/ar-5.2.x
51
49
  matrix:
52
50
  exclude:
53
- - rvm: jruby-9.1.5.0
54
- gemfile: gemfiles/Gemfile.activerecord-2.3.x
55
- - rvm: jruby-9.1.5.0
56
- gemfile: gemfiles/Gemfile.activerecord-3.0.x
57
- - rvm: jruby-9.1.5.0
58
- gemfile: gemfiles/Gemfile.activerecord-3.1.x
59
-
60
- - rvm: 2.5.1
61
- gemfile: gemfiles/Gemfile.activerecord-2.3.x
62
- - rvm: 2.5.1
63
- gemfile: gemfiles/Gemfile.activerecord-3.0.x
64
- - rvm: 2.5.1
65
- gemfile: gemfiles/Gemfile.activerecord-3.1.x
66
- - rvm: 2.5.1
67
- gemfile: gemfiles/Gemfile.activerecord-3.2.x
68
- - rvm: 2.5.1
69
- gemfile: gemfiles/Gemfile.activerecord-4.0.x
70
- - rvm: 2.5.1
71
- gemfile: gemfiles/Gemfile.activerecord-4.1.x
72
-
73
- - rvm: 2.4.4
74
- gemfile: gemfiles/Gemfile.activerecord-2.3.x
75
- - rvm: 2.4.4
76
- gemfile: gemfiles/Gemfile.activerecord-3.0.x
77
- - rvm: 2.4.4
78
- gemfile: gemfiles/Gemfile.activerecord-3.1.x
79
- - rvm: 2.4.4
80
- gemfile: gemfiles/Gemfile.activerecord-3.2.x
81
- - rvm: 2.4.4
82
- gemfile: gemfiles/Gemfile.activerecord-4.0.x
83
- - rvm: 2.4.4
84
- gemfile: gemfiles/Gemfile.activerecord-4.1.x
85
-
86
- - rvm: 2.3.7
87
- gemfile: gemfiles/Gemfile.activerecord-2.3.x
88
- - rvm: 2.3.7
89
- gemfile: gemfiles/Gemfile.activerecord-3.0.x
90
- - rvm: 2.3.7
91
- gemfile: gemfiles/Gemfile.activerecord-3.1.x
92
- - rvm: 2.3.7
93
- gemfile: gemfiles/Gemfile.activerecord-3.2.x
94
- - rvm: 2.3.7
95
- gemfile: gemfiles/Gemfile.activerecord-4.0.x
96
-
97
- - rvm: 2.2.10
98
- gemfile: gemfiles/Gemfile.activerecord-2.3.x
99
- - rvm: 2.2.10
100
- gemfile: gemfiles/Gemfile.activerecord-3.0.x
101
- - rvm: 2.2.10
102
- gemfile: gemfiles/Gemfile.activerecord-3.1.x
103
- - rvm: 2.2.10
104
- gemfile: gemfiles/Gemfile.activerecord-3.2.x
105
- - rvm: 2.2.10
106
- gemfile: gemfiles/Gemfile.activerecord-4.0.x
107
-
108
- - rvm: 2.1.10
109
- gemfile: gemfiles/Gemfile.activerecord-2.3.x
110
- - rvm: 2.1.10
111
- gemfile: gemfiles/Gemfile.activerecord-3.0.x
112
- - rvm: 2.1.10
113
- gemfile: gemfiles/Gemfile.activerecord-3.1.x
114
- - rvm: 2.1.10
115
- gemfile: gemfiles/Gemfile.activerecord-5.0.x
116
- - rvm: 2.1.10
117
- gemfile: gemfiles/Gemfile.activerecord-5.1.x
118
-
119
- - rvm: 2.0.0-p648
120
- gemfile: gemfiles/Gemfile.activerecord-5.1.x
121
- - rvm: 2.0.0-p648
122
- gemfile: gemfiles/Gemfile.activerecord-5.0.x
123
- - rvm: 2.0.0-p648
124
- gemfile: gemfiles/Gemfile.activerecord-4.2.x
125
- - rvm: 2.0.0-p648
126
- gemfile: gemfiles/Gemfile.activerecord-2.3.x
127
-
128
- - rvm: 1.9.3-p551
129
- gemfile: gemfiles/Gemfile.activerecord-5.1.x
130
- - rvm: 1.9.3-p551
131
- gemfile: gemfiles/Gemfile.activerecord-5.0.x
132
- - rvm: 1.9.3-p551
133
- gemfile: gemfiles/Gemfile.activerecord-4.2.x
134
- - rvm: 1.9.3-p551
135
- gemfile: gemfiles/Gemfile.activerecord-4.1.x
136
- - rvm: 1.9.3-p551
137
- gemfile: gemfiles/Gemfile.activerecord-4.0.x
51
+ - rvm: jruby-9.1.9.0
52
+ gemfile: gemfiles/ar-2.3.x
53
+ - rvm: jruby-9.1.9.0
54
+ gemfile: gemfiles/ar-3.0.x
55
+
56
+ - rvm: ruby-2.5.1
57
+ gemfile: gemfiles/ar-2.3.x
58
+ - rvm: ruby-2.5.1
59
+ gemfile: gemfiles/ar-3.0.x
60
+ - rvm: ruby-2.5.1
61
+ gemfile: gemfiles/ar-3.1.x
62
+ - rvm: ruby-2.5.1
63
+ gemfile: gemfiles/ar-3.2.x
64
+ - rvm: ruby-2.5.1
65
+ gemfile: gemfiles/ar-4.0.x
66
+ - rvm: ruby-2.5.1
67
+ gemfile: gemfiles/ar-4.1.x
68
+
69
+ - rvm: ruby-2.4.4
70
+ gemfile: gemfiles/ar-2.3.x
71
+ - rvm: ruby-2.4.4
72
+ gemfile: gemfiles/ar-3.0.x
73
+ - rvm: ruby-2.4.4
74
+ gemfile: gemfiles/ar-3.1.x
75
+ - rvm: ruby-2.4.4
76
+ gemfile: gemfiles/ar-3.2.x
77
+ - rvm: ruby-2.4.4
78
+ gemfile: gemfiles/ar-4.0.x
79
+ - rvm: ruby-2.4.4
80
+ gemfile: gemfiles/ar-4.1.x
81
+
82
+ - rvm: ruby-2.3.7
83
+ gemfile: gemfiles/ar-2.3.x
84
+ - rvm: ruby-2.3.7
85
+ gemfile: gemfiles/ar-3.0.x
86
+ - rvm: ruby-2.3.7
87
+ gemfile: gemfiles/ar-3.1.x
88
+ - rvm: ruby-2.3.7
89
+ gemfile: gemfiles/ar-3.2.x
90
+ - rvm: ruby-2.3.7
91
+ gemfile: gemfiles/ar-4.0.x
92
+
93
+ - rvm: ruby-2.2.10
94
+ gemfile: gemfiles/ar-2.3.x
95
+ - rvm: ruby-2.2.10
96
+ gemfile: gemfiles/ar-3.0.x
97
+ - rvm: ruby-2.2.10
98
+ gemfile: gemfiles/ar-3.1.x
99
+ - rvm: ruby-2.2.10
100
+ gemfile: gemfiles/ar-3.2.x
101
+ - rvm: ruby-2.2.10
102
+ gemfile: gemfiles/ar-4.0.x
103
+
104
+ - rvm: ruby-2.1.10
105
+ gemfile: gemfiles/ar-2.3.x
106
+ - rvm: ruby-2.1.10
107
+ gemfile: gemfiles/ar-3.0.x
108
+ - rvm: ruby-2.1.10
109
+ gemfile: gemfiles/ar-3.1.x
110
+ - rvm: ruby-2.1.10
111
+ gemfile: gemfiles/ar-5.0.x
112
+ - rvm: ruby-2.1.10
113
+ gemfile: gemfiles/ar-5.1.x
114
+ - rvm: ruby-2.1.10
115
+ gemfile: gemfiles/ar-5.2.x
116
+
117
+ - rvm: ruby-2.0.0-p648
118
+ gemfile: gemfiles/ar-5.2.x
119
+ - rvm: ruby-2.0.0-p648
120
+ gemfile: gemfiles/ar-5.1.x
121
+ - rvm: ruby-2.0.0-p648
122
+ gemfile: gemfiles/ar-5.0.x
123
+ - rvm: ruby-2.0.0-p648
124
+ gemfile: gemfiles/ar-4.2.x
125
+ - rvm: ruby-2.0.0-p648
126
+ gemfile: gemfiles/ar-2.3.x
127
+
128
+ - rvm: ruby-1.9.3-p551
129
+ gemfile: gemfiles/ar-5.2.x
130
+ - rvm: ruby-1.9.3-p551
131
+ gemfile: gemfiles/ar-5.1.x
132
+ - rvm: ruby-1.9.3-p551
133
+ gemfile: gemfiles/ar-5.0.x
134
+ - rvm: ruby-1.9.3-p551
135
+ gemfile: gemfiles/ar-4.2.x
136
+ - rvm: ruby-1.9.3-p551
137
+ gemfile: gemfiles/ar-4.1.x
138
+ - rvm: ruby-1.9.3-p551
139
+ gemfile: gemfiles/ar-4.0.x
138
140
 
139
141
  - rvm: jruby-1.7.26
140
- gemfile: gemfiles/Gemfile.activerecord-5.1.x
142
+ gemfile: gemfiles/ar-5.2.x
143
+ - rvm: jruby-1.7.26
144
+ gemfile: gemfiles/ar-5.1.x
141
145
  - rvm: jruby-1.7.26
142
- gemfile: gemfiles/Gemfile.activerecord-5.0.x
146
+ gemfile: gemfiles/ar-5.0.x
143
147
  - rvm: jruby-1.7.26
144
- gemfile: gemfiles/Gemfile.activerecord-3.0.x
148
+ gemfile: gemfiles/ar-3.0.x
145
149
  - rvm: jruby-1.7.26
146
- gemfile: gemfiles/Gemfile.activerecord-2.3.x
150
+ gemfile: gemfiles/ar-2.3.x
@@ -2,6 +2,16 @@
2
2
 
3
3
  * Work merged into master branch goes here until it is released.
4
4
 
5
+ # Version 0.3.21 - SEP.09.2018
6
+
7
+ * Support Rails 5.2 by Peter Boling
8
+ * Add Ruby 2.5 to build, and update/fix build
9
+
10
+ # Version 0.3.20 - SEP.08.2018
11
+
12
+ * Fix generated instance methods. by xpol
13
+ * Support Rails 5.1 saved_change by shiro16
14
+
5
15
  # Version 0.3.19 - MAY.15.2017
6
16
 
7
17
  * Fixed a bug in Rails 5 support.
data/README.md CHANGED
@@ -46,32 +46,37 @@ What is a ["Shih Tzu"](http://en.wikipedia.org/wiki/Shih_Tzu)?
46
46
 
47
47
  ## Prerequisites
48
48
 
49
- The gem is actively being tested with:
49
+ The gem is actively being tested against:
50
50
 
51
51
  * MySQL, PostgreSQL and SQLite3 databases (Both Ruby and JRuby adapters)
52
- * ActiveRecord versions 2.3.x, 3.0.x, 3.1.x, 3.2.x, 4.0.x, 4.1.x, 4.2.x, 5.0.x
53
- * Ruby 1.9.3, 2.0.0, 2.1.10, 2.2.7, 2.3.4, 2.4.1, jruby-1.7.x, jruby-9.1.x, and ruby-head
54
- * Travis tests the supportedt builds. See [.travis.yml](https://github.com/pboling/flag_shih_tzu/blob/master/.travis.yml) for the matrix.
55
- * All of the supported builds can also be run locally. See [bin/test.bash](https://github.com/pboling/flag_shih_tzu/blob/master/bin/test.bash)
52
+ * ActiveRecord versions 2.3.x, 3.0.x, 3.1.x, 3.2.x, 4.0.x, 4.1.x, 4.2.x, 5.0.x, 5.1.x, 5.2.x
53
+ * Ruby 1.9.3, 2.0.0, 2.1.10, 2.2.10, 2.3.7, 2.4.4, 2.5.1, jruby-1.7.x, jruby-9.1.x
54
+ * Travis tests the supported builds. See [.travis.yml](https://github.com/pboling/flag_shih_tzu/blob/master/.travis.yml) for the matrix.
55
+ * All of the supported builds can also be run locally using the `wwtd` gem.
56
+ * Forthcoming flag_shih_tzu v1.0 will only support Ruby 2.2+, JRuby-9.1+ and Rails 4.2+
56
57
 
57
58
  ### Compatibility Matrix
58
59
 
59
- | Ruby / Active Record | 2.3.x | 3.0.x | 3.1.x | 3.2.x | 4.0.x | 4.1.x | 4.2.x | 5.0.x |
60
- |:---------------------:|:-----:|:-----:|:-----:|:-----:|:-----:|:-----:|:-----:|:-----:|
61
- | 1.9.3 | ✓ | ✓ | ✓ | ✓ | | | | |
62
- | 2.0.0 | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |
63
- | 2.1.x | | | | ✓ | ✓ | ✓ | ✓ | |
64
- | 2.2.0-2.2.1 | | | | ✓ | ✓ | ✓ | ✓ | |
65
- | 2.2.2+ | | | | ✓ | ✓ | ✓ | ✓ | ✓ |
66
- | 2.3.x | | | | ✓ | ✓ | ✓ | ✓ | ✓ |
67
- | 2.4.x | | | | | | | ✓ | ✓ |
68
- | jruby-1.7.x | ? | ? || ✓ | ✓ | ✓ | ✓ | |
69
- | jruby-9.x | | | | ✓ | ✓ | ✓ | ✓ | ✓ |
60
+ | Ruby / Active Record | 2.3.x | 3.0.x | 3.1.x | 3.2.x | 4.0.x | 4.1.x | 4.2.x | 5.0.x | 5.1.x | 5.2.x |
61
+ |:---------------------:|:-----:|:-----:|:-----:|:-----:|:-----:|:-----:|:-----:|:-----:|:-----:|:-----:|
62
+ | 1.9.3 | ✓ | ✓ | ✓ | ✓ | | | | | | |
63
+ | 2.0.0 | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | | |
64
+ | 2.1.x | | | | ✓ | ✓ | ✓ | ✓ | | | |
65
+ | 2.2.0-2.2.1 | | | | ✓ | ✓ | ✓ | ✓ | | | |
66
+ | 2.2.2+ | | | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
67
+ | 2.3.x | | | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
68
+ | 2.4.x | | | | | | | ✓ | ✓ | ✓ | ✓ |
69
+ | 2.5.x | | | | | | | ✓ | ✓ | ✓ | ✓ |
70
+ | jruby-1.7.x | ? | ? | ✓ | ✓ | ✓ | ✓ | ✓ | | | |
71
+ | jruby-9.1 | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
72
+ | jruby-9.2 | | | | | | | ✓ | ✓ | ✓ | ✓ |
70
73
 
71
74
  * Notes
72
75
  - JRuby 1.7.x aims for MRI 1.9.3 compatibility
73
76
  - `?` indicates incompatible due to 2 failures in the test suite.
74
- - JRuby 9.x aims for MRI 2.x compatibility
77
+ - JRuby 9.1 aims for MRI 2.2 compatibility
78
+ - JRuby 9.2 aims for MRI 2.5 compatibility
79
+ - Forthcoming flag_shih_tzu v1.0 will only support Ruby 2.2+, JRuby-9.1+ and Rails 4.2+
75
80
 
76
81
  **Legacy**
77
82
 
@@ -509,7 +514,7 @@ dependency on this gem using the [Pessimistic Version Constraint](http://docs.ru
509
514
  For example:
510
515
 
511
516
  ```ruby
512
- spec.add_dependency 'flag_shih_tzu', '~> 4.0'
517
+ spec.add_dependency 'flag_shih_tzu', '~> 0.0'
513
518
  ```
514
519
 
515
520
  ## 2012 Change of Ownership and 0.3.X Release Notes
@@ -535,10 +540,10 @@ Will there ever be a merb/rails-like love fest between the projects? It would b
535
540
 
536
541
  MIT License
537
542
 
538
- Copyright (c) 2012-3 [Peter Boling][peterboling] of [RailsBling.com][railsbling]
539
-
540
543
  Copyright (c) 2011 [XING AG](http://www.xing.com/)
541
544
 
545
+ Copyright (c) 2012 - 2018 [Peter Boling][peterboling] of [RailsBling.com][railsbling]
546
+
542
547
  Permission is hereby granted, free of charge, to any person obtaining
543
548
  a copy of this software and associated documentation files (the
544
549
  "Software"), to deal in the Software without restriction, including
@@ -1,16 +1,16 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  require File.expand_path('../lib/flag_shih_tzu/version', __FILE__)
3
3
 
4
- Gem::Specification.new do |s|
5
- s.name = "flag_shih_tzu"
6
- s.version = FlagShihTzu::VERSION
7
- s.licenses = ['MIT']
8
- s.email = 'peter.boling@gmail.com'
9
- s.platform = Gem::Platform::RUBY
10
- s.authors = ["Peter Boling", "Patryk Peszko", "Sebastian Roebke", "David Anderson", "Tim Payton"]
11
- s.homepage = "https://github.com/pboling/flag_shih_tzu"
12
- s.summary = %q{Bit fields for ActiveRecord}
13
- s.description = <<-EODOC
4
+ Gem::Specification.new do |gem|
5
+ gem.name = "flag_shih_tzu"
6
+ gem.version = FlagShihTzu::VERSION
7
+ gem.licenses = ['MIT']
8
+ gem.email = 'peter.boling@gmail.com'
9
+ gem.platform = Gem::Platform::RUBY
10
+ gem.authors = ["Peter Boling", "Patryk Peszko", "Sebastian Roebke", "David Anderson", "Tim Payton"]
11
+ gem.homepage = "https://github.com/pboling/flag_shih_tzu"
12
+ gem.summary = %q{Bit fields for ActiveRecord}
13
+ gem.description = <<-EODOC
14
14
  Bit fields for ActiveRecord:
15
15
  This gem lets you use a single integer column in an ActiveRecord model
16
16
  to store a collection of boolean attributes (flags). Each flag can be used
@@ -18,16 +18,20 @@ almost in the same way you would use any boolean attribute on an
18
18
  ActiveRecord object.
19
19
  EODOC
20
20
 
21
- s.files = `git ls-files`.split("\n")
22
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
23
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
24
- s.require_paths = ["lib"]
21
+ gem.files = `git ls-files`.split("\n")
22
+ gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
23
+ gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
24
+ gem.require_paths = ["lib"]
25
25
 
26
- s.add_development_dependency "activerecord", ">= 2.3.0"
26
+ gem.required_ruby_version = '>= 1.9.3'
27
27
 
28
- s.add_development_dependency "bundler"
29
- s.add_development_dependency "rake"
30
- s.add_development_dependency "rdoc", ">= 2.4.2"
31
- s.add_development_dependency "coveralls"
32
- s.add_development_dependency "test-unit"
28
+ gem.add_development_dependency('activerecord', '>= 2.3.0')
29
+
30
+ gem.add_development_dependency('bundler', '~> 1')
31
+ gem.add_development_dependency('rake', '>= 0.9')
32
+ gem.add_development_dependency('rdoc', '~> 5.1') # v6 requires Ruby 2.2+
33
+ gem.add_development_dependency('test-unit', '~> 3')
34
+ gem.add_development_dependency('wwtd', '~> 1')
35
+ # latest gem-release does not support back to the versions of Ruby still supported here
36
+ # gem.add_development_dependency('gem-release', '~> 2')
33
37
  end
@@ -0,0 +1,21 @@
1
+ source "http://rubygems.org"
2
+
3
+ gemspec :path => ".."
4
+
5
+ gem "mime-types", "< 2.0.0", platforms: [:ruby_18]
6
+
7
+ gem "activerecord", "~> 2.3.0"
8
+ gem "sqlite3", "~> 1.3", platforms: [:ruby]
9
+ gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.23", platforms: [:jruby]
10
+ gem "mysql", platforms: [:ruby_19]
11
+ gem "activerecord-mysql2-adapter", platforms: [:ruby_20]
12
+ gem "activerecord-jdbcmysql-adapter", "~> 1.3.23", platforms: [:jruby]
13
+ gem "activerecord-jdbcpostgresql-adapter", "~> 1.3.23", platforms: [:jruby]
14
+ gem "tins", "~> 1.6.0", platforms: [:ruby_19, :jruby] # released August 13, 2015
15
+ gem "term-ansicolor", "~> 1.3.2", platforms: [:ruby_19, :jruby] # released June 23, 2015
16
+ gem "unparser", "0.2.4", platforms: [:ruby_19, :ruby_20, :jruby] # released May 30, 2015
17
+
18
+ gem "rake", "~> 0.9.6"
19
+ gem "reek", "~> 2.2.1", platforms: [:mri_20, :mri_21, :mri_22, :mri_23, :mri_24, :mri_25]
20
+ gem "roodi", "~> 5", platforms: [:mri_20, :mri_21, :mri_22, :mri_23, :mri_24, :mri_25]
21
+ gem "coveralls", platforms: [:mri_20, :mri_21, :mri_22, :mri_23, :mri_24, :mri_25]
@@ -0,0 +1,21 @@
1
+ source "http://rubygems.org"
2
+
3
+ gemspec :path => ".."
4
+
5
+ gem "mime-types", "< 2.0.0", platforms: [:ruby_18]
6
+
7
+ gem "activerecord", "~> 3.0.0"
8
+ gem "sqlite3", "~> 1.3", platforms: [:ruby]
9
+ gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.23", platforms: [:jruby]
10
+ gem "mysql", platforms: [:ruby_19]
11
+ gem "activerecord-mysql2-adapter", platforms: [:ruby_20]
12
+ gem "activerecord-jdbcmysql-adapter", "~> 1.3.23", platforms: [:jruby]
13
+ gem "activerecord-jdbcpostgresql-adapter", "~> 1.3.23", platforms: [:jruby]
14
+ gem "tins", "~> 1.6.0", platforms: [:ruby_19, :jruby] # released August 13, 2015
15
+ gem "term-ansicolor", "~> 1.3.2", platforms: [:ruby_19, :jruby] # released June 23, 2015
16
+ gem "unparser", "0.2.4", platforms: [:ruby_19, :ruby_20, :jruby] # released May 30, 2015
17
+
18
+ gem "rake", "~> 11"
19
+ gem "reek", "~> 2.2.1", platforms: [:mri_20, :mri_21, :mri_22, :mri_23, :mri_24, :mri_25]
20
+ gem "roodi", "~> 5", platforms: [:mri_20, :mri_21, :mri_22, :mri_23, :mri_24, :mri_25]
21
+ gem "coveralls", platforms: [:mri_20, :mri_21, :mri_22, :mri_23, :mri_24, :mri_25]
@@ -0,0 +1,22 @@
1
+ source "http://rubygems.org"
2
+
3
+ gemspec :path => ".."
4
+
5
+ gem "mime-types", "< 2.0.0", platforms: [:ruby_18]
6
+
7
+ gem "activerecord", "~> 3.1.0"
8
+ gem "sqlite3", "~> 1.3", platforms: [:ruby]
9
+ gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.23", platforms: [:jruby]
10
+ gem "mysql", platforms: [:ruby_19]
11
+ gem "activerecord-mysql2-adapter", platforms: [:ruby_20]
12
+ gem "activerecord-jdbcmysql-adapter", "~> 1.3.23", platforms: [:jruby]
13
+ gem "pg", platforms: [:ruby_18]
14
+ gem "activerecord-jdbcpostgresql-adapter", "~> 1.3.23", platforms: [:jruby]
15
+ gem "tins", "~> 1.6.0", platforms: [:ruby_19, :jruby] # released August 13, 2015
16
+ gem "term-ansicolor", "~> 1.3.2", platforms: [:ruby_19, :jruby] # released June 23, 2015
17
+ gem "unparser", "0.2.4", platforms: [:ruby_19, :ruby_20, :jruby] # released May 30, 2015
18
+
19
+ gem "rake", "~> 11"
20
+ gem "reek", "~> 2.2.1", platforms: [:mri_20, :mri_21, :mri_22, :mri_23, :mri_24, :mri_25]
21
+ gem "roodi", "~> 5", platforms: [:mri_20, :mri_21, :mri_22, :mri_23, :mri_24, :mri_25]
22
+ gem "coveralls", platforms: [:mri_20, :mri_21, :mri_22, :mri_23, :mri_24, :mri_25]
@@ -0,0 +1,22 @@
1
+ source "http://rubygems.org"
2
+
3
+ gemspec :path => ".."
4
+
5
+ gem "mime-types", "< 2.0.0", platforms: [:ruby_18]
6
+
7
+ gem "activerecord", "~> 3.2.0"
8
+ gem "sqlite3", "~> 1.3", platforms: [:ruby]
9
+ gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.23", platforms: [:jruby]
10
+ gem "activerecord-mysql-adapter", platforms: [:ruby_19]
11
+ gem "activerecord-mysql2-adapter", platforms: [:ruby_20]
12
+ gem "activerecord-jdbcmysql-adapter", "~> 1.3.23", platforms: [:jruby]
13
+ gem "pg", platforms: [:ruby_18]
14
+ gem "activerecord-jdbcpostgresql-adapter", "~> 1.3.23", platforms: [:jruby]
15
+ gem "tins", "~> 1.6.0", platforms: [:ruby_19, :jruby] # released August 13, 2015
16
+ gem "term-ansicolor", "~> 1.3.2", platforms: [:ruby_19, :jruby] # released June 23, 2015
17
+ gem "unparser", "0.2.4", platforms: [:ruby_19, :ruby_20, :jruby] # released May 30, 2015
18
+
19
+ gem "rake", "~> 11"
20
+ gem "reek", "~> 2.2.1", platforms: [:mri_20, :mri_21, :mri_22, :mri_23, :mri_24, :mri_25]
21
+ gem "roodi", "~> 5", platforms: [:mri_20, :mri_21, :mri_22, :mri_23, :mri_24, :mri_25]
22
+ gem "coveralls", platforms: [:mri_20, :mri_21, :mri_22, :mri_23, :mri_24, :mri_25]
@@ -0,0 +1,16 @@
1
+ source "http://rubygems.org"
2
+
3
+ gemspec :path => ".."
4
+
5
+ gem "activerecord", "~> 4.0.0"
6
+ gem "sqlite3", "~> 1.3", platforms: [:ruby]
7
+ gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.23", platforms: [:jruby]
8
+ gem "activerecord-mysql2-adapter", platforms: [:ruby]
9
+ gem "activerecord-jdbcmysql-adapter", "~> 1.3.23", platforms: [:jruby]
10
+ gem "pg", platforms: [:ruby_18]
11
+ gem "activerecord-jdbcpostgresql-adapter", "~> 1.3.23", platforms: [:jruby]
12
+
13
+ gem "rake", "~> 11"
14
+ gem "reek", "~> 3", platforms: [:mri]
15
+ gem "roodi", "~> 5", platforms: [:mri]
16
+ gem "coveralls", platforms: [:mri_20, :mri_21, :mri_22, :mri_23, :mri_24, :mri_25]
@@ -0,0 +1,16 @@
1
+ source "http://rubygems.org"
2
+
3
+ gemspec :path => ".."
4
+
5
+ gem "activerecord", "~> 4.1.0"
6
+ gem "sqlite3", "~> 1.3", platforms: [:ruby]
7
+ gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.23", platforms: [:jruby]
8
+ gem "activerecord-mysql2-adapter", platforms: [:ruby]
9
+ gem "activerecord-jdbcmysql-adapter", "~> 1.3.23", platforms: [:jruby]
10
+ gem "pg", platforms: [:ruby_18]
11
+ gem "activerecord-jdbcpostgresql-adapter", "~> 1.3.23", platforms: [:jruby]
12
+
13
+ gem "rake", "~> 11"
14
+ gem "reek", "~> 3", platforms: [:mri]
15
+ gem "roodi", "~> 5", platforms: [:mri]
16
+ gem "coveralls", platforms: [:mri_20, :mri_21, :mri_22, :mri_23, :mri_24, :mri_25]
@@ -0,0 +1,16 @@
1
+ source "http://rubygems.org"
2
+
3
+ gemspec :path => ".."
4
+
5
+ gem "activerecord", "~> 4.2.0"
6
+ gem "sqlite3", "~> 1.3", platforms: [:ruby]
7
+ gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.23", platforms: [:jruby]
8
+ gem "activerecord-mysql2-adapter", platforms: [:ruby]
9
+ gem "activerecord-jdbcmysql-adapter", "~> 1.3.23", platforms: [:jruby]
10
+ gem "pg", platforms: [:ruby_18]
11
+ gem "activerecord-jdbcpostgresql-adapter", "~> 1.3.23", platforms: [:jruby]
12
+
13
+ gem "rake", "~> 11"
14
+ gem "reek", "~> 3", platforms: [:mri]
15
+ gem "roodi", "~> 5", platforms: [:mri]
16
+ gem "coveralls", platforms: [:mri_20, :mri_21, :mri_22, :mri_23, :mri_24, :mri_25]
@@ -0,0 +1,21 @@
1
+ source "http://rubygems.org"
2
+
3
+ gemspec :path => ".."
4
+
5
+ gem "activerecord", "~> 5.0.0"
6
+ gem "sqlite3", "~> 1.3", platforms: [:ruby]
7
+ gem "activerecord-mysql2-adapter", platforms: [:ruby]
8
+
9
+ platform :jruby do
10
+ gem 'jdbc-sqlite3', github: "jruby/activerecord-jdbc-adapter", branch: '50-stable'
11
+ gem 'jdbc-mysql', github: "jruby/activerecord-jdbc-adapter", branch: '50-stable'
12
+ gem 'jdbc-postgres', github: "jruby/activerecord-jdbc-adapter", branch: '50-stable'
13
+ gem 'activerecord-jdbc-adapter', github: "jruby/activerecord-jdbc-adapter", branch: '50-stable'
14
+ gem "activerecord-jdbcsqlite3-adapter", github: "jruby/activerecord-jdbc-adapter", branch: '50-stable'
15
+ gem "activerecord-jdbcmysql-adapter", github: "jruby/activerecord-jdbc-adapter", branch: '50-stable'
16
+ gem "activerecord-jdbcpostgresql-adapter", github: "jruby/activerecord-jdbc-adapter", branch: '50-stable'
17
+ end
18
+
19
+ gem "reek", "~> 3", platforms: [:mri]
20
+ gem "roodi", "~> 5", platforms: [:mri]
21
+ gem "coveralls", platforms: [:mri_20, :mri_21, :mri_22, :mri_23, :mri_24, :mri_25]
@@ -0,0 +1,21 @@
1
+ source "http://rubygems.org"
2
+
3
+ gemspec :path => ".."
4
+
5
+ gem "activerecord", "~> 5.1.0"
6
+ gem "sqlite3", "~> 1.3", platforms: [:ruby]
7
+ gem "activerecord-mysql2-adapter", platforms: [:ruby]
8
+
9
+ platform :jruby do
10
+ gem 'jdbc-sqlite3', github: "jruby/activerecord-jdbc-adapter", branch: '51-stable'
11
+ gem 'jdbc-mysql', github: "jruby/activerecord-jdbc-adapter", branch: '51-stable'
12
+ gem 'jdbc-postgres', github: "jruby/activerecord-jdbc-adapter", branch: '51-stable'
13
+ gem 'activerecord-jdbc-adapter', github: "jruby/activerecord-jdbc-adapter", branch: '51-stable'
14
+ gem "activerecord-jdbcsqlite3-adapter", github: "jruby/activerecord-jdbc-adapter", branch: '51-stable'
15
+ gem "activerecord-jdbcmysql-adapter", github: "jruby/activerecord-jdbc-adapter", branch: '51-stable'
16
+ gem "activerecord-jdbcpostgresql-adapter", github: "jruby/activerecord-jdbc-adapter", branch: '51-stable'
17
+ end
18
+
19
+ gem "reek", "~> 3", platforms: [:mri]
20
+ gem "roodi", "~> 5", platforms: [:mri]
21
+ gem "coveralls", platforms: [:mri_20, :mri_21, :mri_22, :mri_23, :mri_24, :mri_25]
@@ -0,0 +1,21 @@
1
+ source "http://rubygems.org"
2
+
3
+ gemspec :path => ".."
4
+
5
+ gem "activerecord", "~> 5.2.0"
6
+ gem "sqlite3", "~> 1.3", platforms: [:ruby]
7
+ gem "activerecord-mysql2-adapter", platforms: [:ruby]
8
+
9
+ platform :jruby do
10
+ gem 'jdbc-sqlite3', github: "jruby/activerecord-jdbc-adapter", branch: '52-stable'
11
+ gem 'jdbc-mysql', github: "jruby/activerecord-jdbc-adapter", branch: '52-stable'
12
+ gem 'jdbc-postgres', github: "jruby/activerecord-jdbc-adapter", branch: '52-stable'
13
+ gem 'activerecord-jdbc-adapter', github: "jruby/activerecord-jdbc-adapter", branch: '52-stable'
14
+ gem "activerecord-jdbcsqlite3-adapter", github: "jruby/activerecord-jdbc-adapter", branch: '52-stable'
15
+ gem "activerecord-jdbcmysql-adapter", github: "jruby/activerecord-jdbc-adapter", branch: '52-stable'
16
+ gem "activerecord-jdbcpostgresql-adapter", github: "jruby/activerecord-jdbc-adapter", branch: '52-stable'
17
+ end
18
+
19
+ gem "reek", "~> 3", platforms: [:mri]
20
+ gem "roodi", "~> 5", platforms: [:mri]
21
+ gem "coveralls", platforms: [:mri_20, :mri_21, :mri_22, :mri_23, :mri_24, :mri_25]
@@ -22,6 +22,14 @@ module FlagShihTzu
22
22
 
23
23
  module ClassMethods
24
24
  def has_flags(*args)
25
+ if ActiveRecord::VERSION::STRING >= "4.1."
26
+ begin
27
+ connection
28
+ rescue ActiveRecord::NoDatabaseError
29
+ return
30
+ end
31
+ end
32
+
25
33
  flag_hash, opts = parse_flag_options(*args)
26
34
  opts =
27
35
  {
@@ -1,3 +1,3 @@
1
1
  module FlagShihTzu
2
- VERSION = "0.3.20"
2
+ VERSION = "0.3.21"
3
3
  end
@@ -35,9 +35,13 @@ class Test::Unit::TestCase
35
35
  end
36
36
 
37
37
  # For code coverage, must be required before all application / gem / library code.
38
- unless ENV["NOCOVER"]
39
- require "coveralls"
40
- Coveralls.wear!
38
+ begin
39
+ unless ENV["NOCOVER"]
40
+ require "coveralls"
41
+ Coveralls.wear!
42
+ end
43
+ rescue LoadError
44
+ # Some builds do not support coveralls
41
45
  end
42
46
 
43
47
  require "flag_shih_tzu"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flag_shih_tzu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.20
4
+ version: 0.3.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2018-09-08 00:00:00.000000000 Z
15
+ date: 2018-09-09 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: activerecord
@@ -32,72 +32,72 @@ dependencies:
32
32
  name: bundler
33
33
  requirement: !ruby/object:Gem::Requirement
34
34
  requirements:
35
- - - ">="
35
+ - - "~>"
36
36
  - !ruby/object:Gem::Version
37
- version: '0'
37
+ version: '1'
38
38
  type: :development
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  requirements:
42
- - - ">="
42
+ - - "~>"
43
43
  - !ruby/object:Gem::Version
44
- version: '0'
44
+ version: '1'
45
45
  - !ruby/object:Gem::Dependency
46
46
  name: rake
47
47
  requirement: !ruby/object:Gem::Requirement
48
48
  requirements:
49
49
  - - ">="
50
50
  - !ruby/object:Gem::Version
51
- version: '0'
51
+ version: '0.9'
52
52
  type: :development
53
53
  prerelease: false
54
54
  version_requirements: !ruby/object:Gem::Requirement
55
55
  requirements:
56
56
  - - ">="
57
57
  - !ruby/object:Gem::Version
58
- version: '0'
58
+ version: '0.9'
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: rdoc
61
61
  requirement: !ruby/object:Gem::Requirement
62
62
  requirements:
63
- - - ">="
63
+ - - "~>"
64
64
  - !ruby/object:Gem::Version
65
- version: 2.4.2
65
+ version: '5.1'
66
66
  type: :development
67
67
  prerelease: false
68
68
  version_requirements: !ruby/object:Gem::Requirement
69
69
  requirements:
70
- - - ">="
70
+ - - "~>"
71
71
  - !ruby/object:Gem::Version
72
- version: 2.4.2
72
+ version: '5.1'
73
73
  - !ruby/object:Gem::Dependency
74
- name: coveralls
74
+ name: test-unit
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
- - - ">="
77
+ - - "~>"
78
78
  - !ruby/object:Gem::Version
79
- version: '0'
79
+ version: '3'
80
80
  type: :development
81
81
  prerelease: false
82
82
  version_requirements: !ruby/object:Gem::Requirement
83
83
  requirements:
84
- - - ">="
84
+ - - "~>"
85
85
  - !ruby/object:Gem::Version
86
- version: '0'
86
+ version: '3'
87
87
  - !ruby/object:Gem::Dependency
88
- name: test-unit
88
+ name: wwtd
89
89
  requirement: !ruby/object:Gem::Requirement
90
90
  requirements:
91
- - - ">="
91
+ - - "~>"
92
92
  - !ruby/object:Gem::Version
93
- version: '0'
93
+ version: '1'
94
94
  type: :development
95
95
  prerelease: false
96
96
  version_requirements: !ruby/object:Gem::Requirement
97
97
  requirements:
98
- - - ">="
98
+ - - "~>"
99
99
  - !ruby/object:Gem::Version
100
- version: '0'
100
+ version: '1'
101
101
  description: |
102
102
  Bit fields for ActiveRecord:
103
103
  This gem lets you use a single integer column in an ActiveRecord model
@@ -122,15 +122,16 @@ files:
122
122
  - Rakefile
123
123
  - bin/test.bash
124
124
  - flag_shih_tzu.gemspec
125
- - gemfiles/Gemfile.activerecord-2.3.x
126
- - gemfiles/Gemfile.activerecord-3.0.x
127
- - gemfiles/Gemfile.activerecord-3.1.x
128
- - gemfiles/Gemfile.activerecord-3.2.x
129
- - gemfiles/Gemfile.activerecord-4.0.x
130
- - gemfiles/Gemfile.activerecord-4.1.x
131
- - gemfiles/Gemfile.activerecord-4.2.x
132
- - gemfiles/Gemfile.activerecord-5.0.x
133
- - gemfiles/Gemfile.activerecord-5.1.x
125
+ - gemfiles/ar-2.3.x
126
+ - gemfiles/ar-3.0.x
127
+ - gemfiles/ar-3.1.x
128
+ - gemfiles/ar-3.2.x
129
+ - gemfiles/ar-4.0.x
130
+ - gemfiles/ar-4.1.x
131
+ - gemfiles/ar-4.2.x
132
+ - gemfiles/ar-5.0.x
133
+ - gemfiles/ar-5.1.x
134
+ - gemfiles/ar-5.2.x
134
135
  - lib/flag_shih_tzu.rb
135
136
  - lib/flag_shih_tzu/validators.rb
136
137
  - lib/flag_shih_tzu/version.rb
@@ -150,7 +151,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
150
151
  requirements:
151
152
  - - ">="
152
153
  - !ruby/object:Gem::Version
153
- version: '0'
154
+ version: 1.9.3
154
155
  required_rubygems_version: !ruby/object:Gem::Requirement
155
156
  requirements:
156
157
  - - ">="
@@ -1,21 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gemspec :path => ".."
4
-
5
- gem "mime-types", "< 2.0.0", :platforms => [:ruby_18]
6
-
7
- gem "activerecord", "~> 2.3.0"
8
- gem "sqlite3", "~> 1.3", :platforms => [:ruby]
9
- gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.23", :platforms => [:jruby]
10
- gem "mysql", :platforms => [:ruby_19]
11
- gem "activerecord-mysql2-adapter", :platforms => [:ruby_20]
12
- gem "activerecord-jdbcmysql-adapter", "~> 1.3.23", :platforms => [:jruby]
13
- gem "pg", :platforms => [:ruby_18]
14
- gem "activerecord-jdbcpostgresql-adapter", "~> 1.3.23", :platforms => [:jruby]
15
- gem "tins", "~> 1.6.0", :platforms => [:ruby_19, :jruby] # released August 13, 2015
16
- gem "term-ansicolor", "~> 1.3.2", :platforms => [:ruby_19, :jruby] # released June 23, 2015
17
- gem "unparser", "0.2.4", :platforms => [:ruby_19, :ruby_20, :jruby] # released May 30, 2015
18
-
19
- gem "rake", "~> 0.9.6"
20
- gem "reek", "~> 2.2.1", :platforms => [:ruby]
21
- gem "roodi", "~> 5.0.0", :platforms => [:ruby]
@@ -1,20 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gemspec :path => ".."
4
-
5
- gem "mime-types", "< 2.0.0", :platforms => [:ruby_18]
6
-
7
- gem "activerecord", "~> 3.0.0"
8
- gem "sqlite3", "~> 1.3", :platforms => [:ruby]
9
- gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.23", :platforms => [:jruby]
10
- gem "mysql", :platforms => [:ruby_19]
11
- gem "activerecord-mysql2-adapter", :platforms => [:ruby_20]
12
- gem "activerecord-jdbcmysql-adapter", "~> 1.3.23", :platforms => [:jruby]
13
- gem "pg", :platforms => [:ruby_18]
14
- gem "activerecord-jdbcpostgresql-adapter", "~> 1.3.23", :platforms => [:jruby]
15
- gem "tins", "~> 1.6.0", :platforms => [:ruby_19, :jruby] # released August 13, 2015
16
- gem "term-ansicolor", "~> 1.3.2", :platforms => [:ruby_19, :jruby] # released June 23, 2015
17
- gem "unparser", "0.2.4", :platforms => [:ruby_19, :ruby_20, :jruby] # released May 30, 2015
18
-
19
- gem "reek", "~> 2.2.1", :platforms => [:ruby]
20
- gem "roodi", "~> 5.0.0", :platforms => [:ruby]
@@ -1,20 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gemspec :path => ".."
4
-
5
- gem "mime-types", "< 2.0.0", :platforms => [:ruby_18]
6
-
7
- gem "activerecord", "~> 3.1.0"
8
- gem "sqlite3", "~> 1.3", :platforms => [:ruby]
9
- gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.23", :platforms => [:jruby]
10
- gem "mysql", :platforms => [:ruby_19]
11
- gem "activerecord-mysql2-adapter", :platforms => [:ruby_20]
12
- gem "activerecord-jdbcmysql-adapter", "~> 1.3.23", :platforms => [:jruby]
13
- gem "pg", :platforms => [:ruby_18]
14
- gem "activerecord-jdbcpostgresql-adapter", "~> 1.3.23", :platforms => [:jruby]
15
- gem "tins", "~> 1.6.0", :platforms => [:ruby_19, :jruby] # released August 13, 2015
16
- gem "term-ansicolor", "~> 1.3.2", :platforms => [:ruby_19, :jruby] # released June 23, 2015
17
- gem "unparser", "0.2.4", :platforms => [:ruby_19, :ruby_20, :jruby] # released May 30, 2015
18
-
19
- gem "reek", "~> 2.2.1", :platforms => [:ruby]
20
- gem "roodi", "~> 5.0.0", :platforms => [:ruby]
@@ -1,20 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gemspec :path => ".."
4
-
5
- gem "mime-types", "< 2.0.0", :platforms => [:ruby_18]
6
-
7
- gem "activerecord", "~> 3.2.0"
8
- gem "sqlite3", "~> 1.3", :platforms => [:ruby]
9
- gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.23", :platforms => [:jruby]
10
- gem "activerecord-mysql-adapter", :platforms => [:ruby_19]
11
- gem "activerecord-mysql2-adapter", :platforms => [:ruby_20]
12
- gem "activerecord-jdbcmysql-adapter", "~> 1.3.23", :platforms => [:jruby]
13
- gem "pg", :platforms => [:ruby_18]
14
- gem "activerecord-jdbcpostgresql-adapter", "~> 1.3.23", :platforms => [:jruby]
15
- gem "tins", "~> 1.6.0", :platforms => [:ruby_19, :jruby] # released August 13, 2015
16
- gem "term-ansicolor", "~> 1.3.2", :platforms => [:ruby_19, :jruby] # released June 23, 2015
17
- gem "unparser", "0.2.4", :platforms => [:ruby_19, :ruby_20, :jruby] # released May 30, 2015
18
-
19
- gem "reek", "~> 2.2.1", :platforms => [:ruby]
20
- gem "roodi", "~> 5.0.0", :platforms => [:ruby]
@@ -1,14 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gemspec :path => ".."
4
-
5
- gem "activerecord", "~> 4.0.0"
6
- gem "sqlite3", "~> 1.3", :platforms => [:ruby]
7
- gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.23", :platforms => [:jruby]
8
- gem "activerecord-mysql2-adapter", :platforms => [:ruby]
9
- gem "activerecord-jdbcmysql-adapter", "~> 1.3.23", :platforms => [:jruby]
10
- gem "pg", :platforms => [:ruby_18]
11
- gem "activerecord-jdbcpostgresql-adapter", "~> 1.3.23", :platforms => [:jruby]
12
-
13
- gem "reek", "~> 3.5.0", :platforms => [:ruby]
14
- gem "roodi", "~> 5.0.0", :platforms => [:ruby]
@@ -1,14 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gemspec :path => ".."
4
-
5
- gem "activerecord", "~> 4.1.0"
6
- gem "sqlite3", "~> 1.3", :platforms => [:ruby]
7
- gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.23", :platforms => [:jruby]
8
- gem "activerecord-mysql2-adapter", :platforms => [:ruby]
9
- gem "activerecord-jdbcmysql-adapter", "~> 1.3.23", :platforms => [:jruby]
10
- gem "pg", :platforms => [:ruby_18]
11
- gem "activerecord-jdbcpostgresql-adapter", "~> 1.3.23", :platforms => [:jruby]
12
-
13
- gem "reek", "~> 3.5.0", :platforms => [:ruby]
14
- gem "roodi", "~> 5.0.0", :platforms => [:ruby]
@@ -1,14 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gemspec :path => ".."
4
-
5
- gem "activerecord", "~> 4.2.0"
6
- gem "sqlite3", "~> 1.3", :platforms => [:ruby]
7
- gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.23", :platforms => [:jruby]
8
- gem "activerecord-mysql2-adapter", :platforms => [:ruby]
9
- gem "activerecord-jdbcmysql-adapter", "~> 1.3.23", :platforms => [:jruby]
10
- gem "pg", :platforms => [:ruby_18]
11
- gem "activerecord-jdbcpostgresql-adapter", "~> 1.3.23", :platforms => [:jruby]
12
-
13
- gem "reek", "~> 3.5.0", :platforms => [:ruby]
14
- gem "roodi", "~> 5.0.0", :platforms => [:ruby]
@@ -1,21 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gemspec :path => ".."
4
-
5
- gem "activerecord", "~> 5.0.0"
6
- gem "sqlite3", "~> 1.3", :platforms => [:ruby]
7
- gem "activerecord-mysql2-adapter", :platforms => [:ruby]
8
- gem "pg", :platforms => [:ruby_18]
9
-
10
- platform :jruby do
11
- gem 'jdbc-sqlite3', github: "jruby/activerecord-jdbc-adapter", branch: 'rails-5'
12
- gem 'jdbc-mysql', github: "jruby/activerecord-jdbc-adapter", branch: 'rails-5'
13
- gem 'jdbc-postgres', github: "jruby/activerecord-jdbc-adapter", branch: 'rails-5'
14
- gem 'activerecord-jdbc-adapter', github: "jruby/activerecord-jdbc-adapter", branch: 'rails-5'
15
- gem "activerecord-jdbcsqlite3-adapter", github: "jruby/activerecord-jdbc-adapter", branch: 'rails-5'
16
- gem "activerecord-jdbcmysql-adapter", github: "jruby/activerecord-jdbc-adapter", branch: 'rails-5'
17
- gem "activerecord-jdbcpostgresql-adapter", github: "jruby/activerecord-jdbc-adapter", branch: 'rails-5'
18
- end
19
-
20
- gem "reek", "~> 3.5.0", :platforms => [:ruby]
21
- gem "roodi", "~> 5.0.0", :platforms => [:ruby]
@@ -1,21 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gemspec :path => ".."
4
-
5
- gem "activerecord", "~> 5.1.0"
6
- gem "sqlite3", "~> 1.3", :platforms => [:ruby]
7
- gem "activerecord-mysql2-adapter", :platforms => [:ruby]
8
- gem "pg", :platforms => [:ruby_18]
9
-
10
- platform :jruby do
11
- gem 'jdbc-sqlite3', github: "jruby/activerecord-jdbc-adapter", branch: 'rails-5'
12
- gem 'jdbc-mysql', github: "jruby/activerecord-jdbc-adapter", branch: 'rails-5'
13
- gem 'jdbc-postgres', github: "jruby/activerecord-jdbc-adapter", branch: 'rails-5'
14
- gem 'activerecord-jdbc-adapter', github: "jruby/activerecord-jdbc-adapter", branch: 'rails-5'
15
- gem "activerecord-jdbcsqlite3-adapter", github: "jruby/activerecord-jdbc-adapter", branch: 'rails-5'
16
- gem "activerecord-jdbcmysql-adapter", github: "jruby/activerecord-jdbc-adapter", branch: 'rails-5'
17
- gem "activerecord-jdbcpostgresql-adapter", github: "jruby/activerecord-jdbc-adapter", branch: 'rails-5'
18
- end
19
-
20
- gem "reek", "~> 3.5.0", :platforms => [:ruby]
21
- gem "roodi", "~> 5.0.0", :platforms => [:ruby]