songstats-api 0.1.4 → 0.1.6

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: cdd71b08ec8e829360c0d0a42eeebb89ecb14973a06c2e12010b0b0541aedfb4
4
- data.tar.gz: d27d0a80d47ae16c3a5320786790da1b7477cfc945ce7e2836239f0cfcbc4479
3
+ metadata.gz: 631e5890119c395e9658f0aab8686783f65dc32206a3d86979bf10416a6a40a4
4
+ data.tar.gz: 0ee09d130e9d16fa11e4cb8f603552dae02c89b15b7a9b15e8759cf36e2c5d92
5
5
  SHA512:
6
- metadata.gz: c1629c98e4d0b7c165092c69189e81474757a1db5e92087c682610594fdb9b4da08014c3d5d767bfc7bc533bd241f1235c0a989fc3329e5b65bf782e3d566765
7
- data.tar.gz: b4f739e33268c1bfb5f0ff09c6bb1809cd1dc628f84263bd688407c0d74f7f7fc5d32d30c39fa742732df0e9668fbaae83380286803255e4eb29aa4ac3e340a1
6
+ metadata.gz: a6c86527fc9403fc0b9c2a4d8dcc14a769cd0bf677f0cddf149e1d5b113549c2389eb2c02ed4072981f368789474eb0767ff7f0e4573d6b482330e310583465f
7
+ data.tar.gz: 4f7b2736789d797de57f0e15e97defba5bc3f2e76868785812f4fbe60202e3f6bc95c58272d5e6f598bd8316cae227b8e20603b86a22efab670b7d49b971d991
@@ -6,7 +6,7 @@ jobs:
6
6
  build:
7
7
  runs-on: ubuntu-latest
8
8
  steps:
9
- - uses: actions/checkout@v2
9
+ - uses: actions/checkout@v4
10
10
  - name: Set up Ruby
11
11
  uses: ruby/setup-ruby@v1
12
12
  with:
@@ -16,20 +16,3 @@ jobs:
16
16
  gem install bundler -v 2.2.3
17
17
  bundle install
18
18
  bundle exec rake
19
- publish:
20
- needs: build
21
- runs-on: ubuntu-latest
22
- steps:
23
- - uses: actions/checkout@v2
24
- - name: Set up Ruby
25
- uses: ruby/setup-ruby@v1
26
- with:
27
- ruby-version: 3.0.0
28
- - name: Run the publish task
29
- run: |
30
- gem install bundler -v 2.2.3
31
- bundle install
32
- gem build
33
- gem push --key github --file *.gem
34
- env:
35
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,24 @@
1
+ name: Release Gem
2
+ on: workflow_dispatch
3
+ jobs:
4
+ publish:
5
+ runs-on: ubuntu-latest
6
+ steps:
7
+ - uses: actions/checkout@v4
8
+ - name: Set up Ruby
9
+ uses: ruby/setup-ruby@v1
10
+ with:
11
+ ruby-version: 3.0.0
12
+ - name: tests
13
+ run: |
14
+ gem install bundler -v 2.2.3
15
+ bundle install
16
+ bundle exec rake
17
+ - name: Run the publish task
18
+ run: |
19
+ git config --global user.email "daryl.findlay@songtradr.com"
20
+ git config --global user.name "Daryl Findlay - Songtradr - GitHub Actions"
21
+ bundle exec rake build
22
+ bundle exec rake release
23
+ env:
24
+ RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- songstats-api (0.1.4)
4
+ songstats-api (0.1.6)
5
5
  httparty
6
6
 
7
7
  GEM
@@ -65,6 +65,8 @@ GEM
65
65
  mutex_m (0.2.0)
66
66
  nokogiri (1.16.4-arm64-darwin)
67
67
  racc (~> 1.4)
68
+ nokogiri (1.16.4-x86_64-linux)
69
+ racc (~> 1.4)
68
70
  parallel (1.24.0)
69
71
  parser (3.3.0.5)
70
72
  ast (~> 2.4.1)
@@ -138,6 +140,7 @@ GEM
138
140
 
139
141
  PLATFORMS
140
142
  arm64-darwin-22
143
+ x86_64-linux
141
144
 
142
145
  DEPENDENCIES
143
146
  dotenv-rails
data/LICENSE.md ADDED
@@ -0,0 +1,7 @@
1
+ Copyright 2024 Songtradr
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Songstats
4
4
  module Api
5
- VERSION = "0.1.4"
5
+ VERSION = "0.1.6"
6
6
  end
7
7
  end
@@ -12,6 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.description = "A simple API wrapper for the Songstats API"
13
13
  spec.homepage = "https://github.com/songtradr/songstats-api"
14
14
  spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
15
+ spec.licenses = ['MIT']
15
16
 
16
17
  # spec.metadata["allowed_push_host"] = "https://rubygems.pkg.github.com/songtradr"
17
18
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: songstats-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daryl Findlay
@@ -34,12 +34,14 @@ files:
34
34
  - ".env.example"
35
35
  - ".env.test"
36
36
  - ".github/workflows/main.yml"
37
+ - ".github/workflows/publish.yml"
37
38
  - ".gitignore"
38
39
  - ".rspec"
39
40
  - ".rubocop.yml"
40
41
  - CODE_OF_CONDUCT.md
41
42
  - Gemfile
42
43
  - Gemfile.lock
44
+ - LICENSE.md
43
45
  - README.md
44
46
  - Rakefile
45
47
  - bin/console
@@ -52,7 +54,8 @@ files:
52
54
  - lib/songstats/api/version.rb
53
55
  - songstats-api.gemspec
54
56
  homepage: https://github.com/songtradr/songstats-api
55
- licenses: []
57
+ licenses:
58
+ - MIT
56
59
  metadata:
57
60
  homepage_uri: https://github.com/songtradr/songstats-api
58
61
  source_code_uri: https://github.com/songtradr/songstats-api