blockspring 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/blockspring.rb +2 -2
- data/lib/blockspring/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c742bc005dd2cd402d34a17b507e60f8c72753af
|
4
|
+
data.tar.gz: e0d6b60af2996aba8cbaa412975b8f4dfd72bf6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78c740aad38e1860790d5147849c037456cac347b912e5a89f5df4bfd4fa52d4e04ba41bd30cc7af1493bc69b687be131d5d1f918939e2ceb150d942f5727d61
|
7
|
+
data.tar.gz: f58698472924808c1f0362cd9cbe94fcd62babe2068d7c11d5096b982dbe7f7ba40c695d83a3c6149fcd50f08a9d43c2174d073158abdc06da0e21d37d2c7855
|
data/lib/blockspring.rb
CHANGED
@@ -88,7 +88,7 @@ module Blockspring
|
|
88
88
|
block = block.split("/")[-1]
|
89
89
|
|
90
90
|
begin
|
91
|
-
response = RestClient.post "
|
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 "
|
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
|
data/lib/blockspring/version.rb
CHANGED
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.
|
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:
|
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.
|
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.
|