cn-gb2260 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,56 +1,28 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cn-gb2260
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
- - matark
7
+ - razeos at tossdev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-24 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: minitest
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '5.11'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '5.11'
27
- - !ruby/object:Gem::Dependency
28
- name: mercenary
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: 0.3.6
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: 0.3.6
11
+ date: 2023-06-12 00:00:00.000000000 Z
12
+ dependencies: []
41
13
  description:
42
- email: matark@naver.com
43
- executables:
44
- - gb2260
14
+ email:
15
+ executables: []
45
16
  extensions: []
46
17
  extra_rdoc_files: []
47
18
  files:
48
- - bin/gb2260
19
+ - lib/cn-gb2260.rb
49
20
  - lib/cn/gb2260.rb
21
+ - lib/gb2260.json
50
22
  - lib/gb2260.rb
51
23
  - lib/gb2260/division.rb
52
24
  - lib/gb2260/version.rb
53
- homepage: https://opensource.matark.de/gb2260
25
+ homepage: https://gb2260.vercel.app
54
26
  licenses:
55
27
  - MIT
56
28
  metadata: {}
@@ -69,8 +41,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
41
  - !ruby/object:Gem::Version
70
42
  version: '0'
71
43
  requirements: []
72
- rubygems_version: 3.0.3
44
+ rubygems_version: 3.1.2
73
45
  signing_key:
74
46
  specification_version: 4
75
- summary: A simple library for looking-up administrative divisions
47
+ summary: List administrative divisions
76
48
  test_files: []
data/bin/gb2260 DELETED
@@ -1,26 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'gb2260'
4
- require 'mercenary'
5
-
6
- if Gem.try_activate('pry')
7
- require 'pry'
8
- end
9
-
10
- Mercenary.program(:gb2260) do |program|
11
- program.version GB2260::VERSION
12
- program.syntax 'gb2260 latest.json'
13
-
14
- program.action do |args, options|
15
- args[0].then { |_| _ || Dir['.gb2260{/**/*,}.json'].last }
16
- .then { |_| _ || %{#{Dir.home}/.gb2260.json} }
17
- .then { |_| GB2260.load_file!(_) }
18
-
19
- if defined?(Pry)
20
- Pry.start
21
- else
22
- require 'irb'
23
- IRB.start(__FILE__)
24
- end
25
- end
26
- end