ghost_adapter 0.1.3 → 0.1.4

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: 1e41455fa006b4b041b93b335e52648d1a73fc70414833e9da5e8aa2d08a7f33
4
- data.tar.gz: 83bb7a22b33489522b4877f7bb09d3e8011527cb30a6410f402d6124e8673483
3
+ metadata.gz: 1cabaf83939ee711ed1679803274084bedf6598c2711d69bfeee19cb404a0add
4
+ data.tar.gz: e42e338f2c2afc2ea448fc9e14fb5132781b9afedcf1c097131e39a935efcb15
5
5
  SHA512:
6
- metadata.gz: 9a44d227afa21a6b94303c73419b6d56ebc5971d681ce7cc8b6384b7e802556e9e782467aa1c6695bc4461dc411560f02040bea4ba1ebf713ad098f58a670369
7
- data.tar.gz: 5a8a939e4cc7ea44d135273c32c921ca4f79d35aac568c1160d32daae0b41d587180968772f13047a4fbb1ca93edbba68372fad89e46ff96b4db9d0df0852b33
6
+ metadata.gz: 80eb4f5803734e3a599c165df1b22fa6892db6fd685d6aa59fc445a072376fad3e8e4fb8535dce94c44af9aced1ec34594a33270b4c0457b0826a11c8e9f6263
7
+ data.tar.gz: d2ef0fa71b5a429e1cddbe99c1432f047ac4842636f6cb58551416ff88f05d8a7d6ff3b1303c3a2769fb68aee95850b749f9b9831154f15bb2b4e66e2dba19a9
@@ -0,0 +1,29 @@
1
+ name: Ruby
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ ruby-version: ["2.5", "2.6", "2.7", "3.0"]
15
+
16
+ steps:
17
+ - uses: actions/checkout@v2
18
+ - name: Set up Ruby
19
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
20
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
21
+ # uses: ruby/setup-ruby@v1
22
+ uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
23
+ with:
24
+ ruby-version: ${{ matrix.ruby-version }}
25
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
26
+ - name: Run rubocop
27
+ run: bundle exec rake rubocop
28
+ - name: Run tests
29
+ run: bundle exec rake spec
data/CHANGELOG.md CHANGED
@@ -1,7 +1,13 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.1.4
4
+
5
+ - Fix bug caused by missing `require 'open3'` that occurs for some ruby versions
6
+
3
7
  ## 0.1.3
8
+
4
9
  - Fix bug [#26](https://github.com/WeTransfer/ghost_adapter/issues/26) causing environment configuration to be overwritten by some other configuration methods.
5
10
 
6
11
  ## 0.1.2
12
+
7
13
  - Fix bug [#28](https://github.com/WeTransfer/ghost_adapter/issues/28) that resulted in add_index and remove_index calls to not run through `gh-ost`
data/Gemfile.lock CHANGED
@@ -1,19 +1,19 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ghost_adapter (0.1.3)
4
+ ghost_adapter (0.1.4)
5
5
  activerecord (>= 5)
6
6
  mysql2 (>= 0.4.0, < 0.6.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activemodel (6.1.3)
12
- activesupport (= 6.1.3)
13
- activerecord (6.1.3)
14
- activemodel (= 6.1.3)
15
- activesupport (= 6.1.3)
16
- activesupport (6.1.3)
11
+ activemodel (6.1.3.1)
12
+ activesupport (= 6.1.3.1)
13
+ activerecord (6.1.3.1)
14
+ activemodel (= 6.1.3.1)
15
+ activesupport (= 6.1.3.1)
16
+ activesupport (6.1.3.1)
17
17
  concurrent-ruby (~> 1.0, >= 1.0.2)
18
18
  i18n (>= 1.6, < 2)
19
19
  minitest (>= 5.1)
@@ -26,8 +26,8 @@ GEM
26
26
  diff-lcs (1.4.4)
27
27
  i18n (1.8.9)
28
28
  concurrent-ruby (~> 1.0)
29
- minitest (5.14.3)
30
- mysql2 (0.5.2)
29
+ minitest (5.14.4)
30
+ mysql2 (0.5.3)
31
31
  parallel (1.20.1)
32
32
  parser (3.0.0.0)
33
33
  ast (~> 2.4.1)
@@ -1,3 +1,3 @@
1
1
  module GhostAdapter
2
- VERSION = '0.1.3'.freeze
2
+ VERSION = '0.1.4'.freeze
3
3
  end
@@ -1,3 +1,5 @@
1
+ require 'open3'
2
+
1
3
  module GhostAdapter
2
4
  class IncompatibleVersion < StandardError
3
5
  def initialize(version = nil)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ghost_adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Austin C Roos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-28 00:00:00.000000000 Z
11
+ date: 2021-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -138,6 +138,7 @@ files:
138
138
  - ".github/ISSUE_TEMPLATE/bug_report.md"
139
139
  - ".github/ISSUE_TEMPLATE/feature_request.md"
140
140
  - ".github/PULL_REQUEST_TEMPLATE.md"
141
+ - ".github/workflows/ruby.yml"
141
142
  - ".gitignore"
142
143
  - ".rubocop.yml"
143
144
  - ".travis.yml"