relaton-gb 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,197 @@
1
+ # GbStandardNationalPrefix
2
+ GB:
3
+ prefix: GB_national
4
+ GBn:
5
+ prefix: GBn_confidential
6
+ GJB:
7
+ prefix: GJB_military
8
+ GSB:
9
+ prefix: GSB_physical
10
+
11
+ # GbStandardSectorPrefix
12
+ NY:
13
+ prefix: NY_agriculture
14
+ administration: 农业部
15
+ SC:
16
+ prefix: SC_aquatic
17
+ administration: 农业部
18
+ SL:
19
+ prefix: SL_water_resources
20
+ administration: 水利部
21
+ QB:
22
+ prefix: QB_light_industry
23
+ administration: 国家发改委
24
+ FZ:
25
+ prefix: FZ_textile
26
+ administration: 国家发改委
27
+ YY:
28
+ prefix: YY_medicine
29
+ administration: 国家食品药品监督管理局
30
+ MZ:
31
+ prefix: MZ_civil_affairs
32
+ administration: 民政部
33
+ JY:
34
+ prefix: JY_education
35
+ administration: 教育部
36
+ YC:
37
+ prefix: YC_tobacco
38
+ administration: 国家烟草专卖局
39
+ YB:
40
+ prefix: YB_ferrous_metallurgy
41
+ administration: 国家发改委
42
+ YS:
43
+ prefix: YS_nonferrous_metallurgy
44
+ administration: 国家发改委
45
+ SY:
46
+ prefix: SY_natural_gas
47
+ administration: 国家发改委
48
+ HG:
49
+ prefix: HG_chemical_industry
50
+ administration: 国家发改委
51
+ SH:
52
+ prefix: SH_petrochemical
53
+ administration: 国家发改委
54
+ JC:
55
+ prefix: JC_building_materials
56
+ administration: 国家发改委
57
+ DZ:
58
+ prefix: DZ_geological
59
+ administration: 国土资源部
60
+ TD:
61
+ prefix: TD_land_management
62
+ administration: 国土资源部
63
+ CH:
64
+ prefix: CH_surveying
65
+ administration: 国家测绘局
66
+ JB:
67
+ prefix: JB_mechanical
68
+ administration: 国家发改委
69
+ QC:
70
+ prefix: QC_automotile
71
+ administration: 国家发改委
72
+ MH:
73
+ prefix: MH_civil_aviation
74
+ administration: 中国民航管理总局
75
+ WJ:
76
+ prefix: WJ_ordnance
77
+ administration: 国防科学工业委员会
78
+ CB:
79
+ prefix: CB_ships
80
+ administration: 国防科学工业委员会
81
+ HB:
82
+ prefix: HB_aviation
83
+ administration: 国防科学工业委员会
84
+ QJ:
85
+ prefix: QJ_aerospace
86
+ administration: 国防科学工业委员会
87
+ EJ:
88
+ prefix: EJ_nuclear_industry
89
+ administration: 国防科学工业委员会
90
+ TB:
91
+ prefix: TB_rail_transport
92
+ administration: 铁道部
93
+ JT:
94
+ prefix: JT_traffic
95
+ administration: 交通部
96
+ LD:
97
+ prefix: LD_work_safety
98
+ administration: 劳动和社会保障部
99
+ SJ:
100
+ prefix: SJ_electronics
101
+ administration: 信息产业部
102
+ YD:
103
+ prefix: YD_communication
104
+ administration: 信息产业部
105
+ GY:
106
+ prefix: GY_media
107
+ administration: 国家广播电影电视总局
108
+ DL:
109
+ prefix: DL_electricity
110
+ administration: 国家发改委
111
+ JR:
112
+ prefix: JR_financial
113
+ administration: 中国人民银行
114
+ HY:
115
+ prefix: HY_oceanic
116
+ administration: 国家海洋局
117
+ DA:
118
+ prefix: DA_archiving
119
+ administration: 国家档案局
120
+ SN:
121
+ prefix: SN_inspection
122
+ administration: 国家质量监督检验检疫总局
123
+ WH:
124
+ prefix: WH_culture
125
+ administration: 文化部
126
+ TY:
127
+ prefix: TY_sports
128
+ administration: 国家体育总局
129
+ SB:
130
+ prefix: SB_business
131
+ administration: 商务部
132
+ WB:
133
+ prefix: WB_materials_management
134
+ administration: 国家发改委
135
+ HJ:
136
+ prefix: HJ_environment_protection
137
+ administration: 国家环境保护总局
138
+ XB:
139
+ prefix: XB_rare_earth
140
+ administration: 国家发改委稀土办公室
141
+ CJ:
142
+ prefix: CJ_town_construction
143
+ administration: 建设部
144
+ JG:
145
+ prefix: JG_construction_industry
146
+ administration: 建设部
147
+ CY:
148
+ prefix: CY_news_publishing
149
+ administration: 国家新闻出版总署
150
+ MT:
151
+ prefix: MT_coal
152
+ administration: 国家发改委
153
+ WS:
154
+ prefix: WS_health
155
+ administration: 卫生部
156
+ GA:
157
+ prefix: GA_public_safety
158
+ administration: 公安部
159
+ BB:
160
+ prefix: BB_packaging
161
+ administration: 国家发改委
162
+ DB:
163
+ prefix: DB_seismology
164
+ administration: 中国地震局
165
+ LB:
166
+ prefix: LB_tourism
167
+ administration: 国家旅游局
168
+ QX:
169
+ prefix: QX_meteorological
170
+ administration: 中国气象局
171
+ WM:
172
+ prefix: WM_foreign_trade
173
+ administration: 外经贸部科技司
174
+ HS:
175
+ prefix: HS_customs
176
+ administration: 海关总署
177
+ YZ:
178
+ prefix: YZ_postal
179
+ administration: 国家邮政局
180
+ GM:
181
+ prefix: GM_cryptography
182
+ administration: 国家密码管理局
183
+ AQ:
184
+ prefix: AQ_production_safety
185
+ administration: 国家安全生产管理局
186
+ GH:
187
+ prefix: GH_supply_marketing
188
+ administration: 中华全国供销合作总社
189
+ LS:
190
+ prefix: LS_food
191
+ administration: 国家粮食局
192
+ TJ:
193
+ prefix: TJ_railway_traffic
194
+ administration: 铁道部标准所
195
+ ZY:
196
+ prefix: ZY_chinese_medicine
197
+ administration: 国家中医药管理局
@@ -0,0 +1,39 @@
1
+
2
+ lib = File.expand_path("lib", __dir__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "relaton_gb/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "relaton-gb"
8
+ spec.version = RelatonGb::VERSION
9
+ spec.authors = ["Ribose Inc."]
10
+ spec.email = ["pen.source@ribose.com"]
11
+
12
+ spec.summary = "RelatonGb: retrieve Chinese GB Standards for bibliographic"\
13
+ " use using the BibliographicItem model."
14
+ spec.description = "RelatonGb: retrieve Chinese GB Standards for bibliographic"\
15
+ " use using the BibliographicItem model."
16
+ spec.homepage = "https://github.com/metanorma/relaton_gb"
17
+ spec.license = "BSD-2-Clause"
18
+
19
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
20
+ f.match(%r{^(test|spec|features)/})
21
+ end
22
+ spec.bindir = "exe"
23
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
+ spec.require_paths = ["lib"]
25
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
26
+
27
+ spec.add_development_dependency "bundler", "~> 2.0.1"
28
+ spec.add_development_dependency "debase"
29
+ spec.add_development_dependency "equivalent-xml", "~> 0.6"
30
+ spec.add_development_dependency "pry-byebug"
31
+ spec.add_development_dependency "rake", "~> 10.0"
32
+ spec.add_development_dependency "rspec", "~> 3.0"
33
+ spec.add_development_dependency "ruby-debug-ide"
34
+ spec.add_development_dependency "simplecov"
35
+
36
+ spec.add_dependency "cnccs", "~> 0.1.1"
37
+ spec.add_dependency "gb-agencies", "~> 0.0.1"
38
+ spec.add_dependency "relaton-iso-bib", "~> 0.1.0"
39
+ end
metadata ADDED
@@ -0,0 +1,229 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: relaton-gb
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Ribose Inc.
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-06-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 2.0.1
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 2.0.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: debase
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: equivalent-xml
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.6'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.6'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry-byebug
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '10.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '10.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '3.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '3.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: ruby-debug-ide
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: simplecov
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: cnccs
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 0.1.1
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 0.1.1
139
+ - !ruby/object:Gem::Dependency
140
+ name: gb-agencies
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: 0.0.1
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: 0.0.1
153
+ - !ruby/object:Gem::Dependency
154
+ name: relaton-iso-bib
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: 0.1.0
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: 0.1.0
167
+ description: 'RelatonGb: retrieve Chinese GB Standards for bibliographic use using
168
+ the BibliographicItem model.'
169
+ email:
170
+ - pen.source@ribose.com
171
+ executables: []
172
+ extensions: []
173
+ extra_rdoc_files: []
174
+ files:
175
+ - ".gitignore"
176
+ - ".hound.yml"
177
+ - ".rspec"
178
+ - ".rubocop.yml"
179
+ - ".travis.yml"
180
+ - Gemfile
181
+ - Gemfile.lock
182
+ - LICENSE.txt
183
+ - README.adoc
184
+ - Rakefile
185
+ - appveyor.yml
186
+ - bin/console
187
+ - bin/setup
188
+ - lib/relaton/processor.rb
189
+ - lib/relaton_gb.rb
190
+ - lib/relaton_gb/gb_bibliographic_item.rb
191
+ - lib/relaton_gb/gb_bibliography.rb
192
+ - lib/relaton_gb/gb_scrapper.rb
193
+ - lib/relaton_gb/gb_standard_type.rb
194
+ - lib/relaton_gb/gb_technical_committee.rb
195
+ - lib/relaton_gb/hit.rb
196
+ - lib/relaton_gb/hit_collection.rb
197
+ - lib/relaton_gb/scrapper.rb
198
+ - lib/relaton_gb/sec_scrapper.rb
199
+ - lib/relaton_gb/t_scrapper.rb
200
+ - lib/relaton_gb/version.rb
201
+ - lib/relaton_gb/xml_parser.rb
202
+ - lib/relaton_gb/yaml/prefixes.yaml
203
+ - relaton_gb.gemspec
204
+ homepage: https://github.com/metanorma/relaton_gb
205
+ licenses:
206
+ - BSD-2-Clause
207
+ metadata: {}
208
+ post_install_message:
209
+ rdoc_options: []
210
+ require_paths:
211
+ - lib
212
+ required_ruby_version: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - ">="
215
+ - !ruby/object:Gem::Version
216
+ version: 2.4.0
217
+ required_rubygems_version: !ruby/object:Gem::Requirement
218
+ requirements:
219
+ - - ">="
220
+ - !ruby/object:Gem::Version
221
+ version: '0'
222
+ requirements: []
223
+ rubyforge_project:
224
+ rubygems_version: 2.6.12
225
+ signing_key:
226
+ specification_version: 4
227
+ summary: 'RelatonGb: retrieve Chinese GB Standards for bibliographic use using the
228
+ BibliographicItem model.'
229
+ test_files: []