bbc_redux 0.4.8.pre → 0.4.9.pre

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 (3) hide show
  1. data/bin/bbc-redux +5 -2
  2. data/lib/bbc/redux/version.rb +1 -1
  3. metadata +2 -2
@@ -77,7 +77,11 @@ def parse_options( input )
77
77
 
78
78
  opts.on_tail( '-h', '--help', 'Show this message' ) do
79
79
  puts opts
80
- puts DATA.read
80
+
81
+ file = File.expand_path($0)
82
+ data = File.read(file).split(/^__END__$/)[1]
83
+ puts data
84
+
81
85
  exit
82
86
  end
83
87
 
@@ -302,7 +306,6 @@ runner.run
302
306
  # EXTENDED USAGE INFO
303
307
 
304
308
  __END__
305
-
306
309
  examples:
307
310
 
308
311
  To use the client you must have set one of these environment variables:
@@ -2,7 +2,7 @@ module BBC
2
2
  module Redux
3
3
 
4
4
  # Library version
5
- VERSION = '0.4.8.pre'
5
+ VERSION = '0.4.9.pre'
6
6
 
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bbc_redux
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.8.pre
4
+ version: 0.4.9.pre
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -218,7 +218,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
218
218
  version: '0'
219
219
  segments:
220
220
  - 0
221
- hash: 2647790705023314369
221
+ hash: 2960852599503772287
222
222
  required_rubygems_version: !ruby/object:Gem::Requirement
223
223
  none: false
224
224
  requirements: