monetra 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/monetra/configuration.rb +20 -0
- data/monetra.gemspec +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
@@ -3,7 +3,7 @@ require 'psych'
|
|
3
3
|
require 'rake'
|
4
4
|
require 'echoe'
|
5
5
|
YAML::ENGINE.yamler = 'syck'
|
6
|
-
Echoe.new('monetra', '0.1.
|
6
|
+
Echoe.new('monetra', '0.1.12') do |p|
|
7
7
|
p.description = "A gem that uses the Monetra API to perform actions"
|
8
8
|
p.url = "http://github.com/winelibrary/monetra"
|
9
9
|
p.author = ["Dan Ahern", "John Kassimatis", "Brian Woolley"]
|
@@ -16,21 +16,41 @@ module Monetra
|
|
16
16
|
Monetra::Configuration.options["user_name"]
|
17
17
|
end
|
18
18
|
|
19
|
+
def user_name=(value)
|
20
|
+
Monetra::Configuration.options["user_name"] = value
|
21
|
+
end
|
22
|
+
|
19
23
|
def password
|
20
24
|
Monetra::Configuration.options["password"]
|
21
25
|
end
|
22
26
|
|
27
|
+
def password=(value)
|
28
|
+
Monetra::Configuration.options["password"] = value
|
29
|
+
end
|
30
|
+
|
23
31
|
def host
|
24
32
|
Monetra::Configuration.options["host"]
|
25
33
|
end
|
26
34
|
|
35
|
+
def host=(value)
|
36
|
+
Monetra::Configuration.options["host"] = value
|
37
|
+
end
|
38
|
+
|
27
39
|
def port
|
28
40
|
Monetra::Configuration.options["port"]
|
29
41
|
end
|
30
42
|
|
43
|
+
def port=(value)
|
44
|
+
Monetra::Configuration.options["port"] = value
|
45
|
+
end
|
46
|
+
|
31
47
|
def use_ssl?
|
32
48
|
Monetra::Configuration.options["use_ssl"]
|
33
49
|
end
|
50
|
+
|
51
|
+
def use_ssl=(value)
|
52
|
+
Monetra::Configuration.options["use_ssl"] = value
|
53
|
+
end
|
34
54
|
end
|
35
55
|
end
|
36
56
|
end
|
data/monetra.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "monetra"
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.12"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Dan Ahern, John Kassimatis, Brian Woolley"]
|