uk-hs_code 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +4 -2
- data/lib/uk/hs_code/version.rb +1 -1
- data/uk-hs_code.gemspec +43 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b1b52e93fe6030f5caa8a3b2da29d7eec5e162a35aeebf91666433941c41f58
|
4
|
+
data.tar.gz: fc7c3a5197f249f23150563555f42842389922b8d9141f2131a3195da19aeaeb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 476b71a60ff70e5945d0cd6ba5b820d58eaedf1de8b31a8788160be549aa6228ee07d0ac3c16d8319d15da5204153df9c6cf022322f1af33eaa5e54fa5536cfc
|
7
|
+
data.tar.gz: 66d3efeff1efa29f000bbedd402fe6e1d67089e8b8093a1e2cb9554bfc8788e4921ec47199647155079f7a609c8daac4f886fb86a60bb5dba053487afe84aec6
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
uk-hs_code (0.1.
|
5
|
-
rake (~> 13.0)
|
6
|
-
rspec (~> 3.0)
|
4
|
+
uk-hs_code (0.1.2)
|
7
5
|
|
8
6
|
GEM
|
9
7
|
remote: https://rubygems.org/
|
@@ -56,6 +54,8 @@ PLATFORMS
|
|
56
54
|
|
57
55
|
DEPENDENCIES
|
58
56
|
pry
|
57
|
+
rake (~> 13.0)
|
58
|
+
rspec (~> 3.0)
|
59
59
|
rubocop
|
60
60
|
uk-hs_code!
|
61
61
|
|
data/README.md
CHANGED
@@ -34,6 +34,8 @@ And:
|
|
34
34
|
|
35
35
|
> refs = Uk::HsCode.search_hs_codes('carpet')
|
36
36
|
|
37
|
+
> refs.inspect
|
38
|
+
|
37
39
|
# => [#<Uk::HsCode::Record code="8451808000", title="carpet cleaning machines liquid injection">,
|
38
40
|
#<Uk::HsCode::Record code="4008000000", title="carpet underlay, rubber">,
|
39
41
|
#<Uk::HsCode::Record code="5402000000", title="carpet yarn, of man-made filaments">]
|
@@ -42,13 +44,13 @@ And:
|
|
42
44
|
|
43
45
|
## Development
|
44
46
|
|
45
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
47
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. To test with static code analyzer, run `rake rubocop`. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
46
48
|
|
47
49
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
48
50
|
|
49
51
|
## Contributing
|
50
52
|
|
51
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
53
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/enigmatt-pl/uk-hs_code.
|
52
54
|
|
53
55
|
## License
|
54
56
|
|
data/lib/uk/hs_code/version.rb
CHANGED
data/uk-hs_code.gemspec
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "lib/uk/hs_code/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "uk-hs_code"
|
7
|
+
spec.version = Uk::HsCode::VERSION
|
8
|
+
spec.authors = ["Mateusz Michalski"]
|
9
|
+
spec.email = ["enigmatt.priv@gmail.com"]
|
10
|
+
|
11
|
+
spec.summary = "Enables communication with Trade Tariff Public API V2."
|
12
|
+
spec.description = "Trade Tariff Public API V2 communicator."
|
13
|
+
spec.homepage = "https://github.com/enigmatt-pl/uk-hs_code.git"
|
14
|
+
spec.license = "MIT"
|
15
|
+
spec.required_ruby_version = ">= 2.6.0"
|
16
|
+
|
17
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
19
|
+
spec.metadata["changelog_uri"] = spec.homepage
|
20
|
+
|
21
|
+
# Specify which files should be added to the gem when it is released.
|
22
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
23
|
+
spec.files = Dir.chdir(__dir__) do
|
24
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
25
|
+
(f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|circleci)|appveyor)})
|
26
|
+
end
|
27
|
+
end
|
28
|
+
spec.bindir = "exe"
|
29
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
30
|
+
spec.require_paths = ["lib"]
|
31
|
+
|
32
|
+
spec.add_development_dependency "pry"
|
33
|
+
spec.add_development_dependency "rubocop"
|
34
|
+
|
35
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
36
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
37
|
+
|
38
|
+
# Uncomment to register a new dependency of your gem
|
39
|
+
# spec.add_dependency "example-gem", "~> 1.0"
|
40
|
+
|
41
|
+
# For more information and examples about making a new gem, check out our
|
42
|
+
# guide at: https://bundler.io/guides/creating_gem.html
|
43
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uk-hs_code
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mateusz Michalski
|
@@ -85,6 +85,7 @@ files:
|
|
85
85
|
- lib/uk/hs_code/record.rb
|
86
86
|
- lib/uk/hs_code/version.rb
|
87
87
|
- sig/uk/hs_code.rbs
|
88
|
+
- uk-hs_code.gemspec
|
88
89
|
homepage: https://github.com/enigmatt-pl/uk-hs_code.git
|
89
90
|
licenses:
|
90
91
|
- MIT
|