outrigger 1.2.2 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/outrigger/cops/migration/tagged.rb +13 -7
- data/lib/outrigger/version.rb +1 -1
- data/lib/tasks/outrigger.rake +5 -1
- data/spec/gemfiles/rails-5.0.gemfile +1 -1
- data/spec/gemfiles/{rails-4.2.gemfile → rails-5.1.gemfile} +1 -1
- data/spec/gemfiles/rails-5.2.gemfile +5 -0
- data/spec/gemfiles/rails-6.0.gemfile +5 -0
- data/spec/gemfiles/rails-6.1.gemfile +5 -0
- data/spec/outrigger/cops/migration/tagged_spec.rb +20 -72
- data/spec/outrigger/outrigger_spec.rb +1 -14
- data/spec/outrigger/taggable_proxy_spec.rb +0 -6
- data/spec/outrigger/taggable_spec.rb +0 -19
- data/spec/spec_helper.rb +19 -1
- metadata +49 -34
- data/spec/gemfiles/rails-4.2.gemfile.lock +0 -162
- data/spec/gemfiles/rails-5.0.gemfile.lock +0 -161
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 855ecd62fb346fb6e0ee6dcebc3fa2812132a6a71473544835453c6eb9851d6f
|
4
|
+
data.tar.gz: 40c0f0f3ce60783d2fcc8612090f369a8ca66e0174cc38d4c83a299eaaee57af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9dd84dc5f5eda731e476375b772a8250ec7fdf27319a73ffc6538c8a57de78d2b842a545bffde5135d2369c17aa33ee764602dc8f4d3785e1764ca791734e29
|
7
|
+
data.tar.gz: 239d9517aefd40f773a71887ba83885ac82ad1f62d5e9ec7c693d48fcce107ba41fddb6a3d0a7e7904b3a36b7b4bcec24f5945d686a1781609c80fdb55c60777
|
@@ -13,14 +13,14 @@ module RuboCop
|
|
13
13
|
def_node_matcher :migration_class?, <<~PATTERN
|
14
14
|
{
|
15
15
|
(class
|
16
|
-
(const nil _)
|
16
|
+
(const nil? _)
|
17
17
|
(const
|
18
|
-
(const nil :ActiveRecord) :Migration) ...)
|
18
|
+
(const nil? :ActiveRecord) :Migration) ...)
|
19
19
|
(class
|
20
|
-
(const nil _)
|
20
|
+
(const nil? _)
|
21
21
|
(send
|
22
22
|
(const
|
23
|
-
(const nil :ActiveRecord) :Migration) :[] _) ...)
|
23
|
+
(const nil? :ActiveRecord) :Migration) :[] _) ...)
|
24
24
|
}
|
25
25
|
PATTERN
|
26
26
|
|
@@ -28,12 +28,18 @@ module RuboCop
|
|
28
28
|
tag = tag_node(node)
|
29
29
|
|
30
30
|
if allowed_tags.empty?
|
31
|
-
add_offense
|
31
|
+
add_offense tag,
|
32
|
+
location: :expression,
|
33
|
+
message: 'No allowed tags have been defined in the RuboCop configuration.'
|
32
34
|
elsif tag
|
33
35
|
return if allowed_tags.include? tag.children.last.to_a.last
|
34
|
-
add_offense
|
36
|
+
add_offense tag,
|
37
|
+
location: :expression,
|
38
|
+
message: "Tags may only be one of #{allowed_tags}."
|
35
39
|
else
|
36
|
-
add_offense
|
40
|
+
add_offense klass,
|
41
|
+
location: :expression,
|
42
|
+
message: "All migrations require a tag from #{allowed_tags}."
|
37
43
|
end
|
38
44
|
end
|
39
45
|
|
data/lib/outrigger/version.rb
CHANGED
data/lib/tasks/outrigger.rake
CHANGED
@@ -3,7 +3,11 @@ namespace :db do
|
|
3
3
|
desc 'Run migrations for a Tag'
|
4
4
|
task tagged: %i[environment load_config] do |_t, args|
|
5
5
|
puts("Migrating Tags: #{args.extras}")
|
6
|
-
ActiveRecord::
|
6
|
+
if ActiveRecord.gem_version >= Gem::Version.new('5.2.0')
|
7
|
+
ActiveRecord::Base.connection.migration_context.migrate(nil, &Outrigger.filter(args.extras))
|
8
|
+
else
|
9
|
+
ActiveRecord::Migrator.migrate(ActiveRecord::Migrator.migrations_paths, &Outrigger.filter(args.extras))
|
10
|
+
end
|
7
11
|
end
|
8
12
|
end
|
9
13
|
end
|
@@ -14,35 +14,20 @@ RSpec.describe RuboCop::Cop::Migration::Tagged do # rubocop:disable Metrics/Bloc
|
|
14
14
|
let(:config) { RuboCop::Config.new(config_hash) }
|
15
15
|
|
16
16
|
let(:migration_class) do
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
17
|
+
<<~RUBY
|
18
|
+
class Test < ActiveRecord::Migration[4.2]
|
19
|
+
tag :predeploy
|
20
|
+
def change
|
21
|
+
end
|
21
22
|
end
|
22
|
-
end
|
23
|
-
RUBY
|
24
|
-
end
|
25
|
-
|
26
|
-
let(:migration_class_42) do
|
27
|
-
<<-RUBY
|
28
|
-
class Test < ActiveRecord::Migration[4.2]
|
29
|
-
tag :predeploy
|
30
|
-
def change
|
31
|
-
end
|
32
|
-
end
|
33
23
|
RUBY
|
34
24
|
end
|
35
25
|
|
36
26
|
subject(:cop) { described_class.new(config) }
|
37
27
|
|
38
28
|
shared_examples_for 'valid migrations' do
|
39
|
-
it 'passes valid unversioned migration' do
|
40
|
-
inspect_source(migration_class)
|
41
|
-
expect(cop.offenses.empty?).to be(true)
|
42
|
-
end
|
43
|
-
|
44
29
|
it 'passes valid versioned migration' do
|
45
|
-
inspect_source(
|
30
|
+
inspect_source(migration_class)
|
46
31
|
expect(cop.offenses.empty?).to be(true)
|
47
32
|
end
|
48
33
|
end
|
@@ -50,67 +35,36 @@ RSpec.describe RuboCop::Cop::Migration::Tagged do # rubocop:disable Metrics/Bloc
|
|
50
35
|
context 'valid config' do # rubocop:disable Metrics/BlockLength
|
51
36
|
include_examples 'valid migrations'
|
52
37
|
|
53
|
-
context 'missing tags' do
|
38
|
+
context 'missing tags' do
|
54
39
|
let(:migration_class) do
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
end
|
60
|
-
RUBY
|
61
|
-
end
|
62
|
-
|
63
|
-
let(:migration_class_42) do
|
64
|
-
<<-RUBY
|
65
|
-
class Test < ActiveRecord::Migration[4.2]
|
66
|
-
def change
|
40
|
+
<<~RUBY
|
41
|
+
class Test < ActiveRecord::Migration[4.2]
|
42
|
+
def change
|
43
|
+
end
|
67
44
|
end
|
68
|
-
end
|
69
45
|
RUBY
|
70
46
|
end
|
71
47
|
|
72
|
-
it 'finds missing tag in unversioned migration' do
|
73
|
-
inspect_source(migration_class)
|
74
|
-
expect(cop.offenses.empty?).to be(false)
|
75
|
-
expect(cop.offenses.first.message).to match(/All migrations require a tag from/)
|
76
|
-
end
|
77
|
-
|
78
48
|
it 'finds missing tag in versioned migration' do
|
79
|
-
inspect_source(
|
49
|
+
inspect_source(migration_class)
|
80
50
|
expect(cop.offenses.empty?).to be(false)
|
81
51
|
expect(cop.offenses.first.message).to match(/All migrations require a tag from/)
|
82
52
|
end
|
83
53
|
end
|
84
54
|
|
85
|
-
context 'invalid tag' do
|
55
|
+
context 'invalid tag' do
|
86
56
|
let(:migration_class) do
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
57
|
+
<<~RUBY
|
58
|
+
class Test < ActiveRecord::Migration[4.2]
|
59
|
+
tag :foobar
|
60
|
+
def change
|
61
|
+
end
|
91
62
|
end
|
92
|
-
end
|
93
63
|
RUBY
|
94
64
|
end
|
95
65
|
|
96
|
-
let(:migration_class_42) do
|
97
|
-
<<-RUBY
|
98
|
-
class Test < ActiveRecord::Migration[4.2]
|
99
|
-
tag :foobar
|
100
|
-
def change
|
101
|
-
end
|
102
|
-
end
|
103
|
-
RUBY
|
104
|
-
end
|
105
|
-
|
106
|
-
it 'fails on invalid tag in unversioned migration' do
|
107
|
-
inspect_source(migration_class)
|
108
|
-
expect(cop.offenses.empty?).to be(false)
|
109
|
-
expect(cop.offenses.first.message).to match(/Tags may only be one of/)
|
110
|
-
end
|
111
|
-
|
112
66
|
it 'fails on invalid tag in versioned migration' do
|
113
|
-
inspect_source(
|
67
|
+
inspect_source(migration_class)
|
114
68
|
expect(cop.offenses.empty?).to be(false)
|
115
69
|
expect(cop.offenses.first.message).to match(/Tags may only be one of/)
|
116
70
|
end
|
@@ -127,14 +81,8 @@ RSpec.describe RuboCop::Cop::Migration::Tagged do # rubocop:disable Metrics/Bloc
|
|
127
81
|
}
|
128
82
|
end
|
129
83
|
|
130
|
-
it 'fails on missing tags in configuration on unversioned migration' do
|
131
|
-
inspect_source(migration_class)
|
132
|
-
expect(cop.offenses.empty?).to be(false)
|
133
|
-
expect(cop.offenses.first.message).to match(/No allowed tags have been defined/)
|
134
|
-
end
|
135
|
-
|
136
84
|
it 'fails on missing tags in configuration on versioned migration' do
|
137
|
-
inspect_source(
|
85
|
+
inspect_source(migration_class)
|
138
86
|
expect(cop.offenses.empty?).to be(false)
|
139
87
|
expect(cop.offenses.first.message).to match(/No allowed tags have been defined/)
|
140
88
|
end
|
@@ -2,19 +2,6 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
describe Outrigger do
|
4
4
|
describe 'filter' do
|
5
|
-
before do
|
6
|
-
class PreDeployMigration < ActiveRecord::Migration
|
7
|
-
tag :predeploy
|
8
|
-
end
|
9
|
-
|
10
|
-
class UntaggedMigration < ActiveRecord::Migration
|
11
|
-
end
|
12
|
-
|
13
|
-
class MultiMigration < ActiveRecord::Migration
|
14
|
-
tag :predeploy, :dynamo
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
18
5
|
it 'should return a proc that tests migrations' do
|
19
6
|
filter = Outrigger.filter(:predeploy)
|
20
7
|
|
@@ -22,7 +9,7 @@ describe Outrigger do
|
|
22
9
|
end
|
23
10
|
|
24
11
|
it 'should accept multiple tags' do
|
25
|
-
filter = Outrigger.filter(:predeploy, :
|
12
|
+
filter = Outrigger.filter(:predeploy, :postdeploy)
|
26
13
|
|
27
14
|
expect(filter.call(MultiMigration)).to eq(true)
|
28
15
|
expect(filter.call(PreDeployMigration)).to eq(false)
|
@@ -6,12 +6,6 @@ class TestProxy
|
|
6
6
|
end
|
7
7
|
|
8
8
|
describe Outrigger::TaggableProxy do
|
9
|
-
before do
|
10
|
-
class PreDeployMigration < ActiveRecord::Migration
|
11
|
-
tag :predeploy
|
12
|
-
end
|
13
|
-
end
|
14
|
-
|
15
9
|
it 'it should delegate tags to the migration' do
|
16
10
|
proxy = TestProxy.new
|
17
11
|
proxy.migration = PreDeployMigration.new
|
@@ -1,25 +1,6 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
|
-
module ActiveRecord
|
4
|
-
class Migration
|
5
|
-
include Outrigger::Taggable
|
6
|
-
end
|
7
|
-
end
|
8
|
-
|
9
3
|
describe Outrigger::Taggable do
|
10
|
-
before do
|
11
|
-
class PreDeployMigration < ActiveRecord::Migration
|
12
|
-
tag :predeploy
|
13
|
-
end
|
14
|
-
|
15
|
-
class UntaggedMigration < ActiveRecord::Migration
|
16
|
-
end
|
17
|
-
|
18
|
-
class PostDeployMigration < ActiveRecord::Migration
|
19
|
-
tag :postdeploy
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
23
4
|
it 'PreDeployMigration should be predeploy' do
|
24
5
|
expect(PreDeployMigration.tags).to eq([:predeploy])
|
25
6
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -4,7 +4,7 @@ SimpleCov.start do
|
|
4
4
|
add_filter 'spec'
|
5
5
|
track_files 'lib/**/*.rb'
|
6
6
|
end
|
7
|
-
SimpleCov.minimum_coverage(
|
7
|
+
SimpleCov.minimum_coverage(85)
|
8
8
|
|
9
9
|
require 'bundler/setup'
|
10
10
|
require 'rails/railtie'
|
@@ -13,6 +13,24 @@ require 'rubocop/rspec/support'
|
|
13
13
|
|
14
14
|
require 'outrigger'
|
15
15
|
|
16
|
+
ActiveRecord::Migration.send :include, Outrigger::Taggable
|
17
|
+
ActiveRecord::MigrationProxy.send :include, Outrigger::TaggableProxy
|
18
|
+
|
19
|
+
class PreDeployMigration < ActiveRecord::Migration[5.0]
|
20
|
+
tag :predeploy
|
21
|
+
end
|
22
|
+
|
23
|
+
class UntaggedMigration < ActiveRecord::Migration[5.0]
|
24
|
+
end
|
25
|
+
|
26
|
+
class PostDeployMigration < ActiveRecord::Migration[5.0]
|
27
|
+
tag :postdeploy
|
28
|
+
end
|
29
|
+
|
30
|
+
class MultiMigration < ActiveRecord::Migration[5.0]
|
31
|
+
tag :predeploy, :postdeploy
|
32
|
+
end
|
33
|
+
|
16
34
|
RSpec.configure do |config|
|
17
35
|
config.order = 'random'
|
18
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: outrigger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Drew Bowman
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -16,96 +16,96 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '5.0'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '6.2'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
29
|
+
version: '5.0'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '6.2'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: bundler
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - "
|
37
|
+
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
39
|
+
version: '0'
|
40
40
|
type: :development
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
|
-
- - "
|
44
|
+
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
46
|
+
version: '0'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: railties
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
53
|
+
version: '5.0'
|
54
54
|
- - "<"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: '
|
56
|
+
version: '6.2'
|
57
57
|
type: :development
|
58
58
|
prerelease: false
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '
|
63
|
+
version: '5.0'
|
64
64
|
- - "<"
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: '
|
66
|
+
version: '6.2'
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
name: rake
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
70
70
|
requirements:
|
71
71
|
- - "~>"
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: '
|
73
|
+
version: '13.0'
|
74
74
|
type: :development
|
75
75
|
prerelease: false
|
76
76
|
version_requirements: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
78
|
- - "~>"
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: '
|
80
|
+
version: '13.0'
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: rspec
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|
84
84
|
requirements:
|
85
85
|
- - "~>"
|
86
86
|
- !ruby/object:Gem::Version
|
87
|
-
version: 3.
|
87
|
+
version: '3.7'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
90
|
version_requirements: !ruby/object:Gem::Requirement
|
91
91
|
requirements:
|
92
92
|
- - "~>"
|
93
93
|
- !ruby/object:Gem::Version
|
94
|
-
version: 3.
|
94
|
+
version: '3.7'
|
95
95
|
- !ruby/object:Gem::Dependency
|
96
96
|
name: rubocop
|
97
97
|
requirement: !ruby/object:Gem::Requirement
|
98
98
|
requirements:
|
99
99
|
- - "~>"
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version: 0.
|
101
|
+
version: 0.52.0
|
102
102
|
type: :development
|
103
103
|
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
106
|
- - "~>"
|
107
107
|
- !ruby/object:Gem::Version
|
108
|
-
version: 0.
|
108
|
+
version: 0.52.0
|
109
109
|
- !ruby/object:Gem::Dependency
|
110
110
|
name: simplecov
|
111
111
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,8 +120,22 @@ dependencies:
|
|
120
120
|
- - "~>"
|
121
121
|
- !ruby/object:Gem::Version
|
122
122
|
version: '0'
|
123
|
+
- !ruby/object:Gem::Dependency
|
124
|
+
name: wwtd
|
125
|
+
requirement: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - "~>"
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '1.3'
|
130
|
+
type: :development
|
131
|
+
prerelease: false
|
132
|
+
version_requirements: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - "~>"
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '1.3'
|
123
137
|
description: Migrations
|
124
|
-
email:
|
138
|
+
email:
|
125
139
|
executables: []
|
126
140
|
extensions: []
|
127
141
|
extra_rdoc_files: []
|
@@ -134,10 +148,11 @@ files:
|
|
134
148
|
- lib/outrigger/taggable_proxy.rb
|
135
149
|
- lib/outrigger/version.rb
|
136
150
|
- lib/tasks/outrigger.rake
|
137
|
-
- spec/gemfiles/rails-4.2.gemfile
|
138
|
-
- spec/gemfiles/rails-4.2.gemfile.lock
|
139
151
|
- spec/gemfiles/rails-5.0.gemfile
|
140
|
-
- spec/gemfiles/rails-5.
|
152
|
+
- spec/gemfiles/rails-5.1.gemfile
|
153
|
+
- spec/gemfiles/rails-5.2.gemfile
|
154
|
+
- spec/gemfiles/rails-6.0.gemfile
|
155
|
+
- spec/gemfiles/rails-6.1.gemfile
|
141
156
|
- spec/outrigger/cops/migration/tagged_spec.rb
|
142
157
|
- spec/outrigger/outrigger_spec.rb
|
143
158
|
- spec/outrigger/railtie_spec.rb
|
@@ -148,31 +163,31 @@ homepage: https://github.com/instructure/outrigger
|
|
148
163
|
licenses:
|
149
164
|
- MIT
|
150
165
|
metadata: {}
|
151
|
-
post_install_message:
|
166
|
+
post_install_message:
|
152
167
|
rdoc_options: []
|
153
168
|
require_paths:
|
154
169
|
- lib
|
155
170
|
required_ruby_version: !ruby/object:Gem::Requirement
|
156
171
|
requirements:
|
157
|
-
- - "
|
172
|
+
- - ">="
|
158
173
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
174
|
+
version: 2.3.0
|
160
175
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
161
176
|
requirements:
|
162
177
|
- - ">="
|
163
178
|
- !ruby/object:Gem::Version
|
164
179
|
version: '0'
|
165
180
|
requirements: []
|
166
|
-
|
167
|
-
|
168
|
-
signing_key:
|
181
|
+
rubygems_version: 3.2.15
|
182
|
+
signing_key:
|
169
183
|
specification_version: 4
|
170
184
|
summary: Tag migrations and run them separately
|
171
185
|
test_files:
|
172
|
-
- spec/gemfiles/rails-4.2.gemfile
|
173
|
-
- spec/gemfiles/rails-4.2.gemfile.lock
|
174
186
|
- spec/gemfiles/rails-5.0.gemfile
|
175
|
-
- spec/gemfiles/rails-5.
|
187
|
+
- spec/gemfiles/rails-5.1.gemfile
|
188
|
+
- spec/gemfiles/rails-5.2.gemfile
|
189
|
+
- spec/gemfiles/rails-6.0.gemfile
|
190
|
+
- spec/gemfiles/rails-6.1.gemfile
|
176
191
|
- spec/outrigger/cops/migration/tagged_spec.rb
|
177
192
|
- spec/outrigger/outrigger_spec.rb
|
178
193
|
- spec/outrigger/railtie_spec.rb
|
@@ -1,162 +0,0 @@
|
|
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
|
@@ -1,161 +0,0 @@
|
|
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
|