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 +13 -5
- data/README.md +1 -1
- data/lib/zapier_ruby/config.rb +1 -1
- data/lib/zapier_ruby/version.rb +1 -1
- data/lib/zapier_ruby/zapper.rb +1 -1
- data/zapier_ruby.gemspec +2 -1
- metadata +23 -23
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ZTRmZmQyM2I0ZGRkNWM1MGFmNzM3ZTYxM2Y1YWY4NTVhNjEzZTZjNw==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ZWZjNTY0M2MxMWI1NWExNTYwMmMxOGNhNmQyYmM3MjRmM2IwMDk2YQ==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
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
|
57
|
+
ZapierRuby.configure do |c|
|
58
58
|
c.web_hooks = {example_zap: "zap_webhook_id"}
|
59
59
|
end
|
60
60
|
```
|
data/lib/zapier_ruby/config.rb
CHANGED
@@ -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
|
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
|
data/lib/zapier_ruby/version.rb
CHANGED
data/lib/zapier_ruby/zapper.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2015-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rest-client
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ! '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
20
|
-
type: :
|
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: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
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: '
|
40
|
+
version: '1.7'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
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
|
-
-
|
64
|
-
-
|
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
|
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.
|