zapier_ruby 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 268a9222d1497987d42c40a1ff508f24fd10d2fe
4
- data.tar.gz: 0da16b069457ba8eebda84c5198b93844934ab7a
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZTRmZmQyM2I0ZGRkNWM1MGFmNzM3ZTYxM2Y1YWY4NTVhNjEzZTZjNw==
5
+ data.tar.gz: !binary |-
6
+ ZWZjNTY0M2MxMWI1NWExNTYwMmMxOGNhNmQyYmM3MjRmM2IwMDk2YQ==
5
7
  SHA512:
6
- metadata.gz: 5e1de88c43f9af9746ed0912a73d5e205a110c151d8a91d481b84629641fe0a14e8a0ee2cfaa3ab571405ea43f06e4315235868149013c07b5e9209a60283e3d
7
- data.tar.gz: 621f902315e2dafef48ae81af4d2179f55f5ba32ec8fd15c9d3740c3b92efd127d275bd15bebf91a4335e71796ea19a16f905bf2917c02c0a1fdbdca211adb3a
8
+ metadata.gz: !binary |-
9
+ YTA1MmViNWMyOGM5ZjMwOWQ4MTc4MzUwZmMyYzliYzRkNWJkNzE4MGI3Nzhj
10
+ ODRkYmFlZDNiZDRmYzcyNzFjNGJjNTg0NzE1NjAyZGZlOWM2ZDQxZDA0ZDVi
11
+ OWViZTAzZWU3YjQwOTcxYzU3NWNmYjRlMWZiNWZkOGYxN2E4NmI=
12
+ data.tar.gz: !binary |-
13
+ ZDgxN2Q5ZTNiZTBlNmExMzMxZDU1OTljYjdhMzAxYWRhMjUwOTM0MzJjNTk2
14
+ MzkzNGJhMWUxMjI1MmQ5NGNmNjAyYzljZjE3N2Q4ZWQxZmIwYTRjN2ExMjYz
15
+ ZmVhNjg1YzJmMGY3ZWYwNjBlMWJiN2RmZWVhZDY0NjIxNTJiMDU=
data/README.md CHANGED
@@ -54,7 +54,7 @@ Each param you send can be used by Zapier, so include all of the information req
54
54
  If you are using ZapierRuby with Rails, I'd recommend using creating an initializer (ex. config/intializers/zapier_ruby.rb) and with the following:
55
55
 
56
56
  ```
57
- ZapierRuby.configure.do |c|
57
+ ZapierRuby.configure do |c|
58
58
  c.web_hooks = {example_zap: "zap_webhook_id"}
59
59
  end
60
60
  ```
@@ -13,7 +13,7 @@ module ZapierRuby
13
13
  begin
14
14
  config_yaml = YAML::load(IO.read(path_to_yaml_file))
15
15
  reconfigure(config_yaml)
16
- rescue Exception => e
16
+ rescue StandardError => e
17
17
  logger.error "YAML configuration file cannot be loaded. Using defaults. Error :#{e.message}"
18
18
  return
19
19
  end
@@ -1,3 +1,3 @@
1
1
  module ZapierRuby
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -21,7 +21,7 @@ module ZapierRuby
21
21
  begin
22
22
  rest_client.post(params, zap_headers)
23
23
  true
24
- rescue Exception => e
24
+ rescue StandardError => e
25
25
  logger.error "Unable to post to Zapier url: #{zap_url} with params: #{params.to_s}. Error: #{e.message}"
26
26
  false
27
27
  end
data/zapier_ruby.gemspec CHANGED
@@ -18,7 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
+ spec.add_dependency "rest-client"
22
+
21
23
  spec.add_development_dependency "bundler", "~> 1.7"
22
24
  spec.add_development_dependency "rake", "~> 10.0"
23
- spec.add_development_dependency "rest-client"
24
25
  end
metadata CHANGED
@@ -1,57 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zapier_ruby
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
  - David Peterson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-12 00:00:00.000000000 Z
11
+ date: 2015-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: bundler
14
+ name: rest-client
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
- version: '1.7'
20
- type: :development
19
+ version: '0'
20
+ type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
- version: '1.7'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rake
28
+ name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '1.7'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '1.7'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rest-client
42
+ name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '10.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '10.0'
55
55
  description: Simple gem to integrate Zapier webhooks with a Ruby project.
56
56
  email:
57
57
  - pete2786@umn.edu
@@ -60,8 +60,8 @@ executables:
60
60
  extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
- - ".gitignore"
64
- - ".zapier_ruby.yml.example"
63
+ - .gitignore
64
+ - .zapier_ruby.yml.example
65
65
  - Gemfile
66
66
  - LICENSE.txt
67
67
  - README.md
@@ -83,17 +83,17 @@ require_paths:
83
83
  - lib
84
84
  required_ruby_version: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - ">="
86
+ - - ! '>='
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  requirements:
91
- - - ">="
91
+ - - ! '>='
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
94
  requirements: []
95
95
  rubyforge_project:
96
- rubygems_version: 2.4.5
96
+ rubygems_version: 2.2.4
97
97
  signing_key:
98
98
  specification_version: 4
99
99
  summary: Simple gem to integrate Zapier webhooks with a Ruby project.