uk-hs_code 0.1.1 → 0.1.3

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: 3da63080141113f6a0de5d28178905c9534f4a6994e0ef27b644e9ffc91acc9e
4
+ data.tar.gz: 6c38e1ce4e3fe9a578b38346e3db3590d8ca86eafce9cc06d6533c1835a611a5
5
5
  SHA512:
6
- metadata.gz: afc85b9843f375c506388963f642753d40f07ae3643ce7e40186d269774f11496a0ff32068898fa9afea9a43067bbc034c8dead28e145850aa44980de9619e31
7
- data.tar.gz: 4ebdab36483084f291b75ca74f8268f71daa3aba5b6706d57069b96234a3c9c046627f565d66bf3931678155818e2618936233e0a9fb4aeb66c06227f6bcaffd
6
+ metadata.gz: bac45bb5c7d8f54c061da3c6278b75f2543e1d99865672860c14963ec2250ed49bb1ad27772c14405c4e7b8dab6c7a0fa2233ccd2f6f2297924d3379d6e65d85
7
+ data.tar.gz: 1135dcf855bf24a2a6df4d2c56e40ae54c783bbe97b681182e9db9e89d176035af73c3e2758ef8871614409f5ba511a6fd3edf096d6828564051272ee9c1c4f9
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,19 @@
1
+ # UK/Hs_code Contributing Guidelines
2
+
3
+ Thank you for your interest in contributing to our open source project! We appreciate your effort and to ensure that your contributions align with the goals of this project and are integrated smoothly, we ask that you follow these guidelines.
4
+
5
+ 1. **Commit Small, Commit Regularly:** Regular and smaller commits are preferred over large, infrequent commits. This makes the changes easier to review and troubleshoot.
6
+
7
+ 2. **Use Imperative Commands:** Your commit titles should succinctly describe the changes you've made. Prefix your commit titles with imperative commands such as: fix, refactor, add, and remove. This is because you should be able to suffix a commit message to the phrase: "If applied, this code will...".
8
+
9
+ A good practice is to structure your commit title like this: "[GitHub issue number] Add fields to hs record".
10
+
11
+ Keep It Brief - You're not writing a monologue, so keep it brief. As a general rule, a commit message should not exceed 50 characters.
12
+
13
+ 3. **Use Draft PRs for Ongoing Work:** If your pull request is not ready for review, please mark it as a draft. This indicates to the team that the changes are still in progress.
14
+
15
+ 4. **Request Reviews Before Merging:** When your pull request is ready, request a review from your team members. Reviews ensure that your changes are validated by others.
16
+
17
+ 5. **Address Review Feedback:** If a reviewer asks for changes or provides feedback, please respond promptly and incorporate necessary changes.
18
+
19
+ 6. **Merge Cautiously:** Once your pull request is reviewed and approved, ensure that it's merging into the correct branch and that it's up-to-date with the latest changes in that branch before merging.
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.3)
7
5
 
8
6
  GEM
9
7
  remote: https://rubygems.org/
@@ -22,7 +20,7 @@ GEM
22
20
  rainbow (3.1.1)
23
21
  rake (13.0.6)
24
22
  regexp_parser (2.7.0)
25
- rexml (3.2.5)
23
+ rexml (3.4.1)
26
24
  rspec (3.12.0)
27
25
  rspec-core (~> 3.12.0)
28
26
  rspec-expectations (~> 3.12.0)
@@ -52,10 +50,13 @@ GEM
52
50
  unicode-display_width (2.4.2)
53
51
 
54
52
  PLATFORMS
53
+ arm64-darwin-23
55
54
  x86_64-linux
56
55
 
57
56
  DEPENDENCIES
58
57
  pry
58
+ rake (~> 13.0)
59
+ rspec (~> 3.0)
59
60
  rubocop
60
61
  uk-hs_code!
61
62
 
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.3"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
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.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mateusz Michalski
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-04-24 00:00:00.000000000 Z
11
+ date: 2025-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -75,6 +75,7 @@ extra_rdoc_files: []
75
75
  files:
76
76
  - ".rspec"
77
77
  - ".rubocop.yml"
78
+ - CONTRIBUTING.md
78
79
  - Gemfile
79
80
  - Gemfile.lock
80
81
  - LICENSE.txt
@@ -107,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
108
  - !ruby/object:Gem::Version
108
109
  version: '0'
109
110
  requirements: []
110
- rubygems_version: 3.3.7
111
+ rubygems_version: 3.0.3.1
111
112
  signing_key:
112
113
  specification_version: 4
113
114
  summary: Enables communication with Trade Tariff Public API V2.