opensms 0.1.0 → 0.1.1

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: a17384937f73b877c763bb9b088637508a42b0a31dd2bb3fa729cbafa264877a
4
- data.tar.gz: 7b69b1f9c8775fc52f5487decd20e56794f57b397828835a1a7d724277e7491b
3
+ metadata.gz: 62b7296228035302126b6ce561fc0dcef546d23283505b7b0bd223e8a27afade
4
+ data.tar.gz: f369d654c4121fc07bdea60a72b82903e1961fb27dee2f271715d63a91f72508
5
5
  SHA512:
6
- metadata.gz: f5aec7b0fa7ea901aaa99c775ba7ccb00e323a27300b2be33e6e591104ac36a20bc8540f8d74d3a983696815de678a2df7d42d9b24647576ec4d6178ae74183f
7
- data.tar.gz: a9afec572d9b9e706d40653ec5045c76b79f4a2a818f745cf68cffb1f69bfb9aa546d7fc84bdd5b1cea78ba2aceffbb108ce169523c0d4d6bb866606d4c08401
6
+ metadata.gz: 0eb3d9123b598d562954b0b94733c52cb0319d391f411275f28cbe98343b98811035bdda63fa9f0cc40773a03eb09ccd384a8ab9739386768b6b71e0c6d031e7
7
+ data.tar.gz: 07c20355606887035154d6e01bdb05cfd41072eaa5480419d0bcd34f952d271ed3f72c6dd35511971d2196ced085767abadaf79d0686992e6d7f28f625744f7a
data/README.md CHANGED
@@ -13,7 +13,7 @@ gem "opensms"
13
13
 
14
14
  Not on RubyGems yet: until then, install from this checkout with
15
15
  `gem "opensms", path: "path/to/sdks/packages/ruby"` in your Gemfile, or
16
- `gem build opensms.gemspec && gem install ./opensms-0.1.0.gem`.
16
+ `gem build opensms.gemspec && gem install ./opensms-0.1.1.gem`.
17
17
 
18
18
  ## Usage
19
19
 
@@ -44,7 +44,7 @@ module Opensms
44
44
  attr_reader :base_url
45
45
 
46
46
  # @param api_key [String] required; "sk_test_..." or "sk_live_..."
47
- # @param base_url [String] default "https://api.opensms.io"
47
+ # @param base_url [String] default "https://opensms.io"
48
48
  # @param timeout [Numeric] per-attempt timeout in seconds, default 30
49
49
  # @param max_retries [Integer] retries after the first attempt, default 2
50
50
  # @param http_client [#call, nil] replaces the Net::HTTP adapter (see {Opensms::NetHttpClient})
@@ -48,7 +48,7 @@ module Opensms
48
48
  # timeouts, retries with backoff, and turning non-2xx responses into
49
49
  # {Opensms::Error}. Resources depend on this, never on Net::HTTP directly.
50
50
  class Transport
51
- DEFAULT_BASE_URL = "https://api.opensms.io"
51
+ DEFAULT_BASE_URL = "https://opensms.io"
52
52
  USER_AGENT = "opensms-ruby/#{VERSION}"
53
53
  RETRY_STATUSES = [429, 500, 502, 503, 504].freeze
54
54
  MAX_RETRY_AFTER = 60
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Opensms
4
4
  # The gem version. Bumped on release; tags use the `ruby-v*` prefix.
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opensms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenSMS