contextio 1.8.0 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/contextio.gemspec +2 -2
- data/lib/contextio/source_sync_data.rb +3 -3
- data/lib/contextio/version.rb +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37c30e28810f599493d55be7f383ece9d6f666e4
|
4
|
+
data.tar.gz: b2208ec252cecb66164e6f061cf41cb7c49eec28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb03ba558b0ec866bf5e18cee3be050ec68b6dd3383ba8db07893de208c101a8d239e6c9fbe778e40865af35ecd37785be755ca55a581ae69e91a2d5c70067ae
|
7
|
+
data.tar.gz: 83ef597a1addfe49dae4d513f2bb6cfc71cb538bf4ba3d5256d4e4f0cd5d0263ca53973373caf44fe3b51e68d3164d80fcacea8f1bd4a3d119f9ffc66731c3dc
|
data/contextio.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |gem|
|
|
8
8
|
gem.summary = 'Provides interface to Context.IO'
|
9
9
|
gem.description = 'Provides Ruby interface to Context.IO'
|
10
10
|
gem.license = 'MIT'
|
11
|
-
gem.authors = ['
|
12
|
-
gem.email = %w(
|
11
|
+
gem.authors = ['Michael Bernstein', 'Eric Pinzur']
|
12
|
+
gem.email = %w(michael.bernstein@returnpath.com, eric.pinzur@returnpath.com)
|
13
13
|
gem.homepage = 'https://github.com/contextio/contextio-ruby#readme'
|
14
14
|
|
15
15
|
gem.files = `git ls-files`.split($/)
|
@@ -4,12 +4,12 @@ class ContextIO
|
|
4
4
|
class SourceSyncData
|
5
5
|
attr_reader :folder_names, :folders, :source_label
|
6
6
|
|
7
|
-
def initialize(source_label, folder_hash)
|
7
|
+
def initialize(source_label, folder_hash = nil)
|
8
8
|
@folder_hash = folder_hash
|
9
9
|
@source_label = source_label
|
10
|
-
@folder_names = folder_hash.keys
|
10
|
+
@folder_names = (folder_hash || {}).keys
|
11
11
|
|
12
|
-
@folders = folder_hash.collect do |folder_name, attr_hash|
|
12
|
+
@folders = (folder_hash || {}).collect do |folder_name, attr_hash|
|
13
13
|
ContextIO::FolderSyncData.new(folder_name, attr_hash)
|
14
14
|
end
|
15
15
|
end
|
data/lib/contextio/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contextio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Michael Bernstein
|
8
|
+
- Eric Pinzur
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2015-
|
12
|
+
date: 2015-03-30 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: faraday
|
@@ -172,7 +173,8 @@ dependencies:
|
|
172
173
|
version: '0'
|
173
174
|
description: Provides Ruby interface to Context.IO
|
174
175
|
email:
|
175
|
-
-
|
176
|
+
- michael.bernstein@returnpath.com,
|
177
|
+
- eric.pinzur@returnpath.com
|
176
178
|
executables: []
|
177
179
|
extensions: []
|
178
180
|
extra_rdoc_files: []
|