usps-rails 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 1d8c5df1768f181bd846d906e7a8a2062cb9dfb4e00f055dd6009d01f9781165
4
+ data.tar.gz: af769a368081f8c45c47cbc5b3d5cd7739d3c4e2666f9da8d135f888f18bf295
5
+ SHA512:
6
+ metadata.gz: '041295e1848603e44fdf636b9279d80c590971bccde9ee60f2a7dd9de9d1efef1abb6401cf849cc630d3699304ec74a644272c22dc061d756224750ab43a6676'
7
+ data.tar.gz: '029f95e15c702431dbdfec24332168c527612f555804e4d579ee598fe8b523cb2e8952a987e437cc67db7ba001fbb261826187ba748acc6c6ea8e1ce992319d0'
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.4.6
data/Gemfile.lock ADDED
@@ -0,0 +1,143 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ usps-rails (0.1.0)
5
+ usps-imis-api (~> 0.9, >= 0.9.15)
6
+ usps-jwt_auth (~> 1.0, >= 1.0.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activesupport (8.1.0)
12
+ base64
13
+ bigdecimal
14
+ concurrent-ruby (~> 1.0, >= 1.3.1)
15
+ connection_pool (>= 2.2.5)
16
+ drb
17
+ i18n (>= 1.6, < 2)
18
+ json
19
+ logger (>= 1.4.2)
20
+ minitest (>= 5.1)
21
+ securerandom (>= 0.3)
22
+ tzinfo (~> 2.0, >= 2.0.5)
23
+ uri (>= 0.13.1)
24
+ ast (2.4.3)
25
+ base64 (0.3.0)
26
+ bigdecimal (3.3.1)
27
+ colorize (1.1.0)
28
+ concurrent-ruby (1.3.5)
29
+ connection_pool (2.5.4)
30
+ date (3.4.1)
31
+ diff-lcs (1.6.2)
32
+ docile (1.4.1)
33
+ drb (2.2.3)
34
+ erb (5.1.3)
35
+ fileutils (1.7.3)
36
+ i18n (1.14.7)
37
+ concurrent-ruby (~> 1.0)
38
+ io-console (0.8.1)
39
+ irb (1.15.2)
40
+ pp (>= 0.6.0)
41
+ rdoc (>= 4.0.0)
42
+ reline (>= 0.4.2)
43
+ json (2.15.2)
44
+ jwt (3.1.2)
45
+ base64
46
+ language_server-protocol (3.17.0.5)
47
+ lint_roller (1.1.0)
48
+ logger (1.7.0)
49
+ minitest (5.26.0)
50
+ parallel (1.27.0)
51
+ parser (3.3.10.0)
52
+ ast (~> 2.4.1)
53
+ racc
54
+ pp (0.6.3)
55
+ prettyprint
56
+ prettyprint (0.2.0)
57
+ prism (1.6.0)
58
+ psych (5.2.6)
59
+ date
60
+ stringio
61
+ racc (1.8.1)
62
+ rainbow (3.1.1)
63
+ rake (13.3.0)
64
+ rdoc (6.15.0)
65
+ erb
66
+ psych (>= 4.0.0)
67
+ tsort
68
+ regexp_parser (2.11.3)
69
+ reline (0.6.2)
70
+ io-console (~> 0.5)
71
+ rspec (3.13.2)
72
+ rspec-core (~> 3.13.0)
73
+ rspec-expectations (~> 3.13.0)
74
+ rspec-mocks (~> 3.13.0)
75
+ rspec-core (3.13.6)
76
+ rspec-support (~> 3.13.0)
77
+ rspec-expectations (3.13.5)
78
+ diff-lcs (>= 1.2.0, < 2.0)
79
+ rspec-support (~> 3.13.0)
80
+ rspec-mocks (3.13.6)
81
+ diff-lcs (>= 1.2.0, < 2.0)
82
+ rspec-support (~> 3.13.0)
83
+ rspec-support (3.13.6)
84
+ rubocop (1.81.6)
85
+ json (~> 2.3)
86
+ language_server-protocol (~> 3.17.0.2)
87
+ lint_roller (~> 1.1.0)
88
+ parallel (~> 1.10)
89
+ parser (>= 3.3.0.2)
90
+ rainbow (>= 2.2.2, < 4.0)
91
+ regexp_parser (>= 2.9.3, < 3.0)
92
+ rubocop-ast (>= 1.47.1, < 2.0)
93
+ ruby-progressbar (~> 1.7)
94
+ unicode-display_width (>= 2.4.0, < 4.0)
95
+ rubocop-ast (1.47.1)
96
+ parser (>= 3.3.7.2)
97
+ prism (~> 1.4)
98
+ rubocop-rake (0.7.1)
99
+ lint_roller (~> 1.1)
100
+ rubocop (>= 1.72.1)
101
+ rubocop-rspec (3.7.0)
102
+ lint_roller (~> 1.1)
103
+ rubocop (~> 1.72, >= 1.72.1)
104
+ ruby-progressbar (1.13.0)
105
+ securerandom (0.4.1)
106
+ simplecov (0.22.0)
107
+ docile (~> 1.1)
108
+ simplecov-html (~> 0.11)
109
+ simplecov_json_formatter (~> 0.1)
110
+ simplecov-html (0.13.2)
111
+ simplecov_json_formatter (0.1.4)
112
+ stringio (3.1.7)
113
+ tsort (0.2.0)
114
+ tzinfo (2.0.6)
115
+ concurrent-ruby (~> 1.0)
116
+ unicode-display_width (3.2.0)
117
+ unicode-emoji (~> 4.1)
118
+ unicode-emoji (4.1.0)
119
+ uri (1.0.4)
120
+ usps-imis-api (0.9.15)
121
+ activesupport (~> 8.0)
122
+ usps-jwt_auth (1.0.0)
123
+ activesupport (~> 8.0)
124
+ colorize (~> 1.1)
125
+ fileutils (~> 1.7)
126
+ jwt (~> 3.1)
127
+
128
+ PLATFORMS
129
+ arm64-darwin-24
130
+ ruby
131
+
132
+ DEPENDENCIES
133
+ irb
134
+ rake (~> 13.0)
135
+ rspec (~> 3.0)
136
+ rubocop (~> 1.81)
137
+ rubocop-rake (~> 0.7)
138
+ rubocop-rspec (~> 3.7)
139
+ simplecov (~> 0.22)
140
+ usps-rails!
141
+
142
+ BUNDLED WITH
143
+ 2.7.2
data/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # Usps::Rails
2
+
3
+ TODO: Delete this and the text below, and describe your gem
4
+
5
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/usps/rails`. To experiment with that code, run `bin/console` for an interactive prompt.
6
+
7
+ ## Installation
8
+
9
+ TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
10
+
11
+ Install the gem and add to the application's Gemfile by executing:
12
+
13
+ ```bash
14
+ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
15
+ ```
16
+
17
+ If bundler is not being used to manage dependencies, install the gem by executing:
18
+
19
+ ```bash
20
+ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
21
+ ```
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ 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.
30
+
31
+ 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).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/usps-rails.
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require 'rubocop/rake_task'
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Usps
4
+ module Rails
5
+ VERSION = '0.1.0'
6
+ end
7
+ end
data/lib/usps/rails.rb ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'rails/version'
4
+
5
+ module Usps
6
+ module Rails
7
+ class Error < StandardError; end
8
+ # Your code goes here...
9
+ end
10
+ end
@@ -0,0 +1,6 @@
1
+ module Usps
2
+ module Rails
3
+ VERSION: String
4
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
5
+ end
6
+ end
metadata ADDED
@@ -0,0 +1,88 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: usps-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Julian Fiander
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: usps-jwt_auth
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '1.0'
19
+ - - ">="
20
+ - !ruby/object:Gem::Version
21
+ version: 1.0.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - "~>"
27
+ - !ruby/object:Gem::Version
28
+ version: '1.0'
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: 1.0.0
32
+ - !ruby/object:Gem::Dependency
33
+ name: usps-imis-api
34
+ requirement: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - "~>"
37
+ - !ruby/object:Gem::Version
38
+ version: '0.9'
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: 0.9.15
42
+ type: :runtime
43
+ prerelease: false
44
+ version_requirements: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '0.9'
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: 0.9.15
52
+ description: Shared configuration for USPS Rails applications
53
+ email:
54
+ - jsfiander@gmail.com
55
+ executables: []
56
+ extensions: []
57
+ extra_rdoc_files: []
58
+ files:
59
+ - ".ruby-version"
60
+ - Gemfile.lock
61
+ - README.md
62
+ - Rakefile
63
+ - lib/usps/rails.rb
64
+ - lib/usps/rails/version.rb
65
+ - sig/usps/rails.rbs
66
+ homepage: https://github.com/unitedstatespowersquadrons/usps-rails
67
+ licenses: []
68
+ metadata:
69
+ homepage_uri: https://github.com/unitedstatespowersquadrons/usps-rails
70
+ rubygems_mfa_required: 'true'
71
+ rdoc_options: []
72
+ require_paths:
73
+ - lib
74
+ required_ruby_version: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: 3.4.0
79
+ required_rubygems_version: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ requirements: []
85
+ rubygems_version: 3.7.2
86
+ specification_version: 4
87
+ summary: USPS Rails Configuration
88
+ test_files: []