drafting 0.4.0 → 0.4.1

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: 51d1c3d502674eec9428f13ab49b4bb409d167a29fa7b2394d201122c5f52d3b
4
- data.tar.gz: 9484a9e2dd0a4105323d892f0df8c5a29e324cb54503e3bd9bd36f5b5c604db1
3
+ metadata.gz: 15405a5b1c1bf70280b076271a8a9cf9d4b0743d5a856cffe0a93fbd02236d90
4
+ data.tar.gz: f9b1ab4cb8ba3ce8865dc89cc69338aee19759dd24577907f7a831e650ac0456
5
5
  SHA512:
6
- metadata.gz: 1ca6ad79074647ff654c65c32df1ae9e78e003e0cf477c43c2b91c6c3a03d9936160fec32953b4c26d5ce0234a1568149bf8d990f396c82f2bf21a876086b183
7
- data.tar.gz: 8b59432d40b880c1ee74666f2e4c9be2cdd5b642323ad257fa9f3cb2fd189c67c2792a5ec9412d8eda00a6301faab2a2d04b6f1d662dfe9f8458b2c60e199f0d
6
+ metadata.gz: d6764cd80d6bc137dda35751e95910a5c570eb2e4f32d0a2c4fbbeb4c0c6969e2a9cbc12017c435f4fc920ca9efab840eac4bb7181e60e9e23781b9894e4c0ea
7
+ data.tar.gz: 7d79bf3dd9b2657bf2229b31e637e178cfcd047ca689430c950f01ea96923790a712989fc27b4f427875d6eddde9d684fd62c1c8f485703f26720b622f229d54
@@ -2,16 +2,22 @@ language: ruby
2
2
  rvm:
3
3
  - 2.0.0
4
4
  - 2.1.10
5
- - 2.2.8
6
- - 2.3.5
7
- - 2.4.2
5
+ - 2.2.9
6
+ - 2.3.6
7
+ - 2.4.4
8
+ - 2.5.1
8
9
  gemfile:
10
+ - gemfiles/rails_5_2.gemfile
9
11
  - gemfiles/rails_5_1.gemfile
10
12
  - gemfiles/rails_5_0.gemfile
11
13
  - gemfiles/rails_4_2.gemfile
12
14
  - gemfiles/rails_4_1.gemfile
13
15
  matrix:
14
16
  exclude:
17
+ - rvm: 2.0.0
18
+ gemfile: gemfiles/rails_5_2.gemfile
19
+ - rvm: 2.1.10
20
+ gemfile: gemfiles/rails_5_2.gemfile
15
21
  - rvm: 2.0.0
16
22
  gemfile: gemfiles/rails_5_1.gemfile
17
23
  - rvm: 2.1.10
@@ -20,7 +26,9 @@ matrix:
20
26
  gemfile: gemfiles/rails_5_0.gemfile
21
27
  - rvm: 2.1.10
22
28
  gemfile: gemfiles/rails_5_0.gemfile
23
- - rvm: 2.4.2
29
+ - rvm: 2.4.4
30
+ gemfile: gemfiles/rails_4_1.gemfile
31
+ - rvm: 2.5.1
24
32
  gemfile: gemfiles/rails_4_1.gemfile
25
33
  before_install: gem update bundler
26
34
  sudo: false
data/Appraisals CHANGED
@@ -1,13 +1,17 @@
1
+ appraise "rails-5-2" do
2
+ gem "activerecord", "~> 5.2.0"
3
+ end
4
+
1
5
  appraise "rails-5-1" do
2
- gem "activerecord", "~> 5.1.0"
6
+ gem "activerecord", "~> 5.1.4"
3
7
  end
4
8
 
5
9
  appraise "rails-5-0" do
6
- gem "activerecord", "~> 5.0.2"
10
+ gem "activerecord", "~> 5.0.6"
7
11
  end
8
12
 
9
13
  appraise "rails-4-2" do
10
- gem "activerecord", "~> 4.2.8"
14
+ gem "activerecord", "~> 4.2.9"
11
15
  end
12
16
 
13
17
  appraise "rails-4-1" do
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2016-2017 Georg Ledermann
3
+ Copyright (c) 2016-2018 Georg Ledermann
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -19,7 +19,7 @@ This Ruby gem enhances `ActiveRecord::Base` to save a draft version of the curre
19
19
  ## Requirements
20
20
 
21
21
  * Ruby 2.0.0 or newer
22
- * ActiveRecord 4.1 or newer (including 5.x)
22
+ * ActiveRecord 4.1 or newer (including 5.1 and 5.2)
23
23
 
24
24
 
25
25
  ## Installation
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 5.2.0"
6
+
7
+ gemspec path: "../"
@@ -1,3 +1,3 @@
1
1
  module Drafting
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
@@ -9,7 +9,7 @@ module Drafting
9
9
  source_root File.expand_path('../templates', __FILE__)
10
10
 
11
11
  def create_migration_file
12
- migration_template 'migration.rb', 'db/migrate/drafting_migration'
12
+ migration_template 'migration.rb', 'db/migrate/drafting_migration.rb'
13
13
  end
14
14
 
15
15
  def self.next_migration_number(dirname)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drafting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Georg Ledermann
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-14 00:00:00.000000000 Z
11
+ date: 2018-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -159,6 +159,7 @@ files:
159
159
  - gemfiles/rails_4_2.gemfile
160
160
  - gemfiles/rails_5_0.gemfile
161
161
  - gemfiles/rails_5_1.gemfile
162
+ - gemfiles/rails_5_2.gemfile
162
163
  - lib/drafting.rb
163
164
  - lib/drafting/base_class_methods.rb
164
165
  - lib/drafting/class_methods.rb
@@ -187,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
187
188
  version: '0'
188
189
  requirements: []
189
190
  rubyforge_project:
190
- rubygems_version: 2.7.2
191
+ rubygems_version: 2.7.6
191
192
  signing_key:
192
193
  specification_version: 4
193
194
  summary: Save draft version of any ActiveRecord object