likethat 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/likethat.rb +18 -0
- data/likethat.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
data/lib/likethat.rb
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
module Couchdb
|
4
4
|
|
5
|
+
|
6
|
+
|
5
7
|
def self.get()
|
6
8
|
puts 'like that! like that!'
|
7
9
|
end
|
@@ -13,8 +15,24 @@ module Couchdb
|
|
13
15
|
def self.go()
|
14
16
|
puts 'hey hoo hey hoo'
|
15
17
|
end
|
18
|
+
|
19
|
+
def self.web()
|
20
|
+
go_south()
|
21
|
+
puts 'http://'+ @url + ':' + @port + '/'
|
22
|
+
end
|
23
|
+
|
24
|
+
|
16
25
|
|
17
26
|
class << self
|
27
|
+
attr_accessor :url
|
28
|
+
attr_accessor :port
|
29
|
+
|
30
|
+
def go_south()
|
31
|
+
if @url == nil && port == nil
|
32
|
+
@url = 'localhost'
|
33
|
+
@port = '5984'
|
34
|
+
end
|
35
|
+
end
|
18
36
|
end
|
19
37
|
|
20
38
|
end
|
data/likethat.gemspec
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 5
|
9
|
+
version: 0.1.5
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Obi Akubue
|
@@ -108,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
108
108
|
requirements:
|
109
109
|
- - ">="
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
hash:
|
111
|
+
hash: 856170483
|
112
112
|
segments:
|
113
113
|
- 0
|
114
114
|
version: "0"
|