crowdflower 0.6.0 → 0.6.1

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.
data/crowdflower.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{crowdflower}
8
- s.version = "0.6.0"
8
+ s.version = "0.6.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Brian P O'Rourke", "Chris Van Pelt"]
@@ -37,11 +37,10 @@ module CrowdFlower
37
37
  def initialize(key, domain_base, version, ssl_port = 443, public_port = 80)
38
38
  @domain_base = domain_base
39
39
  @version = version
40
+ @domain = "#{@domain_base}/v#{version}"
40
41
  @key = key
41
42
  @ssl_port = ssl_port
42
43
  @public_port = public_port
43
- port = @domain_base =~ /^https/ ? @ssl_port : @public_port
44
- @domain = "#{@domain_base}:#{port}/v#{version}"
45
44
  begin # pass yaml file
46
45
  key = YAML.load_file(key)
47
46
  @key = key[:key] || key["key"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crowdflower
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 0
10
- version: 0.6.0
9
+ - 1
10
+ version: 0.6.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brian P O'Rourke