zunnit 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/zunnit/setup.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Zunnit
2
2
  extend Utils
3
- mattr_accessor :client, :key, :version, :actions, :url
3
+ mattr_accessor :client, :key, :version, :actions
4
4
 
5
5
  # Fixed constants
6
6
  ACTIONS = {
@@ -22,7 +22,10 @@ module Zunnit
22
22
  def self.setup
23
23
  self.actions = ACTIONS
24
24
  yield self if block_given?
25
- self.url ||= "http://#{self.client}.zunnit.com/"
26
25
  self
27
26
  end
27
+
28
+ def self.url
29
+ "http://#{self.client}.zunnit.com/"
30
+ end
28
31
  end
@@ -1,4 +1,4 @@
1
1
  module Zunnit
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
4
4
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: zunnit
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.0
5
+ version: 0.4.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Marcelo Eden