schema_dev 3.3.0 → 3.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 +4 -4
- data/lib/schema_dev/rspec/db.rb +3 -3
- data/lib/schema_dev/version.rb +1 -1
- data/templates/gem/spec/spec_helper.rb +1 -2
- data/templates/gemfiles/activerecord-4.2.0/Gemfile.base +3 -0
- data/templates/gemfiles/activerecord-4.2.0/Gemfile.mysql2 +10 -0
- data/templates/gemfiles/activerecord-4.2.0/Gemfile.postgresql +10 -0
- data/templates/gemfiles/activerecord-4.2.0/Gemfile.sqlite3 +10 -0
- data/templates/gemfiles/activerecord-4.2.1/Gemfile.base +3 -0
- data/templates/gemfiles/activerecord-4.2.1/Gemfile.mysql2 +10 -0
- data/templates/gemfiles/activerecord-4.2.1/Gemfile.postgresql +10 -0
- data/templates/gemfiles/activerecord-4.2.1/Gemfile.sqlite3 +10 -0
- metadata +10 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa2857bbbf9dae263468dc0e69a96c77fe7973b1
|
4
|
+
data.tar.gz: 6ff31df74bf6fa22c8d639cb1e3f561ce1977b49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ff3da8349a8abca82c3ae4f06a496b2549934e74eb35ef4de492762d53aa3ef9bc87290e3823a18e85927d096090267b9a0352d26fca53ec61cc9e18d9b41c0
|
7
|
+
data.tar.gz: 96b2e15bb59d878516c88e72f2317ae5bead8f4df6523ea5a4c0a8299b29b7c84fc74235395a4118a2ce1a8a36ef95f2b7d49e9dd9627521a783d485d750b361
|
data/lib/schema_dev/rspec/db.rb
CHANGED
@@ -80,9 +80,9 @@ module SchemaDev
|
|
80
80
|
end
|
81
81
|
|
82
82
|
def set_logger
|
83
|
-
ruby = "#{RUBY_ENGINE}
|
84
|
-
activerecord = "activerecord
|
85
|
-
ActiveRecord::Base.logger = Logger.new(logroot.join("#{ruby}
|
83
|
+
ruby = "#{RUBY_ENGINE}#{RUBY_VERSION}"
|
84
|
+
activerecord = "activerecord#{ActiveRecord.version}"
|
85
|
+
ActiveRecord::Base.logger = Logger.new(logroot.join("#{ruby}-#{activerecord}-#{@db}.log").open("w"))
|
86
86
|
end
|
87
87
|
|
88
88
|
module Helpers
|
data/lib/schema_dev/version.rb
CHANGED
@@ -18,5 +18,4 @@ RSpec.configure do |config|
|
|
18
18
|
config.warnings = true
|
19
19
|
end
|
20
20
|
|
21
|
-
SimpleCov.command_name "[ruby
|
22
|
-
|
21
|
+
SimpleCov.command_name "[ruby#{RUBY_VERSION}-activerecord#{::ActiveRecord.version}-#{ActiveRecord::Base.connection.adapter_name}]"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: schema_dev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ronen barzel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -278,6 +278,14 @@ files:
|
|
278
278
|
- templates/gemfiles/activerecord-4.1/Gemfile.mysql2
|
279
279
|
- templates/gemfiles/activerecord-4.1/Gemfile.postgresql
|
280
280
|
- templates/gemfiles/activerecord-4.1/Gemfile.sqlite3
|
281
|
+
- templates/gemfiles/activerecord-4.2.0/Gemfile.base
|
282
|
+
- templates/gemfiles/activerecord-4.2.0/Gemfile.mysql2
|
283
|
+
- templates/gemfiles/activerecord-4.2.0/Gemfile.postgresql
|
284
|
+
- templates/gemfiles/activerecord-4.2.0/Gemfile.sqlite3
|
285
|
+
- templates/gemfiles/activerecord-4.2.1/Gemfile.base
|
286
|
+
- templates/gemfiles/activerecord-4.2.1/Gemfile.mysql2
|
287
|
+
- templates/gemfiles/activerecord-4.2.1/Gemfile.postgresql
|
288
|
+
- templates/gemfiles/activerecord-4.2.1/Gemfile.sqlite3
|
281
289
|
- templates/gemfiles/activerecord-4.2/Gemfile.base
|
282
290
|
- templates/gemfiles/activerecord-4.2/Gemfile.mysql2
|
283
291
|
- templates/gemfiles/activerecord-4.2/Gemfile.postgresql
|