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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b32f055e0f268d765612afec4be7be53a54fc5ad
4
- data.tar.gz: 390912492be73bbb511e294a98df94960229bcef
3
+ metadata.gz: 37c30e28810f599493d55be7f383ece9d6f666e4
4
+ data.tar.gz: b2208ec252cecb66164e6f061cf41cb7c49eec28
5
5
  SHA512:
6
- metadata.gz: dd94f0e265873489075e589748592090e742fffd8d62aa726fed299664db7f582dd3d67d0b3672e4c94b17b0fc200f9e8e69006f50bbfe708e4542aaaebd486a
7
- data.tar.gz: 1db5c5d5333c03942bf8919b9ab345ab95129644d383aa39b381a02e8fed2a9fabe13f5271951fb7ca7cf912e9c44ddfcf0cb5fd5cb0310d54a3679c456d5412
6
+ metadata.gz: eb03ba558b0ec866bf5e18cee3be050ec68b6dd3383ba8db07893de208c101a8d239e6c9fbe778e40865af35ecd37785be755ca55a581ae69e91a2d5c70067ae
7
+ data.tar.gz: 83ef597a1addfe49dae4d513f2bb6cfc71cb538bf4ba3d5256d4e4f0cd5d0263ca53973373caf44fe3b51e68d3164d80fcacea8f1bd4a3d119f9ffc66731c3dc
@@ -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 = ['Ben Hamill']
12
- gem.email = %w(ben@benhamill.com)
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
@@ -1,6 +1,6 @@
1
1
  class ContextIO
2
2
  # @private
3
- VERSION = "1.8.0"
3
+ VERSION = "1.8.1"
4
4
 
5
5
  # The gem version.
6
6
  #
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.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
- - Ben Hamill
7
+ - Michael Bernstein
8
+ - Eric Pinzur
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2015-01-26 00:00:00.000000000 Z
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
- - ben@benhamill.com
176
+ - michael.bernstein@returnpath.com,
177
+ - eric.pinzur@returnpath.com
176
178
  executables: []
177
179
  extensions: []
178
180
  extra_rdoc_files: []