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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b4d5a663f5691300c90d5213c9b8bc564133350f
4
- data.tar.gz: 2091fab41a090df7bb1fd1f0cfd953693033aabf
3
+ metadata.gz: fa2857bbbf9dae263468dc0e69a96c77fe7973b1
4
+ data.tar.gz: 6ff31df74bf6fa22c8d639cb1e3f561ce1977b49
5
5
  SHA512:
6
- metadata.gz: 28ab5ed7483679804d5509c9ad180316ae06a86c3cc1e5c40865e4083e333a5200698ddcafe33d9c0356bbede5962f785d1540dc720070d83aa518fe6c8cf303
7
- data.tar.gz: c5d89c6acacf9b124b976c268a1ec1baa1f5aad3b5513f5948453aeb327a4d6028bf8d362908c57b565bce534f79981f592f0492ab025f81b1b65c64a65a5d56
6
+ metadata.gz: 3ff3da8349a8abca82c3ae4f06a496b2549934e74eb35ef4de492762d53aa3ef9bc87290e3823a18e85927d096090267b9a0352d26fca53ec61cc9e18d9b41c0
7
+ data.tar.gz: 96b2e15bb59d878516c88e72f2317ae5bead8f4df6523ea5a4c0a8299b29b7c84fc74235395a4118a2ce1a8a36ef95f2b7d49e9dd9627521a783d485d750b361
@@ -80,9 +80,9 @@ module SchemaDev
80
80
  end
81
81
 
82
82
  def set_logger
83
- ruby = "#{RUBY_ENGINE}-#{RUBY_VERSION}"
84
- activerecord = "activerecord-#{ActiveRecord::VERSION::MAJOR}.#{ActiveRecord::VERSION::MINOR}"
85
- ActiveRecord::Base.logger = Logger.new(logroot.join("#{ruby}.#{activerecord}.#{@db}.log").open("w"))
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
@@ -1,3 +1,3 @@
1
1
  module SchemaDev
2
- VERSION = "3.3.0"
2
+ VERSION = "3.4.0"
3
3
  end
@@ -18,5 +18,4 @@ RSpec.configure do |config|
18
18
  config.warnings = true
19
19
  end
20
20
 
21
- SimpleCov.command_name "[ruby #{RUBY_VERSION} - ActiveRecord #{::ActiveRecord::VERSION::STRING} - #{ActiveRecord::Base.connection.adapter_name}]"
22
-
21
+ SimpleCov.command_name "[ruby#{RUBY_VERSION}-activerecord#{::ActiveRecord.version}-#{ActiveRecord::Base.connection.adapter_name}]"
@@ -0,0 +1,3 @@
1
+ eval File.read File.expand_path('../../Gemfile.base', __FILE__)
2
+
3
+ gem "activerecord", "4.2.0"
@@ -0,0 +1,10 @@
1
+ require "pathname"
2
+ eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
3
+
4
+ platform :ruby do
5
+ gem "mysql2"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcmysql-adapter'
10
+ end
@@ -0,0 +1,10 @@
1
+ require "pathname"
2
+ eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
3
+
4
+ platform :ruby do
5
+ gem "pg"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcpostgresql-adapter'
10
+ end
@@ -0,0 +1,10 @@
1
+ require "pathname"
2
+ eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
3
+
4
+ platform :ruby do
5
+ gem "sqlite3"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcsqlite3-adapter', '>=1.3.0.beta2'
10
+ end
@@ -0,0 +1,3 @@
1
+ eval File.read File.expand_path('../../Gemfile.base', __FILE__)
2
+
3
+ gem "activerecord", "4.2.1"
@@ -0,0 +1,10 @@
1
+ require "pathname"
2
+ eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
3
+
4
+ platform :ruby do
5
+ gem "mysql2"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcmysql-adapter'
10
+ end
@@ -0,0 +1,10 @@
1
+ require "pathname"
2
+ eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
3
+
4
+ platform :ruby do
5
+ gem "pg"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcpostgresql-adapter'
10
+ end
@@ -0,0 +1,10 @@
1
+ require "pathname"
2
+ eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
3
+
4
+ platform :ruby do
5
+ gem "sqlite3"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcsqlite3-adapter', '>=1.3.0.beta2'
10
+ end
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.3.0
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-02-27 00:00:00.000000000 Z
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