gsdkcp-tool 0.1.1 → 0.1.8

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: c636d87519a26dcccd17130ad5ecf2220f24a5f5a1c4087af92ee24771829b2d
4
- data.tar.gz: ecb2d0076249758faea925fbabeadb707637e6c40553f0a06d878b45cb4dc844
3
+ metadata.gz: e2de5467617cb3c0b0aa4fa4bc730466f46254a4a5625a80a7a103517cd212d4
4
+ data.tar.gz: 57ee31ef32f549e5330d214f34f3d5206c110fe805a08b6114c6c487c1478338
5
5
  SHA512:
6
- metadata.gz: db40ca348e45fea9f3307c7298d508668dba951d0733dabe0581acad993a29e1683332bacbf523a6007347fee7bfda1deb55f16c721b138d299ef4a458ecb75b
7
- data.tar.gz: 720b13a2e12705a8473b599df69393c0a69263d84d82d951665e6cdd738db5fb40906b7873426b1b15dec599208aafdefa3ca45ee9293d5d9eb05016d51421f5
6
+ metadata.gz: bd3f34d9d2ef0d84056d0f23c58c724d3d362d33e39edd9c89a54124d25a702dd186ea1e0be51c7866661b1c65109feaf2f2409fc5aa0091f4768f670e1217c7
7
+ data.tar.gz: 6d17c69ab8c50cbc80673b071dcd61600d56bdfb69b149494d04bde947237478fc865789b097f23ff645ee0afc613f76abb313f92785dbdcd18997dbe9da0794
@@ -0,0 +1,8 @@
1
+ gems:
2
+ - gsdkcp-tool
3
+ gems_publish_hooks:
4
+ gsdkcp-tool:
5
+ gem_public_finished:
6
+ - echo 'gem_public_finished'
7
+ - sh ./after_publish.sh
8
+
data/after_publish.sh ADDED
@@ -0,0 +1,22 @@
1
+ echo "gem_name: ${gem_name}"
2
+ echo "repo_gem_path: ${repo_gem_path}"
3
+ echo "version: ${version}"
4
+
5
+ token='rubygems_0f4c3f26217209cf584f88c9940c1f9955dde80ef06f6f90'
6
+ pkg_path="./${gem_name}-${version}.gem"
7
+
8
+ if [[ ! -e ${pkg_path} ]]; then
9
+ echo "${pkg_path} package not found"
10
+ exit -1
11
+ fi
12
+
13
+ result=$(curl --data-binary "@${pkg_path}" \
14
+ -H "Authorization:${token}" \
15
+ -H 'Content-Type: application/octet-stream' \
16
+ https://rubygems.org/api/v1/gems)
17
+
18
+ echo "push result: ${result}"
19
+
20
+ if [[ ! $result = 'Successfully*' ]]; then
21
+ exit -1
22
+ fi
data/lib/gcpt/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module GCPT
2
- VERSION = "0.1.1"
2
+ VERSION = '0.1.8'
3
3
  end
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gsdkcp-tool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - zhangjinquan
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
11
  date: 2022-03-01 00:00:00.000000000 Z
@@ -46,6 +46,7 @@ executables:
46
46
  extensions: []
47
47
  extra_rdoc_files: []
48
48
  files:
49
+ - ".bits/bits_gems.yaml"
49
50
  - ".gitignore"
50
51
  - ".travis.yml"
51
52
  - CODE_OF_CONDUCT.md
@@ -53,6 +54,7 @@ files:
53
54
  - LICENSE.txt
54
55
  - README.md
55
56
  - Rakefile
57
+ - after_publish.sh
56
58
  - bin/console
57
59
  - bin/setup
58
60
  - exe/gsdkcp-tool
@@ -74,7 +76,7 @@ metadata:
74
76
  homepage_uri: https://gdev.nvsgames.cn/home
75
77
  source_code_uri: https://gdev.nvsgames.cn/home
76
78
  changelog_uri: https://gdev.nvsgames.cn/home
77
- post_install_message:
79
+ post_install_message:
78
80
  rdoc_options: []
79
81
  require_paths:
80
82
  - lib
@@ -89,8 +91,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
91
  - !ruby/object:Gem::Version
90
92
  version: '0'
91
93
  requirements: []
92
- rubygems_version: 3.0.9
93
- signing_key:
94
+ rubygems_version: 3.0.3
95
+ signing_key:
94
96
  specification_version: 4
95
97
  summary: CLI tool for GSDK integration.
96
98
  test_files: []