flag_shih_tzu 0.3.13 → 0.3.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,13 +8,19 @@ ActiveRecord::Migration.verbose = false
8
8
 
9
9
  configs = YAML.load_file(File.dirname(__FILE__) + "/database.yml")
10
10
  if RUBY_PLATFORM == "java"
11
- configs['sqlite']['adapter'] = 'jdbcsqlite3'
12
- configs['mysql']['adapter'] = 'jdbcmysql'
13
- configs['postgresql']['adapter'] = 'jdbcpostgresql'
11
+ configs["sqlite"]["adapter"] = "jdbcsqlite3"
12
+ configs["mysql"]["adapter"] = "jdbcmysql"
13
+ configs["postgresql"]["adapter"] = "jdbcpostgresql"
14
14
  end
15
15
  ActiveRecord::Base.configurations = configs
16
16
 
17
- db_name = ENV["DB"] || "sqlite"
17
+ # Run specific adapter tests like:
18
+ #
19
+ # DB=sqlite rake test:all
20
+ # DB=mysql rake test:all
21
+ # DB=postgresql rake test:all
22
+ #
23
+ db_name = (ENV["DB"] || "sqlite").to_sym
18
24
  ActiveRecord::Base.establish_connection(db_name)
19
25
 
20
26
  load(File.dirname(__FILE__) + "/schema.rb")
@@ -29,8 +35,8 @@ class Test::Unit::TestCase
29
35
  end
30
36
 
31
37
  # For code coverage, must be required before all application / gem / library code.
32
- unless ENV['NOCOVER']
33
- require 'coveralls'
38
+ unless ENV["NOCOVER"]
39
+ require "coveralls"
34
40
  Coveralls.wear!
35
41
  end
36
42
 
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.13
4
+ version: 0.3.14
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: 2015-03-14 00:00:00.000000000 Z
15
+ date: 2015-10-08 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: activerecord
@@ -43,61 +43,61 @@ dependencies:
43
43
  - !ruby/object:Gem::Version
44
44
  version: '0'
45
45
  - !ruby/object:Gem::Dependency
46
- name: rdoc
46
+ name: rake
47
47
  requirement: !ruby/object:Gem::Requirement
48
48
  requirements:
49
49
  - - ">="
50
50
  - !ruby/object:Gem::Version
51
- version: 2.4.2
51
+ version: '0'
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: 2.4.2
58
+ version: '0'
59
59
  - !ruby/object:Gem::Dependency
60
- name: reek
60
+ name: rdoc
61
61
  requirement: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: 1.2.8
65
+ version: 2.4.2
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: 1.2.8
72
+ version: 2.4.2
73
73
  - !ruby/object:Gem::Dependency
74
- name: roodi
74
+ name: reek
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: 2.1.0
79
+ version: 2.2.1
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: 2.1.0
86
+ version: 2.2.1
87
87
  - !ruby/object:Gem::Dependency
88
- name: rake
88
+ name: roodi
89
89
  requirement: !ruby/object:Gem::Requirement
90
90
  requirements:
91
91
  - - ">="
92
92
  - !ruby/object:Gem::Version
93
- version: '0'
93
+ version: '5'
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: '5'
101
101
  - !ruby/object:Gem::Dependency
102
102
  name: coveralls
103
103
  requirement: !ruby/object:Gem::Requirement
@@ -113,7 +113,7 @@ dependencies:
113
113
  - !ruby/object:Gem::Version
114
114
  version: '0'
115
115
  - !ruby/object:Gem::Dependency
116
- name: sqlite3
116
+ name: test-unit
117
117
  requirement: !ruby/object:Gem::Requirement
118
118
  requirements:
119
119
  - - ">="
@@ -156,6 +156,7 @@ files:
156
156
  - gemfiles/Gemfile.activerecord-3.2.x
157
157
  - gemfiles/Gemfile.activerecord-4.0.x
158
158
  - gemfiles/Gemfile.activerecord-4.1.x
159
+ - gemfiles/Gemfile.activerecord-4.2.x
159
160
  - lib/flag_shih_tzu.rb
160
161
  - lib/flag_shih_tzu/validators.rb
161
162
  - lib/flag_shih_tzu/version.rb
@@ -183,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
184
  version: '0'
184
185
  requirements: []
185
186
  rubyforge_project:
186
- rubygems_version: 2.4.2
187
+ rubygems_version: 2.4.8
187
188
  signing_key:
188
189
  specification_version: 4
189
190
  summary: Bit fields for ActiveRecord
@@ -192,4 +193,3 @@ test_files:
192
193
  - test/flag_shih_tzu_test.rb
193
194
  - test/schema.rb
194
195
  - test/test_helper.rb
195
- has_rdoc: