blockspring 0.0.3 → 0.0.4

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: ec78e591f079dee66f3eb2ae395457ca9bff491a
4
- data.tar.gz: 26c21db69c8b4c945b44c551fe42d4a03ca1f824
3
+ metadata.gz: 41887b832ad789ba57992fedb1ee44041c6de8c3
4
+ data.tar.gz: 668fed9e9e3c54feb4cdd1fb8476dc60f942f53c
5
5
  SHA512:
6
- metadata.gz: 3fc30637ddac01ad93f2b931e065aeca92a542687e8aa48dc6f1500c872a0f96a541910c8c2ae9ea3e3457caa3d3e3e20197e5c1e061b8e25a974fc8c5a9fd28
7
- data.tar.gz: 4e81f5740e1917564204a0c58b40e3498677559c71605f0255468050daee5a036f61593be33a1de0408a94af44e1db163cc8d44ae333bbaa5205ac2d2ebbe3ca
6
+ metadata.gz: 6415d9bf99c04d716272e1f1c8726eee154fb021225872116cf8027d6afa750c76ebaec86169ae63e09cdd74e92acdddb5c29a4eea0ae42facbf43fa1634f3eb
7
+ data.tar.gz: 2f166168a518694c505e8e0228dd793baf76dbe8a725bf415a4ca9cea7772bd789a52be9428bffd9a612506bef606b2ff24bc6c2dcec368e4ddd2ec2b20abf3e
data/.gitignore CHANGED
@@ -1 +1,2 @@
1
1
  .DS_Store
2
+ *.gem
data/blockspring.gemspec CHANGED
@@ -4,7 +4,7 @@ require 'blockspring/version'
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'blockspring'
7
- spec.version = Blockspring::VERSION
7
+ spec.version = Blockspring::VERSION
8
8
  spec.date = '2014-10-22'
9
9
  spec.summary = "This gem lets you locally define a Blockspring function."
10
10
  spec.description = "Gem for defining Blockspring functions locally."
data/lib/blockspring.rb CHANGED
@@ -14,7 +14,7 @@ module Blockspring
14
14
  block_parts = block.split("/")
15
15
  block = block_parts[block_parts.length - 1]
16
16
 
17
- response = RestClient.post "https://sender.blockspring.com/api_v1/blocks/#{block}?api_key=#{api_key}", data.to_json, :content_type => :json, :accept => :json
17
+ response = RestClient.post "https://sender.blockspring.com/api_v2/blocks/#{block}?api_key=#{api_key}", data.to_json, :content_type => :json, :accept => :json
18
18
 
19
19
  body = JSON.parse(response.body)
20
20
 
@@ -82,4 +82,4 @@ module Blockspring
82
82
  puts @result.to_json
83
83
  end
84
84
  end
85
- end
85
+ end
@@ -1,3 +1,3 @@
1
1
  module Blockspring
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
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.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Don Pinkus