blockspring 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
  SHA1:
3
- metadata.gz: 6f9300da8c89dc588c7ba063837a3526193d0f80
4
- data.tar.gz: 5d1cd62f90d2e67963b9c9f3485f85b773a1346d
3
+ metadata.gz: c742bc005dd2cd402d34a17b507e60f8c72753af
4
+ data.tar.gz: e0d6b60af2996aba8cbaa412975b8f4dfd72bf6c
5
5
  SHA512:
6
- metadata.gz: bc774e071b1e48cd62f073a3a8e99eedc8d9c7bb42c42ec5a9cd4fd17f7ad12d184a12a29f82434cdec85024d33c66f1de2ac38e8f142ecc9a7e8f73e977e2a5
7
- data.tar.gz: 9ad9b568f998010bbe6f18964a65e1d1821a8f0eb18385f8d7e14da51b3474e5a4a3fcc60f8b84140c4e16b72efcf28a7c080568195896934be79afd14142cb4
6
+ metadata.gz: 78c740aad38e1860790d5147849c037456cac347b912e5a89f5df4bfd4fa52d4e04ba41bd30cc7af1493bc69b687be131d5d1f918939e2ceb150d942f5727d61
7
+ data.tar.gz: f58698472924808c1f0362cd9cbe94fcd62babe2068d7c11d5096b982dbe7f7ba40c695d83a3c6149fcd50f08a9d43c2174d073158abdc06da0e21d37d2c7855
@@ -88,7 +88,7 @@ module Blockspring
88
88
  block = block.split("/")[-1]
89
89
 
90
90
  begin
91
- response = RestClient.post "https://sender.blockspring.com/api_v2/blocks/#{block}?api_key=#{api_key}", data, :content_type => :json
91
+ response = RestClient.post "#{blockspring_url}/api_v2/blocks/#{block}?api_key=#{api_key}", data, :content_type => :json
92
92
  rescue => e
93
93
  response = e.response
94
94
  end
@@ -113,7 +113,7 @@ module Blockspring
113
113
  block = block.split("/")[-1]
114
114
 
115
115
  begin
116
- response = RestClient.post "https://sender.blockspring.com/api_v2/blocks/#{block}?api_key=#{api_key}", data, :content_type => :json
116
+ response = RestClient.post "#{blockspring_url}/api_v2/blocks/#{block}?api_key=#{api_key}", data, :content_type => :json
117
117
  rescue => e
118
118
  response = e.response
119
119
  end
@@ -1,3 +1,3 @@
1
1
  module Blockspring
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blockspring
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
  - Don Pinkus
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-12-08 00:00:00.000000000 Z
13
+ date: 2015-01-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  version: '0'
72
72
  requirements: []
73
73
  rubyforge_project:
74
- rubygems_version: 2.2.2
74
+ rubygems_version: 2.4.3
75
75
  signing_key:
76
76
  specification_version: 4
77
77
  summary: This gem lets you locally define a Blockspring function.