pocus 0.5.3 → 0.6.0
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 +5 -5
- data/README.md +0 -1
- data/lib/pocus/identity.rb +1 -1
- data/lib/pocus/resource.rb +8 -0
- data/lib/pocus/session.rb +2 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 396f44e8108918dbdec0f510bbe0b2894ba5d8cc62268f34b57363309a813251
|
|
4
|
+
data.tar.gz: 39b3cb2e348a710e8e79f1af63c4bd90d49294d18eea68b4cb65f7be02e7c84c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a2fa1b4eaf89b87dd0a2bbd624995130ba6e1fecc53b77d0729cff1be9c6542eaa3dc914a22dbec6c48463f84383dcd495ea3c95ce3835d150881c9244a6f9b3
|
|
7
|
+
data.tar.gz: fc7ec2c5366911c437da9332dbd59ced73ae71a55872b54cc64673db7ced1c91ae526734e540db64bdf791871a1e400e4285a130d98fac55b396a79436b3049a
|
data/README.md
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
[](http://badge.fury.io/rb/pocus)
|
|
4
4
|
[](https://codeclimate.com/github/varyonic/pocus)
|
|
5
5
|
[](https://codeclimate.com/github/varyonic/pocus)
|
|
6
|
-
[](https://gemnasium.com/varyonic/pocus)
|
|
7
6
|
[](https://travis-ci.org/varyonic/pocus)
|
|
8
7
|
|
|
9
8
|
Unofficial Ruby API client for [iContact API](See https://www.icontact.com/developerportal) (f.k.a. Vocus), inspired by Active Resource.
|
data/lib/pocus/identity.rb
CHANGED
data/lib/pocus/resource.rb
CHANGED
|
@@ -122,6 +122,14 @@ module Pocus
|
|
|
122
122
|
Session.instance
|
|
123
123
|
end
|
|
124
124
|
|
|
125
|
+
def marshal_dump
|
|
126
|
+
instance_variables.each_with_object({}) { |k, h| h[k[1..-1]] = send(k[1..-1]) }
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
def marshal_load(attributes)
|
|
130
|
+
assign_attributes(attributes)
|
|
131
|
+
end
|
|
132
|
+
|
|
125
133
|
protected
|
|
126
134
|
|
|
127
135
|
def required(attributes, attr_names)
|
data/lib/pocus/session.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pocus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Piers Chambers
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-01-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
156
156
|
version: '0'
|
|
157
157
|
requirements: []
|
|
158
158
|
rubyforge_project:
|
|
159
|
-
rubygems_version: 2.
|
|
159
|
+
rubygems_version: 2.7.7
|
|
160
160
|
signing_key:
|
|
161
161
|
specification_version: 4
|
|
162
162
|
summary: Unofficial Ruby client for iContact API
|