gemika 0.4.1 → 0.7.0

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.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +112 -0
  3. data/.ruby-version +1 -1
  4. data/CHANGELOG.md +31 -4
  5. data/Gemfile.5.2.mysql2 +1 -1
  6. data/Gemfile.5.2.mysql2.lock +4 -4
  7. data/Gemfile.5.2.pg.lock +2 -2
  8. data/Gemfile.5.2.sqlite3.lock +2 -2
  9. data/{Gemfile.6.0.pg → Gemfile.6.1.pg} +2 -2
  10. data/{Gemfile.6.0.pg.lock → Gemfile.6.1.pg.lock} +21 -22
  11. data/{Gemfile.4.2.pg → Gemfile.7.0.pg} +3 -5
  12. data/Gemfile.7.0.pg.lock +64 -0
  13. data/README.md +77 -7
  14. data/lib/gemika/database.rb +2 -2
  15. data/lib/gemika/env.rb +9 -1
  16. data/lib/gemika/errors.rb +2 -0
  17. data/lib/gemika/github_actions_generator.rb +150 -0
  18. data/lib/gemika/matrix/github_actions_config.rb +61 -0
  19. data/lib/gemika/matrix/travis_config.rb +42 -0
  20. data/lib/gemika/matrix.rb +109 -42
  21. data/lib/gemika/tasks/gemika.rb +14 -0
  22. data/lib/gemika/tasks/matrix.rb +4 -4
  23. data/lib/gemika/tasks.rb +1 -0
  24. data/lib/gemika/version.rb +1 -1
  25. data/spec/fixtures/github_actions_yml/Gemfile_without_gemika +1 -0
  26. data/spec/fixtures/github_actions_yml/excludes.yml +13 -0
  27. data/spec/fixtures/github_actions_yml/gemfile_without_gemika.yml +8 -0
  28. data/spec/fixtures/github_actions_yml/includes.yml +20 -0
  29. data/spec/fixtures/github_actions_yml/invalid.yml +8 -0
  30. data/spec/fixtures/github_actions_yml/missing_gemfile.yml +8 -0
  31. data/spec/fixtures/github_actions_yml/multiple_jobs.yml +16 -0
  32. data/spec/fixtures/github_actions_yml/two_by_two.yml +10 -0
  33. data/spec/fixtures/migrate/expected_github_actions.yml +129 -0
  34. data/{.travis.yml → spec/fixtures/migrate/travis.yml} +1 -1
  35. data/spec/gemika/matrix/row_spec.rb +62 -0
  36. data/spec/gemika/matrix_spec.rb +100 -0
  37. data/spec/spec_helper.rb +5 -1
  38. data/spec/support/database.github.yml +13 -0
  39. metadata +24 -15
  40. data/Gemfile.2.3.mysql2 +0 -18
  41. data/Gemfile.2.3.mysql2.lock +0 -42
  42. data/Gemfile.3.2.mysql2 +0 -18
  43. data/Gemfile.3.2.mysql2.lock +0 -67
  44. data/Gemfile.4.2.mysql2 +0 -17
  45. data/Gemfile.4.2.mysql2.lock +0 -69
  46. data/Gemfile.4.2.pg.lock +0 -69
  47. data/spec/support/database.travis.yml +0 -9
data/Gemfile.4.2.pg.lock DELETED
@@ -1,69 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- gemika (0.4.1)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- activemodel (4.2.7.1)
10
- activesupport (= 4.2.7.1)
11
- builder (~> 3.1)
12
- activerecord (4.2.7.1)
13
- activemodel (= 4.2.7.1)
14
- activesupport (= 4.2.7.1)
15
- arel (~> 6.0)
16
- activesupport (4.2.7.1)
17
- i18n (~> 0.7)
18
- json (~> 1.7, >= 1.7.7)
19
- minitest (~> 5.1)
20
- thread_safe (~> 0.3, >= 0.3.4)
21
- tzinfo (~> 1.1)
22
- arel (6.0.3)
23
- builder (3.2.2)
24
- coderay (1.1.2)
25
- database_cleaner (1.5.3)
26
- diff-lcs (1.2.5)
27
- i18n (0.7.0)
28
- json (1.8.3)
29
- method_source (0.9.2)
30
- minitest (5.9.0)
31
- pg (0.19.0)
32
- pry (0.12.2)
33
- coderay (~> 1.1.0)
34
- method_source (~> 0.9.0)
35
- rake (11.3.0)
36
- rspec (3.5.0)
37
- rspec-core (~> 3.5.0)
38
- rspec-expectations (~> 3.5.0)
39
- rspec-mocks (~> 3.5.0)
40
- rspec-core (3.5.3)
41
- rspec-support (~> 3.5.0)
42
- rspec-expectations (3.5.0)
43
- diff-lcs (>= 1.2.0, < 2.0)
44
- rspec-support (~> 3.5.0)
45
- rspec-mocks (3.5.0)
46
- diff-lcs (>= 1.2.0, < 2.0)
47
- rspec-support (~> 3.5.0)
48
- rspec-support (3.5.0)
49
- thread_safe (0.3.5)
50
- tzinfo (1.2.2)
51
- thread_safe (~> 0.1)
52
-
53
- PLATFORMS
54
- ruby
55
-
56
- DEPENDENCIES
57
- activerecord (~> 4.2.1)
58
- database_cleaner
59
- gemika!
60
- pg
61
- pry
62
- rake
63
- rspec (~> 3.4)
64
-
65
- RUBY VERSION
66
- ruby 2.3.1p112
67
-
68
- BUNDLED WITH
69
- 1.17.3
@@ -1,9 +0,0 @@
1
- mysql:
2
- database: gemika_test
3
- username: travis
4
- password:
5
-
6
- postgresql:
7
- database: gemika_test
8
- user: postgres
9
- password: