uk-hs_code 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: 0afc982cf397f38b6c446ed385719496cae73dcc525c0c5c69d2ebf4a321377e
4
- data.tar.gz: 60dc6714013f2b3aa242f1f9b3e95da10575a936170059fc6904cc4004872efc
3
+ metadata.gz: 4b1b52e93fe6030f5caa8a3b2da29d7eec5e162a35aeebf91666433941c41f58
4
+ data.tar.gz: fc7c3a5197f249f23150563555f42842389922b8d9141f2131a3195da19aeaeb
5
5
  SHA512:
6
- metadata.gz: afc85b9843f375c506388963f642753d40f07ae3643ce7e40186d269774f11496a0ff32068898fa9afea9a43067bbc034c8dead28e145850aa44980de9619e31
7
- data.tar.gz: 4ebdab36483084f291b75ca74f8268f71daa3aba5b6706d57069b96234a3c9c046627f565d66bf3931678155818e2618936233e0a9fb4aeb66c06227f6bcaffd
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.0)
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/[USERNAME]/uk-hs_code.
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
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Uk
4
4
  module HsCode
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
@@ -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.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