shellable 0.0.2 → 0.0.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 3e3c42e22c395b2bb2de01a38f7c1fecbabb829f
4
- data.tar.gz: 650f794fb258268f1fa365095c0456f5f08c407f
2
+ SHA256:
3
+ metadata.gz: '083f94e0548b0c3aa9397e39d7e25746cb00812bd8b2c0cb90e4aa2670a9fd56'
4
+ data.tar.gz: a5a978bdba7244d33b18fa42ca4d6ec4ed30fd8ae2bca1157a4ed93a59753cb6
5
5
  SHA512:
6
- metadata.gz: 806620306c98130c6ee0722c5fae3aeb66feced1133c1af4c3b1ae37a13ea817a57b1a931c35db9481f7d0d922bf3717815956d9fb75a2cf5b3badfdfffa44fc
7
- data.tar.gz: f4a01e8d19c11745cfd34da5bd274c9069f2464b2a24532065675d432d59a007ae88167c234349332697efe9531b5d9d4485059a9342755fead7540028f6fa6a
6
+ metadata.gz: ba5c15c5fd4ffde307420d3f378e6e81577419b19b919b732496274e820eadbd87a646fdff0495464676b8fd0bc322c0821f33dcb8a9b0b2321e350f4560a469
7
+ data.tar.gz: 8ba415f03e3e820155e2ccbc99b4889e952b035d83f70d98b36f2841110be8d29f49ecbda8df9bcfcd8563e65677d215a68b856e0109662c6539a8d5972f99b8
@@ -0,0 +1,31 @@
1
+ name: Ruby Gem
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ jobs:
8
+ build:
9
+ name: Build + Publish
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: read
13
+ packages: write
14
+
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ - name: Set up Ruby 2.6
18
+ uses: actions/setup-ruby@v1
19
+ with:
20
+ ruby-version: 2.6.x
21
+
22
+ - name: Publish to RubyGems
23
+ run: |
24
+ mkdir -p $HOME/.gem
25
+ touch $HOME/.gem/credentials
26
+ chmod 0600 $HOME/.gem/credentials
27
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
28
+ gem build *.gemspec
29
+ gem push *.gem
30
+ env:
31
+ GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
@@ -17,6 +17,9 @@ jobs:
17
17
  test:
18
18
 
19
19
  runs-on: ubuntu-latest
20
+ strategy:
21
+ matrix:
22
+ ruby-version: ['2.6', '2.7', '3.0']
20
23
 
21
24
  steps:
22
25
  - uses: actions/checkout@v2
@@ -24,10 +27,9 @@ jobs:
24
27
  # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
25
28
  # change this to (see https://github.com/ruby/setup-ruby#versioning):
26
29
  # uses: ruby/setup-ruby@v1
27
- uses: ruby/setup-ruby@ec106b438a1ff6ff109590de34ddc62c540232e0
30
+ uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
28
31
  with:
29
- ruby-version: 2.6
30
- - name: Install dependencies
31
- run: bundle install
32
+ ruby-version: ${{ matrix.ruby-version }}
33
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
32
34
  - name: Run tests
33
35
  run: bundle exec rspec
data/.travis.yml CHANGED
@@ -3,5 +3,7 @@ rvm:
3
3
  - 2.4
4
4
  - 2.5
5
5
  - 2.6
6
+ - 2.7
7
+ - 3.0
6
8
  script:
7
9
  - bundle exec rspec
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Shellable [![Build Status](https://travis-ci.com/kevinstuffandthings/shellable.svg?branch=master)](https://travis-ci.com/kevinstuffandthings/shellable) [![Gem Version](https://badge.fury.io/rb/shellable.svg)](https://badge.fury.io/rb/shellable)
1
+ # Shellable ![Build Status](https://github.com/kevinstuffandthings/shellable/actions/workflows/ruby.yml/badge.svg) [![Gem Version](https://badge.fury.io/rb/shellable.svg)](https://badge.fury.io/rb/shellable)
2
2
 
3
3
  Open a [REPL](https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop) within the context of any Ruby object.
4
4
  Originally written for the [TimeBoss](https://github.com/kevinstuffandthings/timeboss) gem.
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Shellable
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shellable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin McDonald
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-16 00:00:00.000000000 Z
11
+ date: 2021-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -117,6 +117,7 @@ extra_rdoc_files: []
117
117
  files:
118
118
  - ".github/ISSUE_TEMPLATE/bug_report.md"
119
119
  - ".github/ISSUE_TEMPLATE/feature_request.md"
120
+ - ".github/workflows/gem-push.yml"
120
121
  - ".github/workflows/ruby.yml"
121
122
  - ".gitignore"
122
123
  - ".rspec"
@@ -136,7 +137,7 @@ homepage: https://github.com/kevinstuffandthings/shellable
136
137
  licenses:
137
138
  - MIT
138
139
  metadata: {}
139
- post_install_message:
140
+ post_install_message:
140
141
  rdoc_options: []
141
142
  require_paths:
142
143
  - lib
@@ -151,9 +152,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
152
  - !ruby/object:Gem::Version
152
153
  version: '0'
153
154
  requirements: []
154
- rubyforge_project:
155
- rubygems_version: 2.6.14
156
- signing_key:
155
+ rubygems_version: 3.0.3.1
156
+ signing_key:
157
157
  specification_version: 4
158
158
  summary: Open a REPL inside any Ruby object
159
159
  test_files: