songstats-api 0.1.2 → 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: 9fa3797433bca0a8a69163fa716f8fdb6dc6d69d5fb9e2e1bbffbf83e93ec0b9
4
- data.tar.gz: 6edbac0da2a2d988d180a496049fd7438b6d0a69c3142d4a59be633ccb6cc27c
3
+ metadata.gz: 631e5890119c395e9658f0aab8686783f65dc32206a3d86979bf10416a6a40a4
4
+ data.tar.gz: 0ee09d130e9d16fa11e4cb8f603552dae02c89b15b7a9b15e8759cf36e2c5d92
5
5
  SHA512:
6
- metadata.gz: 9be0af756f135448cc120f51fd0806f4a346bd2b5abe2451730aad83806fedf20983c085faf7d210f7a0227ec4257142b6c74313e8f973b3b69450c54f024794
7
- data.tar.gz: 1626fc5ce83eae810ed746aa1b38f19a43ea1a9faa6510ea6cd517313cafa51feb64f2a06a4461cb92196eafed265773008766d0059b11b3c3830b7c8d058e61
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:
@@ -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/.gitignore CHANGED
@@ -7,6 +7,7 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
  .env
10
+ *.gem
10
11
 
11
12
  # rspec failure tracking
12
13
  .rspec_status
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- songstats-api (0.1.2)
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.2"
5
+ VERSION = "0.1.6"
6
6
  end
7
7
  end
@@ -6,14 +6,15 @@ Gem::Specification.new do |spec|
6
6
  spec.name = "songstats-api"
7
7
  spec.version = Songstats::Api::VERSION
8
8
  spec.authors = ["Daryl Findlay"]
9
- spec.email = ["darylfindlay@gmail.com"]
9
+ spec.email = ["daryl.findlay@songtradr.com"]
10
10
 
11
11
  spec.summary = "A simple API wrapper for the Songstats API"
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
- # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
17
+ # spec.metadata["allowed_push_host"] = "https://rubygems.pkg.github.com/songtradr"
17
18
 
18
19
  spec.metadata["homepage_uri"] = spec.homepage
19
20
  spec.metadata["source_code_uri"] = "https://github.com/songtradr/songstats-api"
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.2
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daryl Findlay
@@ -26,7 +26,7 @@ dependencies:
26
26
  version: '0'
27
27
  description: A simple API wrapper for the Songstats API
28
28
  email:
29
- - darylfindlay@gmail.com
29
+ - daryl.findlay@songtradr.com
30
30
  executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
@@ -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