outrigger 1.1.1 → 1.2.0

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
  SHA1:
3
- metadata.gz: ef7411dd7822dfa7e765a92c0a9fe7b73c7d5f04
4
- data.tar.gz: eeb8709989cb8a385d39d6de99d0dc6da38c6f65
3
+ metadata.gz: 435a3c4f6db22754410859738770dfaabe70ca07
4
+ data.tar.gz: 15d99599f7d6b9dfe0abc0ba42a1046bd2a8198b
5
5
  SHA512:
6
- metadata.gz: 5ce3434a5319add1e8e7859944dd1bf11a305645432a8e38349e295d36e3fe0e00c63453d552ac69f0c1b95e9b17fb6b401b6e8667edd678af9f4f753c79c00c
7
- data.tar.gz: 2e29a9b19047e23e9b55113fb3f7567b881443c657e45e0de292eaaf721ab379db4d2e679a94f56faee83301ef5220f8784010c8c3965fdf6767bb34e4f81a4a
6
+ metadata.gz: b1ae9f1fc59efb9b990fb714b157a5743620bf634d90973bb8faee05b49f1c0482d0c8c00ae14b11021c1d18cfdb1b09aac7185ce786a00442ff2cd1386afb51
7
+ data.tar.gz: 30db907746d0709f911de9d5e3af0f4f0a75c4a97cea098959233bb7badaafeefa8123c2c297f610bffb22b4a2da65a97e0cff0a47a36c101730056b7bc455ec
data/Rakefile CHANGED
@@ -1,19 +1,19 @@
1
- require "bundler/gem_tasks"
1
+ require 'bundler/gem_tasks'
2
2
 
3
3
  begin
4
- require "rspec/core/rake_task"
4
+ require 'rspec/core/rake_task'
5
5
 
6
6
  RSpec::Core::RakeTask.new(:spec)
7
7
 
8
8
  task(default: :spec)
9
- rescue LoadError
9
+ rescue LoadError # rubocop:disable Lint/HandleExceptions
10
10
  # no rspec available
11
11
  end
12
12
 
13
13
  task :console do
14
- require "irb"
15
- require "irb/completion"
16
- require "outrigger"
14
+ require 'irb'
15
+ require 'irb/completion'
16
+ require 'outrigger'
17
17
  ARGV.clear
18
18
  IRB.start
19
19
  end
@@ -4,9 +4,8 @@ module RuboCop
4
4
  class Tagged < Cop
5
5
  def on_class(node)
6
6
  _name, superclass, body = *node
7
- if superclass == s(:const, s(:const, nil, :ActiveRecord), :Migration)
8
- check(node, body) if body
9
- end
7
+ return unless body && superclass == s(:const, s(:const, nil, :ActiveRecord), :Migration)
8
+ check(node, body)
10
9
  end
11
10
 
12
11
  private
@@ -16,19 +15,26 @@ module RuboCop
16
15
  end
17
16
 
18
17
  def check(klass, node)
19
- tag_node = node.type == :begin && node.children.compact.find { |n| n.type == :send && n.to_a[1] == :tag }
18
+ tag = tag_node(node)
20
19
 
21
20
  if allowed_tags.empty?
22
- add_offense(tag_node, :expression, "No allowed tags have been defined in the RuboCop configuration.")
23
- elsif tag_node
24
- add_offense(tag_node, :expression, "Tags may only be one of #{allowed_tags}.") unless allowed_tags.include? tag_node.children.last.to_a.last
21
+ add_offense(tag, :expression, 'No allowed tags have been defined in the RuboCop configuration.')
22
+ elsif tag
23
+ return if allowed_tags.include? tag.children.last.to_a.last
24
+ add_offense(tag, :expression, "Tags may only be one of #{allowed_tags}.")
25
25
  else
26
26
  add_offense(klass, :expression, "All migrations require a tag from #{allowed_tags}.")
27
27
  end
28
28
  end
29
29
 
30
+ def tag_node(node)
31
+ node.type == :begin && node.children.compact.find do |n|
32
+ n.type == :send && n.to_a[1] == :tag
33
+ end
34
+ end
35
+
30
36
  def allowed_tags
31
- cop_config["AllowedTags"].map(&:to_sym)
37
+ cop_config['AllowedTags'].map(&:to_sym)
32
38
  end
33
39
  end
34
40
  end
@@ -1,15 +1,15 @@
1
- require "rails"
2
- require "rake"
1
+ require 'rails'
2
+ require 'rake'
3
3
 
4
4
  module Outrigger
5
5
  class Railtie < Rails::Railtie
6
6
  railtie_name :taggable_migrations
7
7
 
8
8
  rake_tasks do
9
- load "tasks/migrate.rake"
9
+ load 'tasks/migrate.rake'
10
10
  end
11
11
 
12
- initializer "extend_migrations" do
12
+ initializer 'extend_migrations' do
13
13
  ActiveSupport.on_load :active_record do
14
14
  ActiveRecord::Migration.send :include, Outrigger::Taggable
15
15
  ActiveRecord::MigrationProxy.send :include, Outrigger::TaggableProxy
@@ -2,10 +2,10 @@ module Outrigger
2
2
  module Taggable
3
3
  def self.included(base)
4
4
  base.extend(ClassMethods)
5
+ end
5
6
 
6
- def tags
7
- self.class.tags
8
- end
7
+ def tags
8
+ self.class.tags
9
9
  end
10
10
 
11
11
  module ClassMethods
@@ -1,3 +1,3 @@
1
1
  module Outrigger
2
- VERSION = "1.1.1"
2
+ VERSION = '1.2.0'.freeze
3
3
  end
data/lib/outrigger.rb CHANGED
@@ -1,9 +1,9 @@
1
- require "active_record" unless defined? ActiveRecord
1
+ require 'active_record' unless defined? ActiveRecord
2
2
 
3
- require "outrigger/taggable"
4
- require "outrigger/taggable_proxy"
3
+ require 'outrigger/taggable'
4
+ require 'outrigger/taggable_proxy'
5
5
 
6
- require "outrigger/railtie" if defined?(Rails)
6
+ require 'outrigger/railtie' if defined? Rails
7
7
 
8
8
  module Outrigger
9
9
  def self.filter(*tags)
@@ -1,7 +1,7 @@
1
1
  namespace :db do
2
2
  namespace :migrate do
3
- desc "Run migrations for a Tag"
4
- task :tagged => %i[environment load_config] do |_t, args|
3
+ desc 'Run migrations for a Tag'
4
+ task tagged: %i[environment load_config] do |_t, args|
5
5
  puts("Migrating Tags: #{args.extras}")
6
6
  ActiveRecord::Migrator.migrate(ActiveRecord::Migrator.migrations_paths, &Outrigger.filter(args.extras))
7
7
  end
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: '../../'
4
+
5
+ gem 'rails', '~> 4.2.6'
@@ -0,0 +1,162 @@
1
+ PATH
2
+ remote: ../..
3
+ specs:
4
+ outrigger (1.2.0)
5
+ activerecord (>= 4.2, < 5.2)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actionmailer (4.2.10)
11
+ actionpack (= 4.2.10)
12
+ actionview (= 4.2.10)
13
+ activejob (= 4.2.10)
14
+ mail (~> 2.5, >= 2.5.4)
15
+ rails-dom-testing (~> 1.0, >= 1.0.5)
16
+ actionpack (4.2.10)
17
+ actionview (= 4.2.10)
18
+ activesupport (= 4.2.10)
19
+ rack (~> 1.6)
20
+ rack-test (~> 0.6.2)
21
+ rails-dom-testing (~> 1.0, >= 1.0.5)
22
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
23
+ actionview (4.2.10)
24
+ activesupport (= 4.2.10)
25
+ builder (~> 3.1)
26
+ erubis (~> 2.7.0)
27
+ rails-dom-testing (~> 1.0, >= 1.0.5)
28
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
29
+ activejob (4.2.10)
30
+ activesupport (= 4.2.10)
31
+ globalid (>= 0.3.0)
32
+ activemodel (4.2.10)
33
+ activesupport (= 4.2.10)
34
+ builder (~> 3.1)
35
+ activerecord (4.2.10)
36
+ activemodel (= 4.2.10)
37
+ activesupport (= 4.2.10)
38
+ arel (~> 6.0)
39
+ activesupport (4.2.10)
40
+ i18n (~> 0.7)
41
+ minitest (~> 5.1)
42
+ thread_safe (~> 0.3, >= 0.3.4)
43
+ tzinfo (~> 1.1)
44
+ arel (6.0.4)
45
+ ast (2.3.0)
46
+ awesome_print (1.8.0)
47
+ builder (3.2.3)
48
+ coderay (1.1.2)
49
+ concurrent-ruby (1.0.5)
50
+ crass (1.0.2)
51
+ diff-lcs (1.3)
52
+ docile (1.1.5)
53
+ erubis (2.7.0)
54
+ globalid (0.4.0)
55
+ activesupport (>= 4.2.0)
56
+ i18n (0.8.6)
57
+ json (2.1.0)
58
+ loofah (2.1.1)
59
+ crass (~> 1.0.2)
60
+ nokogiri (>= 1.5.9)
61
+ mail (2.6.6)
62
+ mime-types (>= 1.16, < 4)
63
+ method_source (0.9.0)
64
+ mime-types (3.1)
65
+ mime-types-data (~> 3.2015)
66
+ mime-types-data (3.2016.0521)
67
+ mini_portile2 (2.3.0)
68
+ minitest (5.10.3)
69
+ nokogiri (1.8.1)
70
+ mini_portile2 (~> 2.3.0)
71
+ parallel (1.12.0)
72
+ parser (2.4.0.0)
73
+ ast (~> 2.2)
74
+ powerpack (0.1.1)
75
+ pry (0.11.1)
76
+ coderay (~> 1.1.0)
77
+ method_source (~> 0.9.0)
78
+ rack (1.6.8)
79
+ rack-test (0.6.3)
80
+ rack (>= 1.0)
81
+ rails (4.2.10)
82
+ actionmailer (= 4.2.10)
83
+ actionpack (= 4.2.10)
84
+ actionview (= 4.2.10)
85
+ activejob (= 4.2.10)
86
+ activemodel (= 4.2.10)
87
+ activerecord (= 4.2.10)
88
+ activesupport (= 4.2.10)
89
+ bundler (>= 1.3.0, < 2.0)
90
+ railties (= 4.2.10)
91
+ sprockets-rails
92
+ rails-deprecated_sanitizer (1.0.3)
93
+ activesupport (>= 4.2.0.alpha)
94
+ rails-dom-testing (1.0.8)
95
+ activesupport (>= 4.2.0.beta, < 5.0)
96
+ nokogiri (~> 1.6)
97
+ rails-deprecated_sanitizer (>= 1.0.1)
98
+ rails-html-sanitizer (1.0.3)
99
+ loofah (~> 2.0)
100
+ railties (4.2.10)
101
+ actionpack (= 4.2.10)
102
+ activesupport (= 4.2.10)
103
+ rake (>= 0.8.7)
104
+ thor (>= 0.18.1, < 2.0)
105
+ rainbow (2.2.2)
106
+ rake
107
+ rake (12.1.0)
108
+ rspec (3.6.0)
109
+ rspec-core (~> 3.6.0)
110
+ rspec-expectations (~> 3.6.0)
111
+ rspec-mocks (~> 3.6.0)
112
+ rspec-core (3.6.0)
113
+ rspec-support (~> 3.6.0)
114
+ rspec-expectations (3.6.0)
115
+ diff-lcs (>= 1.2.0, < 2.0)
116
+ rspec-support (~> 3.6.0)
117
+ rspec-mocks (3.6.0)
118
+ diff-lcs (>= 1.2.0, < 2.0)
119
+ rspec-support (~> 3.6.0)
120
+ rspec-support (3.6.0)
121
+ rubocop (0.50.0)
122
+ parallel (~> 1.10)
123
+ parser (>= 2.3.3.1, < 3.0)
124
+ powerpack (~> 0.1)
125
+ rainbow (>= 2.2.2, < 3.0)
126
+ ruby-progressbar (~> 1.7)
127
+ unicode-display_width (~> 1.0, >= 1.0.1)
128
+ ruby-progressbar (1.9.0)
129
+ simplecov (0.15.1)
130
+ docile (~> 1.1.0)
131
+ json (>= 1.8, < 3)
132
+ simplecov-html (~> 0.10.0)
133
+ simplecov-html (0.10.2)
134
+ sprockets (3.7.1)
135
+ concurrent-ruby (~> 1.0)
136
+ rack (> 1, < 3)
137
+ sprockets-rails (3.2.1)
138
+ actionpack (>= 4.0)
139
+ activesupport (>= 4.0)
140
+ sprockets (>= 3.0.0)
141
+ thor (0.20.0)
142
+ thread_safe (0.3.6)
143
+ tzinfo (1.2.3)
144
+ thread_safe (~> 0.1)
145
+ unicode-display_width (1.3.0)
146
+
147
+ PLATFORMS
148
+ ruby
149
+
150
+ DEPENDENCIES
151
+ awesome_print (~> 1.8)
152
+ bundler (~> 1.15)
153
+ outrigger!
154
+ pry (~> 0)
155
+ rails (~> 4.2.6)
156
+ rake (~> 12.0)
157
+ rspec (~> 3.6.0)
158
+ rubocop (~> 0.50.0)
159
+ simplecov (~> 0)
160
+
161
+ BUNDLED WITH
162
+ 1.15.3
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: '../../'
4
+
5
+ gem 'rails', '~> 5.0.0'
@@ -0,0 +1,161 @@
1
+ PATH
2
+ remote: ../..
3
+ specs:
4
+ outrigger (1.2.0)
5
+ activerecord (>= 4.2, < 5.2)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (5.0.6)
11
+ actionpack (= 5.0.6)
12
+ nio4r (>= 1.2, < 3.0)
13
+ websocket-driver (~> 0.6.1)
14
+ actionmailer (5.0.6)
15
+ actionpack (= 5.0.6)
16
+ actionview (= 5.0.6)
17
+ activejob (= 5.0.6)
18
+ mail (~> 2.5, >= 2.5.4)
19
+ rails-dom-testing (~> 2.0)
20
+ actionpack (5.0.6)
21
+ actionview (= 5.0.6)
22
+ activesupport (= 5.0.6)
23
+ rack (~> 2.0)
24
+ rack-test (~> 0.6.3)
25
+ rails-dom-testing (~> 2.0)
26
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
+ actionview (5.0.6)
28
+ activesupport (= 5.0.6)
29
+ builder (~> 3.1)
30
+ erubis (~> 2.7.0)
31
+ rails-dom-testing (~> 2.0)
32
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
+ activejob (5.0.6)
34
+ activesupport (= 5.0.6)
35
+ globalid (>= 0.3.6)
36
+ activemodel (5.0.6)
37
+ activesupport (= 5.0.6)
38
+ activerecord (5.0.6)
39
+ activemodel (= 5.0.6)
40
+ activesupport (= 5.0.6)
41
+ arel (~> 7.0)
42
+ activesupport (5.0.6)
43
+ concurrent-ruby (~> 1.0, >= 1.0.2)
44
+ i18n (~> 0.7)
45
+ minitest (~> 5.1)
46
+ tzinfo (~> 1.1)
47
+ arel (7.1.4)
48
+ ast (2.3.0)
49
+ builder (3.2.3)
50
+ concurrent-ruby (1.0.5)
51
+ crass (1.0.2)
52
+ diff-lcs (1.3)
53
+ docile (1.1.5)
54
+ erubis (2.7.0)
55
+ globalid (0.4.0)
56
+ activesupport (>= 4.2.0)
57
+ i18n (0.8.6)
58
+ json (2.1.0)
59
+ loofah (2.1.1)
60
+ crass (~> 1.0.2)
61
+ nokogiri (>= 1.5.9)
62
+ mail (2.6.6)
63
+ mime-types (>= 1.16, < 4)
64
+ method_source (0.9.0)
65
+ mime-types (3.1)
66
+ mime-types-data (~> 3.2015)
67
+ mime-types-data (3.2016.0521)
68
+ mini_portile2 (2.3.0)
69
+ minitest (5.10.3)
70
+ nio4r (2.1.0)
71
+ nokogiri (1.8.1)
72
+ mini_portile2 (~> 2.3.0)
73
+ parallel (1.12.0)
74
+ parser (2.4.0.0)
75
+ ast (~> 2.2)
76
+ powerpack (0.1.1)
77
+ rack (2.0.3)
78
+ rack-test (0.6.3)
79
+ rack (>= 1.0)
80
+ rails (5.0.6)
81
+ actioncable (= 5.0.6)
82
+ actionmailer (= 5.0.6)
83
+ actionpack (= 5.0.6)
84
+ actionview (= 5.0.6)
85
+ activejob (= 5.0.6)
86
+ activemodel (= 5.0.6)
87
+ activerecord (= 5.0.6)
88
+ activesupport (= 5.0.6)
89
+ bundler (>= 1.3.0)
90
+ railties (= 5.0.6)
91
+ sprockets-rails (>= 2.0.0)
92
+ rails-dom-testing (2.0.3)
93
+ activesupport (>= 4.2.0)
94
+ nokogiri (>= 1.6)
95
+ rails-html-sanitizer (1.0.3)
96
+ loofah (~> 2.0)
97
+ railties (5.0.6)
98
+ actionpack (= 5.0.6)
99
+ activesupport (= 5.0.6)
100
+ method_source
101
+ rake (>= 0.8.7)
102
+ thor (>= 0.18.1, < 2.0)
103
+ rainbow (2.2.2)
104
+ rake
105
+ rake (12.1.0)
106
+ rspec (3.6.0)
107
+ rspec-core (~> 3.6.0)
108
+ rspec-expectations (~> 3.6.0)
109
+ rspec-mocks (~> 3.6.0)
110
+ rspec-core (3.6.0)
111
+ rspec-support (~> 3.6.0)
112
+ rspec-expectations (3.6.0)
113
+ diff-lcs (>= 1.2.0, < 2.0)
114
+ rspec-support (~> 3.6.0)
115
+ rspec-mocks (3.6.0)
116
+ diff-lcs (>= 1.2.0, < 2.0)
117
+ rspec-support (~> 3.6.0)
118
+ rspec-support (3.6.0)
119
+ rubocop (0.50.0)
120
+ parallel (~> 1.10)
121
+ parser (>= 2.3.3.1, < 3.0)
122
+ powerpack (~> 0.1)
123
+ rainbow (>= 2.2.2, < 3.0)
124
+ ruby-progressbar (~> 1.7)
125
+ unicode-display_width (~> 1.0, >= 1.0.1)
126
+ ruby-progressbar (1.9.0)
127
+ simplecov (0.15.1)
128
+ docile (~> 1.1.0)
129
+ json (>= 1.8, < 3)
130
+ simplecov-html (~> 0.10.0)
131
+ simplecov-html (0.10.2)
132
+ sprockets (3.7.1)
133
+ concurrent-ruby (~> 1.0)
134
+ rack (> 1, < 3)
135
+ sprockets-rails (3.2.1)
136
+ actionpack (>= 4.0)
137
+ activesupport (>= 4.0)
138
+ sprockets (>= 3.0.0)
139
+ thor (0.20.0)
140
+ thread_safe (0.3.6)
141
+ tzinfo (1.2.3)
142
+ thread_safe (~> 0.1)
143
+ unicode-display_width (1.3.0)
144
+ websocket-driver (0.6.5)
145
+ websocket-extensions (>= 0.1.0)
146
+ websocket-extensions (0.1.2)
147
+
148
+ PLATFORMS
149
+ ruby
150
+
151
+ DEPENDENCIES
152
+ bundler (~> 1.15)
153
+ outrigger!
154
+ rails (~> 5.0.0)
155
+ rake (~> 12.0)
156
+ rspec (~> 3.6.0)
157
+ rubocop (~> 0.50.0)
158
+ simplecov (~> 0)
159
+
160
+ BUNDLED WITH
161
+ 1.15.3
@@ -1,7 +1,7 @@
1
- require "spec_helper"
1
+ require 'spec_helper'
2
2
 
3
3
  describe Outrigger do
4
- describe "filter" do
4
+ describe 'filter' do
5
5
  before do
6
6
  class PreDeployMigration < ActiveRecord::Migration
7
7
  tag :predeploy
@@ -15,13 +15,13 @@ describe Outrigger do
15
15
  end
16
16
  end
17
17
 
18
- it "should return a proc that tests migrations" do
18
+ it 'should return a proc that tests migrations' do
19
19
  filter = Outrigger.filter(:predeploy)
20
20
 
21
21
  expect(filter.call(PreDeployMigration)).to eq(true)
22
22
  end
23
23
 
24
- it "should accept multiple tags" do
24
+ it 'should accept multiple tags' do
25
25
  filter = Outrigger.filter(:predeploy, :dynamo)
26
26
 
27
27
  expect(filter.call(MultiMigration)).to eq(true)
@@ -1,4 +1,4 @@
1
- require "spec_helper"
1
+ require 'spec_helper'
2
2
 
3
3
  class TestProxy
4
4
  include Outrigger::TaggableProxy
@@ -12,7 +12,7 @@ describe Outrigger::TaggableProxy do
12
12
  end
13
13
  end
14
14
 
15
- it "it should delegate tags to the migration" do
15
+ it 'it should delegate tags to the migration' do
16
16
  proxy = TestProxy.new
17
17
  proxy.migration = PreDeployMigration.new
18
18
 
@@ -1,4 +1,4 @@
1
- require "spec_helper"
1
+ require 'spec_helper'
2
2
 
3
3
  module ActiveRecord
4
4
  class Migration
@@ -20,19 +20,19 @@ describe Outrigger::Taggable do
20
20
  end
21
21
  end
22
22
 
23
- it "PreDeployMigration should be predeploy" do
23
+ it 'PreDeployMigration should be predeploy' do
24
24
  expect(PreDeployMigration.tags).to eq([:predeploy])
25
25
  end
26
26
 
27
- it "UntaggedMigration should be have no tags" do
27
+ it 'UntaggedMigration should be have no tags' do
28
28
  expect(UntaggedMigration.tags).to eq([])
29
29
  end
30
30
 
31
- it "PostDeployMigration should be predeploy" do
31
+ it 'PostDeployMigration should be predeploy' do
32
32
  expect(PostDeployMigration.tags).to eq([:postdeploy])
33
33
  end
34
34
 
35
- it "instance tags should point to class tags" do
35
+ it 'instance tags should point to class tags' do
36
36
  expect(PreDeployMigration.new.tags).to eq([:predeploy])
37
37
  end
38
38
  end
data/spec/spec_helper.rb CHANGED
@@ -1,20 +1,14 @@
1
- # This file was generated by the `rspec --init` command. Conventionally, all
2
- # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
- # Require this file using `require "spec_helper"` to ensure that it is only
4
- # loaded once.
5
- #
6
- # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
7
- require "active_record"
8
- require "outrigger"
1
+ require 'simplecov'
2
+ SimpleCov.start do
3
+ add_filter 'lib/outrigger/version.rb'
4
+ add_filter 'spec'
5
+ track_files 'lib/**/*.rb'
6
+ end
7
+ SimpleCov.minimum_coverage(30) # TODO: add better coverage
9
8
 
10
- RSpec.configure do |config|
11
- config.treat_symbols_as_metadata_keys_with_true_values = true
12
- config.run_all_when_everything_filtered = true
13
- config.filter_run :focus
9
+ require 'bundler/setup'
10
+ require 'outrigger'
14
11
 
15
- # Run specs in random order to surface order dependencies. If you find an
16
- # order dependency and want to debug it, you can fix the order by providing
17
- # the seed, which is printed after each run.
18
- # --seed 1234
19
- config.order = "random"
12
+ RSpec.configure do |config|
13
+ config.order = 'random'
20
14
  end
metadata CHANGED
@@ -1,71 +1,105 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: outrigger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Drew Bowman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-31 00:00:00.000000000 Z
11
+ date: 2017-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '4.2'
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: '4.1'
22
+ version: '5.2'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '4.2'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '4.1'
32
+ version: '5.2'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: bundler
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: '1.5'
39
+ version: '1.15'
34
40
  type: :development
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
44
  - - "~>"
39
45
  - !ruby/object:Gem::Version
40
- version: '1.5'
46
+ version: '1.15'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: rake
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: '10.2'
53
+ version: '12.0'
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: '10.2'
60
+ version: '12.0'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: rspec
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
- - - '='
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: 3.6.0
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: 3.6.0
75
+ - !ruby/object:Gem::Dependency
76
+ name: rubocop
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
60
80
  - !ruby/object:Gem::Version
61
- version: 2.14.1
81
+ version: 0.50.0
62
82
  type: :development
63
83
  prerelease: false
64
84
  version_requirements: !ruby/object:Gem::Requirement
65
85
  requirements:
66
- - - '='
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: 0.50.0
89
+ - !ruby/object:Gem::Dependency
90
+ name: simplecov
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
67
94
  - !ruby/object:Gem::Version
68
- version: 2.14.1
95
+ version: '0'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
69
103
  description: Migrations
70
104
  email:
71
105
  executables: []
@@ -80,6 +114,10 @@ files:
80
114
  - lib/outrigger/taggable_proxy.rb
81
115
  - lib/outrigger/version.rb
82
116
  - lib/tasks/migrate.rake
117
+ - spec/gemfiles/rails-4.2.gemfile
118
+ - spec/gemfiles/rails-4.2.gemfile.lock
119
+ - spec/gemfiles/rails-5.0.gemfile
120
+ - spec/gemfiles/rails-5.0.gemfile.lock
83
121
  - spec/outrigger/outrigger_spec.rb
84
122
  - spec/outrigger/taggable_proxy_spec.rb
85
123
  - spec/outrigger/taggable_spec.rb
@@ -94,9 +132,9 @@ require_paths:
94
132
  - lib
95
133
  required_ruby_version: !ruby/object:Gem::Requirement
96
134
  requirements:
97
- - - ">="
135
+ - - "~>"
98
136
  - !ruby/object:Gem::Version
99
- version: '0'
137
+ version: '2.3'
100
138
  required_rubygems_version: !ruby/object:Gem::Requirement
101
139
  requirements:
102
140
  - - ">="
@@ -104,11 +142,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
142
  version: '0'
105
143
  requirements: []
106
144
  rubyforge_project:
107
- rubygems_version: 2.5.1
145
+ rubygems_version: 2.6.11
108
146
  signing_key:
109
147
  specification_version: 4
110
148
  summary: Tag migrations and run them separately
111
149
  test_files:
150
+ - spec/gemfiles/rails-4.2.gemfile
151
+ - spec/gemfiles/rails-4.2.gemfile.lock
152
+ - spec/gemfiles/rails-5.0.gemfile
153
+ - spec/gemfiles/rails-5.0.gemfile.lock
112
154
  - spec/outrigger/outrigger_spec.rb
113
155
  - spec/outrigger/taggable_proxy_spec.rb
114
156
  - spec/outrigger/taggable_spec.rb