inventos_streak 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 386fc9b3ef69aad997756a2bba7b7b6d4016fe4a
4
- data.tar.gz: 95fa22bb4da5206d0ddf7fa954763997058e1cb7
3
+ metadata.gz: 20a5e119409274635e81f66a1b884ce99c16d65e
4
+ data.tar.gz: ebc2d6f1ba82265b65758d1487adc3724ad9fc88
5
5
  SHA512:
6
- metadata.gz: 12f89da61f6553388861c5b450d0675dcdfb956708fc8a4187b81bb299eb10b95e2c3cd9c4fd59501a8d3571187e94420bc47abf42de26c44805460641349b1b
7
- data.tar.gz: c7026617d3d3a9b684137fbb786fac88aa869bcd73ff38f90cf3fae4a6e1550d1c4f442ac846d42f8636e947c2005ca08b74b1ac590ac5f05b718dc569898713
6
+ metadata.gz: 36a1c3ac620941017a9ea2ea8adc6df453cc84856132394c993d7be32f013039f88691baf66ff0b9e76533267b3792dfe83406b73a950ca7e816550722dd55a2
7
+ data.tar.gz: 4e69e4c487c4c6e067b54d345e18c483d1df794a1c4a41d530ed182470871140c95d296358847a79d40643d38bc07900f66612caafae20ca5a984c5b3015bab9
@@ -32,6 +32,8 @@ module InventosStreak
32
32
  end
33
33
 
34
34
  define_method "#{attr}_json" do |path, body|
35
+ url = "#{base_url}/#{path}"
36
+ puts "#{attr} #{url}"
35
37
  HTTParty.send attr, "#{base_url}/#{path}", basic_auth: configuration.basic_auth, body: body.to_json, headers: { 'Content-Type' => 'application/json' }
36
38
  end
37
39
  end
@@ -3,7 +3,7 @@ class InventosStreak::Field < InventosStreak::Base
3
3
 
4
4
  belongs_to :pipeline
5
5
 
6
- def add_tags tags
6
+ def add_tags tags
7
7
  if self.type == "TAG"
8
8
  InventosStreak.post_json self.final_path, {
9
9
  tagSettings: {
@@ -1,3 +1,3 @@
1
1
  module InventosStreak
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inventos_streak
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ariel Schvartz