wadl 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/README +1 -1
  2. data/lib/wadl/cli.rb +3 -3
  3. data/lib/wadl/version.rb +1 -1
  4. metadata +3 -3
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to wadl version 0.1.5
5
+ This documentation refers to wadl version 0.1.6
6
6
 
7
7
 
8
8
  == DESCRIPTION
data/lib/wadl/cli.rb CHANGED
@@ -184,12 +184,12 @@ module WADL
184
184
  end
185
185
 
186
186
  def oauthorize(consumer_key, consumer_secret)
187
- strio = StringIO.new
187
+ strio, stdout = StringIO.new, self.stdout
188
188
 
189
- def strio.puts(*args)
189
+ (class << strio; self; end).send(:define_method, :puts) { |*args|
190
190
  stdout.puts(*args)
191
191
  super
192
- end
192
+ }
193
193
 
194
194
  base_url = options[:base_url] || File.dirname(options[:wadl])
195
195
 
data/lib/wadl/version.rb CHANGED
@@ -4,7 +4,7 @@ module WADL
4
4
 
5
5
  MAJOR = 0
6
6
  MINOR = 1
7
- TINY = 5
7
+ TINY = 6
8
8
 
9
9
  class << self
10
10
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wadl
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 5
10
- version: 0.1.5
9
+ - 6
10
+ version: 0.1.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Leonard Richardson