sc2cli 0.1.1 → 0.1.2

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: b5e7e044e438a27214a1f52ab892e144e101b07ae056c52466a36f2122420e90
4
- data.tar.gz: 252edb3d02524d197632731c0d81e45a942e68202f73c0ac33976c423a85567e
3
+ metadata.gz: 8a92faf1c407adc5ddf4420ab96669c7d791611e7e49599e6c8a7efb9d614dd9
4
+ data.tar.gz: 7f031afa121692a0fdfbf41368ac47ba268e18ca379aa777432d8bce29062537
5
5
  SHA512:
6
- metadata.gz: a97ed19c46035b255f515f7ca8f74a2562c3170aa4bbd654effd28820aab4c4265c453c149c5a2630cda18694bf86863ebc0c145e294014d30211cc14ee7d66d
7
- data.tar.gz: b4fc2a0d6928b5feb0d0179837b7e6c3557a561001965bfd163a9a40c0a1f72e1305596f54531bd6853b435b5feb66a61307c660423c39a86ad9aea0f60bcc07
6
+ metadata.gz: 99aedc0a43310a41e534c9fb5730b27fd40aad1050485791458a6bba04f3bf52e00005ec18c269aaff937043024eb6a14fc114c1843a0dd9636c6bd27b9e11c1
7
+ data.tar.gz: 21cb07b09fe21f768db5e462229ceb282726f31f3fa59bc2c4e508588f39ee0081befe18a87746a5f6c4f05991da7265482d9f6b4eb63c1c0b9b0f085bc8f143
data/.gitignore CHANGED
@@ -21,8 +21,3 @@
21
21
  /tmp/
22
22
 
23
23
  ###############################################################################
24
-
25
- /archlinux/
26
- !/archlinux/PKGBUILD
27
-
28
- ###############################################################################
data/.gitlab-ci.yml CHANGED
@@ -1,37 +1,8 @@
1
1
  ###############################################################################
2
2
 
3
- image: ruby
4
-
5
- ###############################################################################
6
-
7
- stages:
8
- - test
9
- - publish
10
-
11
- ###############################################################################
12
-
13
- test:
14
- stage : test
15
- script:
16
- - echo "-- Beginning Test --"
17
- - echo "-- Tests not implemented yet --"
18
-
19
- ###############################################################################
20
-
21
- deploy:
22
- rules:
23
- - if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+$/'
24
- stage: publish
25
- script:
26
- - echo "-- Beginning Publish --"
27
- - test -n "${GEM_HOST_API_KEY}"
28
- - echo "RubyGems API key found!"
29
- - hash rake
30
- - hash ruby
31
- - hash gem
32
- - echo "-- Publishing Gem --"
33
- - rake release
34
- - echo "-- Listing Sums --"
35
- - sha256sum "pkg"/*.gem
3
+ include:
4
+ - project: 'bitservices/gitlab/ruby'
5
+ ref: latest
6
+ file: '/templates/gems.yml'
36
7
 
37
8
  ###############################################################################
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --require spec_helper
data/Gemfile CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  ###############################################################################
6
6
 
7
- source "https://rubygems.org"
7
+ source 'https://rubygems.org'
8
8
 
9
9
  ###############################################################################
10
10
 
data/Rakefile CHANGED
@@ -11,3 +11,11 @@ require "bundler/gem_tasks"
11
11
  task default: %i[]
12
12
 
13
13
  ###############################################################################
14
+
15
+ begin
16
+ require "rspec/core/rake_task"
17
+ RSpec::Core::RakeTask.new(:spec)
18
+ rescue LoadError
19
+ end
20
+
21
+ ###############################################################################
data/avatar-0.png ADDED
Binary file
data/avatar-1.png ADDED
Binary file
@@ -1,13 +1,7 @@
1
1
  ###############################################################################
2
2
 
3
3
  module SC2Cli
4
-
5
- ###############################################################################
6
-
7
- VERSION = "0.1.1"
8
-
9
- ###############################################################################
10
-
4
+ VERSION = '0.1.2'
11
5
  end
12
6
 
13
7
  ###############################################################################
data/sc2cli.gemspec CHANGED
@@ -4,33 +4,35 @@
4
4
 
5
5
  ###############################################################################
6
6
 
7
- require_relative "lib/sc2cli/version"
7
+ require_relative 'lib/sc2cli/version'
8
8
 
9
9
  ###############################################################################
10
10
 
11
11
  Gem::Specification.new do |spec|
12
- spec.name = "sc2cli"
12
+ spec.name = 'sc2cli'
13
13
  spec.version = SC2Cli::VERSION
14
- spec.authors = ["Richard Lees"]
15
- spec.email = ["git0@bitservices.io"]
14
+ spec.authors = ['Richard Lees']
15
+ spec.email = ['git0@bitservices.io']
16
16
 
17
- spec.summary = "A command line utility for accessing the StarCraft 2 API written in Ruby."
18
- spec.description = "A command line utility for accessing the StarCraft 2 API written in Ruby. Supports league boundaries, player league details, player match history and more."
19
- spec.homepage = "https://gitlab.com/rlees85-ruby/sc2cli/"
20
- spec.license = "MIT"
17
+ spec.summary = 'A command line utility for accessing the StarCraft 2 API written in Ruby.'
18
+ spec.description = 'A command line utility for accessing the StarCraft 2 API written in Ruby. Supports league boundaries, player league details, player match history and more.'
19
+ spec.homepage = 'https://gitlab.com/bitservices/ruby/sc2cli/'
20
+ spec.license = 'MIT'
21
21
 
22
- spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
22
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.6.0')
23
23
 
24
- spec.metadata["homepage_uri"] = spec.homepage
25
- spec.metadata["source_code_uri"] = spec.homepage
24
+ spec.metadata['homepage_uri'] = spec.homepage
25
+ spec.metadata['source_code_uri'] = spec.homepage
26
26
 
27
27
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
28
28
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:archlinux|test|spec|features)/}) or f.match(%r{\Aavatar(?:_group)?\.png\z}) }
29
29
  end
30
30
 
31
- spec.bindir = "exe"
31
+ spec.bindir = 'exe'
32
32
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
33
- spec.require_paths = ["lib"]
33
+ spec.require_paths = ['lib']
34
+
35
+ spec.add_development_dependency 'rspec', '~> 3.10'
34
36
  end
35
37
 
36
38
  ###############################################################################
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sc2cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Lees
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-27 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2022-07-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rspec
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.10'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.10'
13
27
  description: A command line utility for accessing the StarCraft 2 API written in Ruby.
14
28
  Supports league boundaries, player league details, player match history and more.
15
29
  email:
@@ -21,9 +35,12 @@ extra_rdoc_files: []
21
35
  files:
22
36
  - ".gitignore"
23
37
  - ".gitlab-ci.yml"
38
+ - ".rspec"
24
39
  - Gemfile
25
40
  - LICENSE.txt
26
41
  - Rakefile
42
+ - avatar-0.png
43
+ - avatar-1.png
27
44
  - bin/console
28
45
  - bin/setup
29
46
  - exe/sc2
@@ -57,12 +74,12 @@ files:
57
74
  - lib/sc2cli/subcommands/season.rb
58
75
  - lib/sc2cli/version.rb
59
76
  - sc2cli.gemspec
60
- homepage: https://gitlab.com/rlees85-ruby/sc2cli/
77
+ homepage: https://gitlab.com/bitservices/ruby/sc2cli/
61
78
  licenses:
62
79
  - MIT
63
80
  metadata:
64
- homepage_uri: https://gitlab.com/rlees85-ruby/sc2cli/
65
- source_code_uri: https://gitlab.com/rlees85-ruby/sc2cli/
81
+ homepage_uri: https://gitlab.com/bitservices/ruby/sc2cli/
82
+ source_code_uri: https://gitlab.com/bitservices/ruby/sc2cli/
66
83
  post_install_message:
67
84
  rdoc_options: []
68
85
  require_paths:
@@ -78,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
95
  - !ruby/object:Gem::Version
79
96
  version: '0'
80
97
  requirements: []
81
- rubygems_version: 3.2.22
98
+ rubygems_version: 3.3.7
82
99
  signing_key:
83
100
  specification_version: 4
84
101
  summary: A command line utility for accessing the StarCraft 2 API written in Ruby.