and-son 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA512:
3
+ data.tar.gz: d83df3f2520aba454e65465c1f2e61c6a2fdf6fb24c8951717607b963ea27463ae28956f585b02c6c16870dae6ee2e869a6afa603ec4ee684c6cd8e860271ad9
4
+ metadata.gz: b4ccd407bdbb79b3f687a8ea7f475e58ff61c19870852a741e3bca1239f9060f9d54d66bcfbc0dfbe17a5030a68bf1bc2e36e8e307fa07743c69998e1d417eb4
5
+ SHA1:
6
+ data.tar.gz: 6b3aa45fcda9eb797d9268d8ce85c3ef3eea51bc
7
+ metadata.gz: b5b0abe092d7a8260990f6017d916572db424238
data/Gemfile CHANGED
@@ -2,7 +2,5 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'rake'
6
5
  gem 'pry', "~> 0.9.0"
7
-
8
- gem 'bson_ext'
6
+ gem 'bson_ext', '~>1.7'
File without changes
@@ -8,8 +8,8 @@ Gem::Specification.new do |gem|
8
8
  gem.version = AndSon::VERSION
9
9
  gem.authors = ["Collin Redding", "Kelly Redding"]
10
10
  gem.email = ["collin.redding@me.com", "kelly@kellyredding.com"]
11
- gem.description = "Simple Sanford client for Ruby."
12
11
  gem.summary = "Simple Sanford client for Ruby."
12
+ gem.description = "Simple Sanford client for Ruby."
13
13
  gem.homepage = "https://github.com/redding/and-son"
14
14
  gem.license = 'MIT'
15
15
 
@@ -18,7 +18,8 @@ Gem::Specification.new do |gem|
18
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
19
  gem.require_paths = ["lib"]
20
20
 
21
- gem.add_dependency("sanford-protocol", ["~> 0.11"])
21
+ gem.add_development_dependency("assert", ["~> 2.16.1"])
22
+
23
+ gem.add_dependency("sanford-protocol", ["~> 0.12.0"])
22
24
 
23
- gem.add_development_dependency("assert", ["~> 2.14"])
24
25
  end
@@ -1,3 +1,3 @@
1
1
  module AndSon
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
@@ -7,3 +7,14 @@ $LOAD_PATH.unshift(File.expand_path("../..", __FILE__))
7
7
  require 'pry' # require pry for debugging (`binding.pry`)
8
8
 
9
9
  require 'test/support/factory'
10
+
11
+ JOIN_SECONDS = 0.1
12
+
13
+ # 1.8.7 backfills
14
+
15
+ # Array#sample
16
+ if !(a = Array.new).respond_to?(:sample) && a.respond_to?(:choice)
17
+ class Array
18
+ alias_method :sample, :choice
19
+ end
20
+ end
@@ -53,6 +53,7 @@ class TestServer
53
53
  def run_test_server(server, &block)
54
54
  begin
55
55
  thread = Thread.new{ server.run }
56
+ thread.join(JOIN_SECONDS)
56
57
  yield
57
58
  ensure
58
59
  sockaddr = Socket.pack_sockaddr_in(
@@ -1,6 +1,7 @@
1
1
  require 'assert'
2
2
  require 'and-son/client'
3
3
 
4
+ require 'and-son'
4
5
  require 'test/support/test_server'
5
6
 
6
7
  module AndSon::Client
metadata CHANGED
@@ -1,13 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: and-son
3
3
  version: !ruby/object:Gem::Version
4
- hash: 59
5
- prerelease:
6
- segments:
7
- - 0
8
- - 9
9
- - 0
10
- version: 0.9.0
4
+ version: 0.9.1
11
5
  platform: ruby
12
6
  authors:
13
7
  - Collin Redding
@@ -16,38 +10,28 @@ autorequire:
16
10
  bindir: bin
17
11
  cert_chain: []
18
12
 
19
- date: 2015-06-22 00:00:00 Z
13
+ date: 2016-06-13 00:00:00 Z
20
14
  dependencies:
21
15
  - !ruby/object:Gem::Dependency
16
+ name: assert
17
+ prerelease: false
22
18
  requirement: &id001 !ruby/object:Gem::Requirement
23
- none: false
24
19
  requirements:
25
20
  - - ~>
26
21
  - !ruby/object:Gem::Version
27
- hash: 29
28
- segments:
29
- - 0
30
- - 11
31
- version: "0.11"
32
- type: :runtime
33
- name: sanford-protocol
22
+ version: 2.16.1
23
+ type: :development
34
24
  version_requirements: *id001
35
- prerelease: false
36
25
  - !ruby/object:Gem::Dependency
26
+ name: sanford-protocol
27
+ prerelease: false
37
28
  requirement: &id002 !ruby/object:Gem::Requirement
38
- none: false
39
29
  requirements:
40
30
  - - ~>
41
31
  - !ruby/object:Gem::Version
42
- hash: 31
43
- segments:
44
- - 2
45
- - 14
46
- version: "2.14"
47
- type: :development
48
- name: assert
32
+ version: 0.12.0
33
+ type: :runtime
49
34
  version_requirements: *id002
50
- prerelease: false
51
35
  description: Simple Sanford client for Ruby.
52
36
  email:
53
37
  - collin.redding@me.com
@@ -61,9 +45,8 @@ extra_rdoc_files: []
61
45
  files:
62
46
  - .gitignore
63
47
  - Gemfile
64
- - LICENSE.txt
48
+ - LICENSE
65
49
  - README.md
66
- - Rakefile
67
50
  - and-son.gemspec
68
51
  - lib/and-son.rb
69
52
  - lib/and-son/call_runner.rb
@@ -84,35 +67,28 @@ files:
84
67
  homepage: https://github.com/redding/and-son
85
68
  licenses:
86
69
  - MIT
70
+ metadata: {}
71
+
87
72
  post_install_message:
88
73
  rdoc_options: []
89
74
 
90
75
  require_paths:
91
76
  - lib
92
77
  required_ruby_version: !ruby/object:Gem::Requirement
93
- none: false
94
78
  requirements:
95
- - - ">="
79
+ - &id003
80
+ - ">="
96
81
  - !ruby/object:Gem::Version
97
- hash: 3
98
- segments:
99
- - 0
100
82
  version: "0"
101
83
  required_rubygems_version: !ruby/object:Gem::Requirement
102
- none: false
103
84
  requirements:
104
- - - ">="
105
- - !ruby/object:Gem::Version
106
- hash: 3
107
- segments:
108
- - 0
109
- version: "0"
85
+ - *id003
110
86
  requirements: []
111
87
 
112
88
  rubyforge_project:
113
- rubygems_version: 1.8.25
89
+ rubygems_version: 2.6.4
114
90
  signing_key:
115
- specification_version: 3
91
+ specification_version: 4
116
92
  summary: Simple Sanford client for Ruby.
117
93
  test_files:
118
94
  - test/helper.rb
data/Rakefile DELETED
@@ -1 +0,0 @@
1
- require "bundler/gem_tasks"