copperegg 0.6.0.pre3 → 0.6.0.pre4

Sign up to get free protection for your applications and to get access to all the features.
Binary file
@@ -4,14 +4,12 @@ module CopperEgg
4
4
  attr_accessor :apikey
5
5
  attr_reader :ssl_verify_peer, :timeout
6
6
 
7
- @uri = "https://api.copperegg.com/v2/revealmetrics/"
8
-
9
7
  def host=(host)
10
- @uri = "#{host}/v2/revealmetrics/"
8
+ @uri = URI.join(host, "/v2/revealmetrics/").to_s
11
9
  end
12
10
 
13
11
  def uri
14
- @uri
12
+ @uri || "https://api.copperegg.com/v2/revealmetrics/"
15
13
  end
16
14
 
17
15
  def ssl_verify_peer=(boolean)
@@ -1,3 +1,3 @@
1
1
  module CopperEgg
2
- GEM_VERSION = '0.6.0.pre3'
2
+ GEM_VERSION = '0.6.0.pre4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: copperegg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0.pre3
4
+ version: 0.6.0.pre4
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -34,7 +34,6 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - ./CHANGELOG.md
37
- - ./copperegg-0.6.0.pre2.gem
38
37
  - ./copperegg-0.6.0.pre3.gem
39
38
  - ./copperegg.gemspec
40
39
  - ./Gemfile
Binary file