bronto 0.1.3 → 0.1.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 +4 -4
- data/bronto.gemspec +3 -0
- data/lib/bronto/list.rb +4 -1
- data/lib/bronto/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c681496d7016c12c58c845bb6ab4015023cadb5e
|
|
4
|
+
data.tar.gz: a8fcc747ccf3adb5be9eca0b9702c4cfeedf9e3c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3463350ab61e037b53800d411241fa52613729381a5d69ad4e4858aa296fd9d237765120fe7436d05febb80ba1a440f87e640c6cfbb2bc01e035fe474d3436dd
|
|
7
|
+
data.tar.gz: cbdb62c5c2374f8fee881c15e834515afa5ce15f64c88eac6189b6ce4ccc907f925370af7b3487fe701fa8598510f3691d06bdd298af966fbcfdc1e2828130b0
|
data/bronto.gemspec
CHANGED
data/lib/bronto/list.rb
CHANGED
|
@@ -59,9 +59,12 @@ module Bronto
|
|
|
59
59
|
return false if !self.id.present?
|
|
60
60
|
contacts = contacts.flatten
|
|
61
61
|
|
|
62
|
+
# The block below is evaluated in a weird scope so we need to capture self as _self for use inside the block.
|
|
63
|
+
_self = self
|
|
64
|
+
|
|
62
65
|
resp = request("remove_from_list") do
|
|
63
66
|
soap.body = {
|
|
64
|
-
list:
|
|
67
|
+
list: _self.to_hash,
|
|
65
68
|
contacts: contacts.map(&:to_hash)
|
|
66
69
|
}
|
|
67
70
|
end
|
data/lib/bronto/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bronto
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Martin Gordon
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-05-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: savon
|
|
@@ -97,8 +97,9 @@ files:
|
|
|
97
97
|
- test/list_test.rb
|
|
98
98
|
- test/message_test.rb
|
|
99
99
|
- test/test_helper.rb
|
|
100
|
-
homepage:
|
|
101
|
-
licenses:
|
|
100
|
+
homepage: https://github.com/martingordon/bronto-ruby
|
|
101
|
+
licenses:
|
|
102
|
+
- MIT
|
|
102
103
|
metadata: {}
|
|
103
104
|
post_install_message:
|
|
104
105
|
rdoc_options: []
|