songstats-api 0.1.4 → 1.0.0

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: 66741cd74c3ee019128ba6db6949579b1f53b952f3ddb4e10a50983611b9f42a
4
+ data.tar.gz: 908d890645fa89d1ef8cb44d79992ace241ffb8e6bb08b44ac982ef755d6c738
5
5
  SHA512:
6
- metadata.gz: c1629c98e4d0b7c165092c69189e81474757a1db5e92087c682610594fdb9b4da08014c3d5d767bfc7bc533bd241f1235c0a989fc3329e5b65bf782e3d566765
7
- data.tar.gz: b4f739e33268c1bfb5f0ff09c6bb1809cd1dc628f84263bd688407c0d74f7f7fc5d32d30c39fa742732df0e9668fbaae83380286803255e4eb29aa4ac3e340a1
6
+ metadata.gz: a35f5bb1e66c5d4f5a34f639023cb91d5d04f6d78218c1a698fbab51dea0f59fd4b94d02321b7560c7c9d5575d53a6e55d8c77e75fb24ab6f837541d5405de7c
7
+ data.tar.gz: e8d2da614c14d5fe10a5339ced1521ea1319bef67f26f708455c2e37bf50f96c3cb44a49bc5424bf28bbdbaa10f35971cd41850e993ac39b24040edb2787eca8
@@ -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 (1.0.0)
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 = "1.0.0"
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: 1.0.0
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