usps-support 0.1.4 → 0.1.6

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: 579d0a1a7188d4305acf917a423d824a9a261f5707b07f2caea392e6994198b6
4
- data.tar.gz: f8ec3a90614f2bcd454dade521e9c6c09a19a1688f13652c03e4186b7d87b568
3
+ metadata.gz: 423469418349198f6dd70d7faf7c943f7ebc29cb43e7e02571a8b183418a6ebe
4
+ data.tar.gz: 11f539dc406f83cb3b0e8c360f8871a2b19420f5f6a0377e4561f4a85fd9b5f6
5
5
  SHA512:
6
- metadata.gz: 1969c633d23cd2a8752fb9dba78de72ae8c1f91e7e0ffb79aeee2b6aca5aa4a90099176c3408788f40573757e0d8350a14754b2527e062798362c5da1e6e0193
7
- data.tar.gz: 87dc0eaf796524787a2caf5db7e9ef949cea1a80a79bbe036b37e970dd972e38ad68f5fde6184059d103e05c4cd1d6333f74655c74d20efacdc495e350526bd7
6
+ metadata.gz: 8dec3ad13bf5a597a4189ee9b144283518690e72254bd75e19fb168edfce01638d36a0b8248db88b4d4e89fb7912a8d757b4df37bc88f57c0bf20abb80d1c639
7
+ data.tar.gz: 459a0fa00e7a6db50d9b4b661b3c7be9cd52286effb0b1d623160b3a128626277af46fa774a392e8f2084195ad340ad7265647feebf184db543b5300d99e20e5
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- usps-support (0.1.4)
4
+ usps-support (0.1.6)
5
5
  sassc-rails
6
- usps-imis-api (~> 0.9.15)
6
+ usps-imis-api (~> 0.10.4)
7
7
  usps-jwt_auth (~> 1.0.0)
8
8
 
9
9
  GEM
@@ -189,7 +189,7 @@ GEM
189
189
  unicode-emoji (4.1.0)
190
190
  uri (1.0.4)
191
191
  useragent (0.16.11)
192
- usps-imis-api (0.9.15)
192
+ usps-imis-api (0.10.4)
193
193
  activesupport (~> 8.0)
194
194
  usps-jwt_auth (1.0.0)
195
195
  activesupport (~> 8.0)
data/Readme.md CHANGED
@@ -14,6 +14,24 @@ gem 'usps-support'
14
14
 
15
15
  ## Usage
16
16
 
17
+ ```ruby
18
+ # Include everything
19
+ require 'usps/all'
20
+
21
+ # Include helpers and general models
22
+ require 'usps/support'
23
+
24
+ # Include helpers and general models separately
25
+ require 'usps/support/helpers'
26
+ require 'usps/support/models'
27
+
28
+ # Include the iMIS API
29
+ require 'usps/imis'
30
+
31
+ # Include JWT Authentication
32
+ require 'usps/jwt_auth'
33
+ ```
34
+
17
35
  ```ruby
18
36
  module ApplicationHelper
19
37
  include Usps::Supoprt::Helpers::BadgesHelper
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Usps
4
4
  module Support
5
- VERSION = '0.1.4'
5
+ VERSION = '0.1.6'
6
6
  end
7
7
  end
data/lib/usps/support.rb CHANGED
@@ -5,7 +5,9 @@ require_relative 'support/version'
5
5
  module Usps
6
6
  # Shared helpers and general models for USPS Rails applications
7
7
  #
8
- module Support; end
8
+ module Support
9
+ def self.version = Gem::Version.new(VERSION)
10
+ end
9
11
  end
10
12
 
11
13
  require_relative 'support/helpers'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usps-support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Fiander
@@ -29,14 +29,14 @@ dependencies:
29
29
  requirements:
30
30
  - - "~>"
31
31
  - !ruby/object:Gem::Version
32
- version: 0.9.15
32
+ version: 0.10.4
33
33
  type: :runtime
34
34
  prerelease: false
35
35
  version_requirements: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: 0.9.15
39
+ version: 0.10.4
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: usps-jwt_auth
42
42
  requirement: !ruby/object:Gem::Requirement