mootool 0.1.0 → 0.1.1

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
2
  SHA256:
3
- metadata.gz: ef531c9ada953ff11d3a146970e1d92b685e499cd65d14c66af18ef3d65aed6c
4
- data.tar.gz: 907b8dcadf9d5ed376f9850126f006d8cce27b11fcf4f543b7dbfbf853d4a38f
3
+ metadata.gz: a2019f99762e8acd1f6f735602d93f3e59f6acdd7eda241e3a40e84520203c61
4
+ data.tar.gz: 22f553c5e5813feb8d17b250de87c6c1b62b9e9851404325ea1327183a108611
5
5
  SHA512:
6
- metadata.gz: 186606d385d6a82c675cb31724c08695927dac94dc940570b244d2ede26e05bc87118607228e2366073dab94727c12847459658bccf1d108a073ee77cad96ac4
7
- data.tar.gz: '03691c2682f2288907351217b7e7a7da58cee543f60cc174729a4d57d9c7c3c65ebfa4f3d3ae3fd9aa41c5daa63efcf094939c2e53a4f3ed7b592b32a20f5b30'
6
+ metadata.gz: daaa8b73460e97ee642079f59063da7720ae5b467a4567ed0e304f68321b36fa6773821949c5173cea58927a4b364bd15a6044fc788e8b64b8cf1b5e6805493d
7
+ data.tar.gz: 34cb737c853452882b9b9e956af61218f0a774d41ed57bc034490caf42136e9b13d5d8b386254a9a14ebd7872a742a7418fae684d3f1cbad34ea33cb28951d26
@@ -0,0 +1,37 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: CI Build
9
+
10
+ on:
11
+ push:
12
+ branches: [ main ]
13
+ pull_request:
14
+ branches: [ main ]
15
+
16
+ jobs:
17
+ test:
18
+
19
+ runs-on: ubuntu-latest
20
+ strategy:
21
+ matrix:
22
+ ruby-version: ['2.6', '2.7', '3.0']
23
+
24
+ steps:
25
+ - uses: actions/checkout@v2
26
+ - name: Set up Ruby
27
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
28
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
29
+ # uses: ruby/setup-ruby@v1
30
+ uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
31
+ with:
32
+ ruby-version: ${{ matrix.ruby-version }}
33
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
34
+ - name: Run tests
35
+ run: bundle exec rake
36
+ - name: Rubocop
37
+ run: bundle exec rubocop
@@ -0,0 +1,46 @@
1
+ name: Ruby Gem
2
+
3
+ on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
+ branches: [ main ]
8
+
9
+ jobs:
10
+ build:
11
+ name: Build + Publish
12
+ runs-on: ubuntu-latest
13
+ environment: gem
14
+ permissions:
15
+ contents: read
16
+ packages: write
17
+
18
+ steps:
19
+ - uses: actions/checkout@v2
20
+ - name: Set up Ruby 2.6
21
+ uses: actions/setup-ruby@v1
22
+ with:
23
+ ruby-version: 2.6.x
24
+
25
+ - name: Publish to GPR
26
+ run: |
27
+ mkdir -p $HOME/.gem
28
+ touch $HOME/.gem/credentials
29
+ chmod 0600 $HOME/.gem/credentials
30
+ printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
31
+ gem build *.gemspec
32
+ gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
33
+ env:
34
+ GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
35
+ OWNER: ${{ github.repository_owner }}
36
+
37
+ - name: Publish to RubyGems
38
+ run: |
39
+ mkdir -p $HOME/.gem
40
+ touch $HOME/.gem/credentials
41
+ chmod 0600 $HOME/.gem/credentials
42
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
43
+ gem build *.gemspec
44
+ gem push *.gem
45
+ env:
46
+ GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
data/Gemfile.lock CHANGED
@@ -2,7 +2,7 @@ PATH
2
2
  remote: .
3
3
  specs:
4
4
  mootool (0.1.0)
5
- ruby-macho
5
+ ruby-macho (~> 3)
6
6
  sorbet-runtime
7
7
 
8
8
  GEM
@@ -63,7 +63,6 @@ PLATFORMS
63
63
  x86_64-darwin-21
64
64
 
65
65
  DEPENDENCIES
66
- bundler (> 2)
67
66
  mootool!
68
67
  overcommit
69
68
  rake
@@ -71,7 +70,6 @@ DEPENDENCIES
71
70
  rubocop
72
71
  rubocop-rake
73
72
  rubocop-rspec
74
- ruby-macho
75
73
  sorbet
76
74
 
77
75
  BUNDLED WITH
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MooTool
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
data/mootool.gemspec CHANGED
@@ -18,8 +18,6 @@ Gem::Specification.new do |spec|
18
18
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
19
19
  # to allow pushing to a single host or delete this section to allow pushing to any host.
20
20
  if spec.respond_to?(:metadata)
21
- spec.metadata['allowed_push_host'] = 'https://rubygems.org'
22
-
23
21
  spec.metadata['homepage_uri'] = spec.homepage
24
22
  spec.metadata['source_code_uri'] = 'https://github.com/hack-different/mootool'
25
23
  spec.metadata['changelog_uri'] = 'https://github.com/hack-different/mootool'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mootool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rick Mark
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-27 00:00:00.000000000 Z
11
+ date: 2022-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sorbet-runtime
@@ -46,6 +46,8 @@ executables:
46
46
  extensions: []
47
47
  extra_rdoc_files: []
48
48
  files:
49
+ - ".github/workflows/ci.yml"
50
+ - ".github/workflows/gem-push.yml"
49
51
  - ".gitignore"
50
52
  - ".rspec"
51
53
  - ".ruby-version"
@@ -80,11 +82,10 @@ homepage: https://github.com/hack-different/mootool
80
82
  licenses:
81
83
  - MIT
82
84
  metadata:
83
- allowed_push_host: https://rubygems.org
84
85
  homepage_uri: https://github.com/hack-different/mootool
85
86
  source_code_uri: https://github.com/hack-different/mootool
86
87
  changelog_uri: https://github.com/hack-different/mootool
87
- post_install_message:
88
+ post_install_message:
88
89
  rdoc_options: []
89
90
  require_paths:
90
91
  - lib
@@ -99,8 +100,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
100
  - !ruby/object:Gem::Version
100
101
  version: '0'
101
102
  requirements: []
102
- rubygems_version: 3.2.22
103
- signing_key:
103
+ rubygems_version: 3.0.3.1
104
+ signing_key:
104
105
  specification_version: 4
105
106
  summary: Mach-O's Other Tool
106
107
  test_files: []