likethat 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/likethat.rb +18 -0
  3. data/likethat.gemspec +1 -1
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
@@ -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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{likethat}
8
- s.version = "0.1.4"
8
+ s.version = "0.1.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Obi Akubue"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 4
9
- version: 0.1.4
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: -728021727
111
+ hash: 856170483
112
112
  segments:
113
113
  - 0
114
114
  version: "0"