docraptor-cli 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce86eee8772b6757f0cd80a2c6231a1b1706e5d0
4
- data.tar.gz: e700fd3ae8a7067e7caafd9fb658d3e9c45b0ded
3
+ metadata.gz: 3861beebf73e13d32696baab15abdcfd024ee27e
4
+ data.tar.gz: 6bb03d210ddc751d310f01480290f8b39ca28fa5
5
5
  SHA512:
6
- metadata.gz: 4a291c9c4b08e6b14df1ccc4da08e2a5a7e86562be809d73aa2020d8d9d4ccba9ce92ca3cb5bdcc43cbcb5312bfc620f6fe0b2f5313f226b198cd9ceb5250bcb
7
- data.tar.gz: a1f1e7681998681152845e67be7e27c75dd9464aa8b5ca03c2ee0d8a3018cdf755604da603bdb7b0373d6e2a70e23ce86ed5b58ad064c26e8d599f69ce10307d
6
+ metadata.gz: d4d8a642ca6e6fb4fdb6dafaeb2c677006049a12cb3e2bd7ea97d846e744656da733426c05e956291bb349a0fefa429af1072b567d9d58e42590f5d8561c7beb
7
+ data.tar.gz: a00392e4d111a2646b0699a258fb189f7e6d8dc35b0fd0969c637057dff6489b4243d946f51e3a995c30d987a357506c7ee75555e911ede378d7c9aa2e41b31f
@@ -1,3 +1,7 @@
1
+ ### 0.0.4 [May 23, 2016]
2
+ * Don't use bundler to load gems during execution
3
+ * Use short binary name when showing help
4
+
1
5
  ### 0.0.3 [May 19, 2016]
2
6
  * Fix uninitialized constant DocRaptor
3
7
 
@@ -1,7 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile", __FILE__)
3
- require "bundler"
4
- Bundler.require
5
2
  require "optparse"
6
3
  require "docraptor"
7
4
 
@@ -29,7 +26,7 @@ options = {
29
26
  }
30
27
 
31
28
  opt_parser = OptionParser.new do |opts|
32
- opts.banner = "Usage: #{$0} [options] <url/file>"
29
+ opts.banner = "Usage: #{File.basename($0)} [options] <url/file>"
33
30
 
34
31
 
35
32
  opts.separator ""
@@ -14,6 +14,7 @@ Gem::Specification.new do |s|
14
14
 
15
15
  s.add_runtime_dependency 'docraptor', '~> 0.3.0'
16
16
 
17
+ s.add_development_dependency 'bundler', '~> 1.11', '>= 1.11.2'
17
18
  s.add_development_dependency 'pry', '~> 0.10', '>= 0.10.3'
18
19
  s.add_development_dependency 'rake', '~> 11.1', '>= 11.1.2'
19
20
 
@@ -1,3 +1,3 @@
1
1
  module DocRaptorCli
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docraptor-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elijah Miller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-19 00:00:00.000000000 Z
11
+ date: 2016-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docraptor
@@ -24,6 +24,26 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.3.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.11'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 1.11.2
37
+ type: :development
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - "~>"
42
+ - !ruby/object:Gem::Version
43
+ version: '1.11'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 1.11.2
27
47
  - !ruby/object:Gem::Dependency
28
48
  name: pry
29
49
  requirement: !ruby/object:Gem::Requirement