logidze 0.5.1 → 0.5.2

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: 228ca57ade662a402702a9f4de86b3a6cfffa19f
4
- data.tar.gz: 10847c58e74bc63611bec70c5a17a5c1fc9d6e87
3
+ metadata.gz: c7ac978c39954a679f81242ef85020969e2639f8
4
+ data.tar.gz: 1d7b280698b769ed44bda02c14249660ae67bfdd
5
5
  SHA512:
6
- metadata.gz: 29b418e5ce0ade9b3eee3397219ef77727165f9ebe112a4eb5f02061c9b3c3447e12c0ad5fb3af3eeba128c8e6cff508222fe7262e713ab5631fec6739005f32
7
- data.tar.gz: e528366f1ac5d3b76515ca40e2b1d19ae322e67cbcac4506f1729b5eb7002425109e6a5459e2701b6271b9eaeea74f2d42ceacdd97e69f2633d9e149923bd8b1
6
+ metadata.gz: 22adef27322f4a653d0bcb45230261c0380476f81c6f5f11fefe09fc438fd3f1ffd1a73b52f9517b8c1b63be31ebd9802a21d63bc10e18192176e126c6df97f7
7
+ data.tar.gz: 0770ac7a807ff2439c54ef1d780712ad503722d7ac3e556e9de46f2096644ea8db6270bec8d17844628edce5a5c59d4613433187835e9659cdcdee3f3cb04de4
data/.travis.yml CHANGED
@@ -19,11 +19,12 @@ before_script:
19
19
 
20
20
  matrix:
21
21
  include:
22
- - rvm: 2.3.1
22
+ - rvm: ruby-head
23
+ gemfile: gemfiles/railsmaster.gemfile
24
+ - rvm: 2.4.1
23
25
  gemfile: gemfiles/rails5.gemfile
24
26
  - rvm: 2.3.1
25
27
  gemfile: gemfiles/rails42.gemfile
26
- - rvm: 2.1.6
27
- gemfile: gemfiles/rails42.gemfile
28
- - rvm: 2.2.3
29
- gemfile: gemfiles/rails42.gemfile
28
+ allow_failures:
29
+ - rvm: ruby-head
30
+ gemfile: gemfiles/railsmaster.gemfile
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change log
2
2
 
3
+ ## 0.5.2 (2017-06-19)
4
+
5
+ - Use versioned migrations in Rails 5+. ([@palkan][])
6
+
3
7
  ## 0.5.1 (2017-06-15)
4
8
 
5
9
  - _(Fix)_ Drop *all* created functions upon rolling back (https://github.com/palkan/logidze/commit/b8e150cc18b3316a8cf0c78f7117339481fb49c6). ([@vassilevsky][])
data/Gemfile CHANGED
@@ -8,5 +8,5 @@ local_gemfile = "#{File.dirname(__FILE__)}/Gemfile.local"
8
8
  if File.exist?(local_gemfile)
9
9
  eval(File.read(local_gemfile)) # rubocop:disable Lint/Eval
10
10
  else
11
- gem 'activerecord', '~> 5.0.0'
11
+ gem 'activerecord', '~> 5.1.1'
12
12
  end
data/README.md CHANGED
@@ -11,8 +11,8 @@ Currently, only PostgreSQL 9.5+ is supported (for PostgreSQL 9.4 try [jsonbx](ht
11
11
  [Read the story behind Logidze](https://evilmartians.com/chronicles/introducing-logidze?utm_source=logidze)
12
12
 
13
13
  Other requirements:
14
- - Ruby ~> 2.1;
15
- - Rails >= 4.2 (Yes, Rails 5 is supported!).
14
+ - Ruby ~> 2.1
15
+ - Rails >= 4.2
16
16
 
17
17
  <a href="https://evilmartians.com/">
18
18
  <img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg" alt="Sponsored by Evil Martians" width="236" height="54"></a>
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'rails', '~> 5.0.0'
4
- gem 'rspec-rails', '~> 3.5.0'
3
+ gem 'rails', '~> 5.0'
4
+ gem 'rspec-rails', '~> 3.5'
5
5
 
6
6
  gemspec path: '..'
@@ -0,0 +1,7 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'arel', github: 'rails/arel'
4
+ gem 'rails', github: 'rails/rails'
5
+ gem 'rspec-rails', '>= 3.5'
6
+
7
+ gemspec path: '..'
@@ -1,4 +1,4 @@
1
- class <%= @migration_class_name %> < ActiveRecord::Migration
1
+ class <%= @migration_class_name %> < ActiveRecord::Migration<%= ActiveRecord::VERSION::MAJOR < 5 ? '' : '[5.0]' %>
2
2
  def change
3
3
  enable_extension :hstore
4
4
  end
@@ -1,4 +1,4 @@
1
- class <%= @migration_class_name %> < ActiveRecord::Migration
1
+ class <%= @migration_class_name %> < ActiveRecord::Migration<%= ActiveRecord::VERSION::MAJOR < 5 ? '' : '[5.0]' %>
2
2
  require 'logidze/migration'
3
3
  include Logidze::Migration
4
4
 
@@ -1,4 +1,4 @@
1
- class <%= @migration_class_name %> < ActiveRecord::Migration
1
+ class <%= @migration_class_name %> < ActiveRecord::Migration<%= ActiveRecord::VERSION::MAJOR < 5 ? '' : '[5.0]' %>
2
2
  require 'logidze/migration'
3
3
  include Logidze::Migration
4
4
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Logidze
3
- VERSION = "0.5.1"
3
+ VERSION = "0.5.2"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logidze
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - palkan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-15 00:00:00.000000000 Z
11
+ date: 2017-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -186,6 +186,7 @@ files:
186
186
  - circle.yml
187
187
  - gemfiles/rails42.gemfile
188
188
  - gemfiles/rails5.gemfile
189
+ - gemfiles/railsmaster.gemfile
189
190
  - lib/generators/logidze/install/USAGE
190
191
  - lib/generators/logidze/install/install_generator.rb
191
192
  - lib/generators/logidze/install/templates/hstore.rb.erb