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 +5 -5
- data/.github/workflows/gem-push.yml +31 -0
- data/.github/workflows/ruby.yml +6 -4
- data/.travis.yml +2 -0
- data/README.md +1 -1
- data/lib/shellable/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: '083f94e0548b0c3aa9397e39d7e25746cb00812bd8b2c0cb90e4aa2670a9fd56'
|
|
4
|
+
data.tar.gz: a5a978bdba7244d33b18fa42ca4d6ec4ed30fd8ae2bca1157a4ed93a59753cb6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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}}"
|
data/.github/workflows/ruby.yml
CHANGED
|
@@ -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@
|
|
30
|
+
uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
|
|
28
31
|
with:
|
|
29
|
-
ruby-version:
|
|
30
|
-
|
|
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
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Shellable
|
|
1
|
+
# Shellable  [](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.
|
data/lib/shellable/version.rb
CHANGED
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.
|
|
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:
|
|
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
|
-
|
|
155
|
-
|
|
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:
|