stellar-base 0.7.0 → 0.8.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2573b85e05493d6ea37ee5b5e32a0f451def641
4
- data.tar.gz: 356f56b464c92278003ec6b0919f5b43aad75c26
3
+ metadata.gz: 4cef3f6d9972583a5ceb97a6611cca77c2d01ed1
4
+ data.tar.gz: 4c3ebf486791dbeb335d66a4d6714ca37eedf66a
5
5
  SHA512:
6
- metadata.gz: 43d57688edfa8efab749cde7ecc8b95ad4489baef3698f9d5a6ce7102dc269ecf4b379c978efdb93d1f06904cf13d48a2c984af0b8576d56606941850a4b2935
7
- data.tar.gz: 8bce3e96e695024aa7dd2feffa808bf0a56534af5d093e1bc1204bcb413331e1911f3a3c9a389f976ae5b1e082410cac38b2b3c239ba1dd673d63f6776a773b1
6
+ metadata.gz: b988d06e8f45b43d9b6454f4762d2e47f0c6669b03d8d4a3d222077620ede8bc022d0682f7f9ab2140e284ff8bdec5ad3822d28c488697895181e37594ef7513
7
+ data.tar.gz: 99378da3a90dd973acd51fc692289e2176266b1ad2d1c0b2f1a62b9183c8dc1c8864246b8f46146d1fd49bfdf7a8ad121a217a791c5bdc71723873b6db7e33f4
data/CHANGELOG.md CHANGED
@@ -6,6 +6,13 @@ file. This project adheres to [Semantic Versioning](http://semver.org/).
6
6
  As this project is pre 1.0, breaking changes may happen for minor version
7
7
  bumps. A breaking change will get clearly notified in this log.
8
8
 
9
+ ## [unreleased](https://github.com/stellar/ruby-stellar-base/compare/v0.7.0...master)
10
+
11
+ ### Changed
12
+ - BREAKING CHANGE: The default network for this library is now the stellar test network.
13
+ To enable this library for the production network use `Stellar.default_network = Stellar::Networks::PUBLIC`
14
+ at the head of your script or in your configuration function.
15
+
9
16
  ## [0.7.0](https://github.com/stellar/ruby-stellar-base/compare/v0.6.1...v0.7.0)
10
17
 
11
18
  ### Changed
@@ -1,5 +1,5 @@
1
1
  module Stellar
2
2
  module Base
3
- VERSION = "0.7.0"
3
+ VERSION = "0.8.0"
4
4
  end
5
5
  end
@@ -25,7 +25,7 @@ module Stellar
25
25
  def self.current_network
26
26
  Thread.current["stellar_network_passphrase"] ||
27
27
  @default_network ||
28
- Stellar::Networks::PUBLIC
28
+ Stellar::Networks::TESTNET
29
29
  end
30
30
 
31
31
  # Returns the id for the currently configured network, suitable for use in generating
@@ -16,7 +16,7 @@ describe Stellar, ".current_network" do
16
16
  after(:each){ Stellar.default_network = nil }
17
17
 
18
18
  it "returns the public network absent any other configuration" do
19
- expect(Stellar.current_network).to eql(Stellar::Networks::PUBLIC)
19
+ expect(Stellar.current_network).to eql(Stellar::Networks::TESTNET)
20
20
  end
21
21
 
22
22
  it "returns the default network if configured and not within a call to on_network" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stellar-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Fleckenstein
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-02 00:00:00.000000000 Z
11
+ date: 2015-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xdr