gemika 0.3.2 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/test.yml +122 -0
- data/.gitignore +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +75 -0
- data/{gemfiles/Gemfile.3.2.mysql2 → Gemfile.3.2.mysql2} +3 -2
- data/{gemfiles/Gemfile.3.2.mysql2.lock → Gemfile.3.2.mysql2.lock} +19 -5
- data/{gemfiles/Gemfile.4.2.mysql2 → Gemfile.4.2.mysql2} +3 -2
- data/{gemfiles/Gemfile.4.2.mysql2.lock → Gemfile.4.2.mysql2.lock} +11 -4
- data/{gemfiles/Gemfile.4.2.pg → Gemfile.4.2.pg} +2 -1
- data/{gemfiles/Gemfile.4.2.pg.lock → Gemfile.4.2.pg.lock} +9 -3
- data/{gemfiles/Gemfile.5.0.mysql2 → Gemfile.5.2.mysql2} +4 -3
- data/{gemfiles/Gemfile.5.0.mysql2.lock → Gemfile.5.2.mysql2.lock} +28 -20
- data/{gemfiles/Gemfile.5.0.pg → Gemfile.5.2.pg} +3 -2
- data/{gemfiles/Gemfile.5.0.pg.lock → Gemfile.5.2.pg.lock} +26 -18
- data/Gemfile.5.2.sqlite3 +17 -0
- data/Gemfile.5.2.sqlite3.lock +67 -0
- data/Gemfile.6.0.pg +17 -0
- data/Gemfile.6.0.pg.lock +67 -0
- data/README.md +144 -71
- data/gemika.gemspec +2 -2
- data/lib/gemika/database.rb +13 -3
- data/lib/gemika/env.rb +6 -0
- data/lib/gemika/errors.rb +2 -0
- data/lib/gemika/github_actions_generator.rb +150 -0
- data/lib/gemika/matrix.rb +38 -33
- data/lib/gemika/matrix/github_actions_config.rb +61 -0
- data/lib/gemika/matrix/travis_config.rb +42 -0
- data/lib/gemika/tasks.rb +1 -0
- data/lib/gemika/tasks/gemika.rb +14 -0
- data/lib/gemika/tasks/matrix.rb +4 -4
- data/lib/gemika/version.rb +1 -1
- data/spec/fixtures/github_actions_yml/Gemfile_without_gemika +1 -0
- data/spec/fixtures/github_actions_yml/excludes.yml +13 -0
- data/spec/fixtures/github_actions_yml/gemfile_without_gemika.yml +8 -0
- data/spec/fixtures/github_actions_yml/includes.yml +20 -0
- data/spec/fixtures/github_actions_yml/invalid.yml +8 -0
- data/spec/fixtures/github_actions_yml/missing_gemfile.yml +8 -0
- data/spec/fixtures/github_actions_yml/multiple_jobs.yml +16 -0
- data/spec/fixtures/github_actions_yml/two_by_two.yml +10 -0
- data/spec/fixtures/migrate/expected_github_actions.yml +129 -0
- data/spec/fixtures/migrate/travis.yml +66 -0
- data/spec/fixtures/travis_yml/includes.yml +12 -0
- data/spec/gemika/matrix_spec.rb +116 -0
- data/spec/spec_helper.rb +1 -0
- data/spec/support/database.github.yml +13 -0
- metadata +35 -19
- data/.travis.yml +0 -58
- data/gemfiles/Gemfile.2.3.mysql2 +0 -17
- data/gemfiles/Gemfile.2.3.mysql2.lock +0 -34
- data/spec/support/database.travis.yml +0 -9
- data/spec/support/database.yml +0 -10
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemika
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henning Koch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Helpers for testing Ruby gems
|
14
14
|
email: henning.koch@makandra.de
|
@@ -16,43 +16,61 @@ executables: []
|
|
16
16
|
extensions: []
|
17
17
|
extra_rdoc_files: []
|
18
18
|
files:
|
19
|
+
- ".github/workflows/test.yml"
|
19
20
|
- ".gitignore"
|
20
21
|
- ".rspec"
|
21
22
|
- ".ruby-version"
|
22
|
-
- ".travis.yml"
|
23
23
|
- ".yardopts"
|
24
|
+
- CHANGELOG.md
|
25
|
+
- Gemfile.3.2.mysql2
|
26
|
+
- Gemfile.3.2.mysql2.lock
|
27
|
+
- Gemfile.4.2.mysql2
|
28
|
+
- Gemfile.4.2.mysql2.lock
|
29
|
+
- Gemfile.4.2.pg
|
30
|
+
- Gemfile.4.2.pg.lock
|
31
|
+
- Gemfile.5.2.mysql2
|
32
|
+
- Gemfile.5.2.mysql2.lock
|
33
|
+
- Gemfile.5.2.pg
|
34
|
+
- Gemfile.5.2.pg.lock
|
35
|
+
- Gemfile.5.2.sqlite3
|
36
|
+
- Gemfile.5.2.sqlite3.lock
|
37
|
+
- Gemfile.6.0.pg
|
38
|
+
- Gemfile.6.0.pg.lock
|
24
39
|
- LICENSE
|
25
40
|
- README.md
|
26
41
|
- Rakefile
|
27
42
|
- doc/minidusen_test.png
|
28
|
-
- gemfiles/Gemfile.2.3.mysql2
|
29
|
-
- gemfiles/Gemfile.2.3.mysql2.lock
|
30
|
-
- gemfiles/Gemfile.3.2.mysql2
|
31
|
-
- gemfiles/Gemfile.3.2.mysql2.lock
|
32
|
-
- gemfiles/Gemfile.4.2.mysql2
|
33
|
-
- gemfiles/Gemfile.4.2.mysql2.lock
|
34
|
-
- gemfiles/Gemfile.4.2.pg
|
35
|
-
- gemfiles/Gemfile.4.2.pg.lock
|
36
|
-
- gemfiles/Gemfile.5.0.mysql2
|
37
|
-
- gemfiles/Gemfile.5.0.mysql2.lock
|
38
|
-
- gemfiles/Gemfile.5.0.pg
|
39
|
-
- gemfiles/Gemfile.5.0.pg.lock
|
40
43
|
- gemika.gemspec
|
41
44
|
- lib/gemika.rb
|
42
45
|
- lib/gemika/database.rb
|
43
46
|
- lib/gemika/env.rb
|
44
47
|
- lib/gemika/errors.rb
|
48
|
+
- lib/gemika/github_actions_generator.rb
|
45
49
|
- lib/gemika/matrix.rb
|
50
|
+
- lib/gemika/matrix/github_actions_config.rb
|
51
|
+
- lib/gemika/matrix/travis_config.rb
|
46
52
|
- lib/gemika/rspec.rb
|
47
53
|
- lib/gemika/tasks.rb
|
54
|
+
- lib/gemika/tasks/gemika.rb
|
48
55
|
- lib/gemika/tasks/matrix.rb
|
49
56
|
- lib/gemika/tasks/rspec.rb
|
50
57
|
- lib/gemika/version.rb
|
51
58
|
- spec/fixtures/gemfiles/Gemfile_with_activesupport_5
|
52
59
|
- spec/fixtures/gemfiles/Gemfile_with_activesupport_5.lock
|
60
|
+
- spec/fixtures/github_actions_yml/Gemfile_without_gemika
|
61
|
+
- spec/fixtures/github_actions_yml/excludes.yml
|
62
|
+
- spec/fixtures/github_actions_yml/gemfile_without_gemika.yml
|
63
|
+
- spec/fixtures/github_actions_yml/includes.yml
|
64
|
+
- spec/fixtures/github_actions_yml/invalid.yml
|
65
|
+
- spec/fixtures/github_actions_yml/missing_gemfile.yml
|
66
|
+
- spec/fixtures/github_actions_yml/multiple_jobs.yml
|
67
|
+
- spec/fixtures/github_actions_yml/two_by_two.yml
|
68
|
+
- spec/fixtures/migrate/expected_github_actions.yml
|
69
|
+
- spec/fixtures/migrate/travis.yml
|
53
70
|
- spec/fixtures/travis_yml/Gemfile_without_gemika
|
54
71
|
- spec/fixtures/travis_yml/excludes.yml
|
55
72
|
- spec/fixtures/travis_yml/gemfile_without_gemika.yml
|
73
|
+
- spec/fixtures/travis_yml/includes.yml
|
56
74
|
- spec/fixtures/travis_yml/missing_gemfile.yml
|
57
75
|
- spec/fixtures/travis_yml/two_by_two.yml
|
58
76
|
- spec/gemika/database_spec.rb
|
@@ -60,10 +78,9 @@ files:
|
|
60
78
|
- spec/gemika/matrix_spec.rb
|
61
79
|
- spec/gemika/rspec_spec.rb
|
62
80
|
- spec/spec_helper.rb
|
81
|
+
- spec/support/database.github.yml
|
63
82
|
- spec/support/database.rb
|
64
83
|
- spec/support/database.sample.yml
|
65
|
-
- spec/support/database.travis.yml
|
66
|
-
- spec/support/database.yml
|
67
84
|
- spec/support/models.rb
|
68
85
|
homepage: https://github.com/makandra/gemika
|
69
86
|
licenses:
|
@@ -84,8 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
101
|
- !ruby/object:Gem::Version
|
85
102
|
version: '0'
|
86
103
|
requirements: []
|
87
|
-
|
88
|
-
rubygems_version: 2.4.5.1
|
104
|
+
rubygems_version: 3.1.4
|
89
105
|
signing_key:
|
90
106
|
specification_version: 4
|
91
107
|
summary: Helpers for testing Ruby gems
|
data/.travis.yml
DELETED
@@ -1,58 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
|
3
|
-
rvm:
|
4
|
-
- 1.8.7
|
5
|
-
- 2.1.8
|
6
|
-
- 2.2.4
|
7
|
-
- 2.3.1
|
8
|
-
|
9
|
-
gemfile:
|
10
|
-
- gemfiles/Gemfile.2.3.mysql2
|
11
|
-
- gemfiles/Gemfile.3.2.mysql2
|
12
|
-
- gemfiles/Gemfile.4.2.mysql2
|
13
|
-
- gemfiles/Gemfile.4.2.pg
|
14
|
-
- gemfiles/Gemfile.5.0.mysql2
|
15
|
-
- gemfiles/Gemfile.5.0.pg
|
16
|
-
|
17
|
-
matrix:
|
18
|
-
exclude:
|
19
|
-
- gemfile: gemfiles/Gemfile.2.3.mysql2
|
20
|
-
rvm: 2.1.8
|
21
|
-
- gemfile: gemfiles/Gemfile.2.3.mysql2
|
22
|
-
rvm: 2.2.4
|
23
|
-
- gemfile: gemfiles/Gemfile.2.3.mysql2
|
24
|
-
rvm: 2.3.1
|
25
|
-
- gemfile: gemfiles/Gemfile.3.2.mysql2
|
26
|
-
rvm: 2.3.1
|
27
|
-
- gemfile: gemfiles/Gemfile.4.2.mysql2
|
28
|
-
rvm: 1.8.7
|
29
|
-
- gemfile: gemfiles/Gemfile.4.2.pg
|
30
|
-
rvm: 1.8.7
|
31
|
-
- gemfile: gemfiles/Gemfile.5.0.mysql2
|
32
|
-
rvm: 1.8.7
|
33
|
-
- gemfile: gemfiles/Gemfile.5.0.pg
|
34
|
-
rvm: 1.8.7
|
35
|
-
- gemfile: gemfiles/Gemfile.5.0.mysql2
|
36
|
-
rvm: 2.1.8
|
37
|
-
- gemfile: gemfiles/Gemfile.5.0.pg
|
38
|
-
rvm: 2.1.8
|
39
|
-
|
40
|
-
install:
|
41
|
-
# Old Travis CI bundler explodes when lockfile version doesn't match recently bumped version
|
42
|
-
- gem install bundler --version='=1.12.5'
|
43
|
-
# This is the default Travis CI install step
|
44
|
-
- bundle install --jobs=3 --retry=3 --deployment --path=${BUNDLE_PATH:-vendor/bundle}
|
45
|
-
|
46
|
-
before_script:
|
47
|
-
- psql -c 'create database gemika_test;' -U postgres
|
48
|
-
- mysql -e 'create database IF NOT EXISTS gemika_test;'
|
49
|
-
|
50
|
-
script: bundle exec rake current_rspec
|
51
|
-
|
52
|
-
sudo: false
|
53
|
-
|
54
|
-
cache: bundler
|
55
|
-
|
56
|
-
notifications:
|
57
|
-
email:
|
58
|
-
- fail@makandra.de
|
data/gemfiles/Gemfile.2.3.mysql2
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
# Ruby
|
4
|
-
ruby '< 2'
|
5
|
-
|
6
|
-
# Runtime dependencies
|
7
|
-
gem 'activerecord', '=2.3.18'
|
8
|
-
gem 'rspec', '~> 1.3.0'
|
9
|
-
gem 'mysql2', '= 0.2.20'
|
10
|
-
gem 'i18n', '=0.6.11' # 0.7 no longer builds for Ruby 1.8.7
|
11
|
-
|
12
|
-
# Development dependencies
|
13
|
-
gem 'rake', '=10.0.4'
|
14
|
-
gem 'database_cleaner'
|
15
|
-
|
16
|
-
# Gem under test
|
17
|
-
gem 'gemika', :path => '..'
|
@@ -1,34 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
gemika (0.3.0)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: https://rubygems.org/
|
8
|
-
specs:
|
9
|
-
activerecord (2.3.18)
|
10
|
-
activesupport (= 2.3.18)
|
11
|
-
activesupport (2.3.18)
|
12
|
-
database_cleaner (1.0.1)
|
13
|
-
i18n (0.6.11)
|
14
|
-
mysql2 (0.2.20)
|
15
|
-
rake (10.0.4)
|
16
|
-
rspec (1.3.2)
|
17
|
-
|
18
|
-
PLATFORMS
|
19
|
-
ruby
|
20
|
-
|
21
|
-
DEPENDENCIES
|
22
|
-
activerecord (= 2.3.18)
|
23
|
-
database_cleaner
|
24
|
-
gemika!
|
25
|
-
i18n (= 0.6.11)
|
26
|
-
mysql2 (= 0.2.20)
|
27
|
-
rake (= 10.0.4)
|
28
|
-
rspec (~> 1.3.0)
|
29
|
-
|
30
|
-
RUBY VERSION
|
31
|
-
ruby 1.8.7p375
|
32
|
-
|
33
|
-
BUNDLED WITH
|
34
|
-
1.12.5
|