runfile 0.10.1 → 0.10.2

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
  SHA256:
3
- metadata.gz: 6ac7c4520f522bf476eb1695a9ba65ecf74c4c6cba3a11c0c9a0189ca1a7654c
4
- data.tar.gz: 9dd1ed9ce6ead6c5caddb3b08bb502ad1fa540ed26de5468f1da710037430528
3
+ metadata.gz: bcc3c5aac5c6d47e26432ed9ed5303e38dfdca077fe832f71767a42504edf828
4
+ data.tar.gz: a30f05d36eb902902ad484daf51b93956ddc87a386e27d08c0acb2d6fecdb1ea
5
5
  SHA512:
6
- metadata.gz: f47d18eede3e26554ea5fedc930a9ab7fb18d90b139fdcef6274836bddbd8fc103ace14f301cb67b279807122a538155359601a94e1f68078c72bade248289f0
7
- data.tar.gz: d6c1947eb47ad475ba18ace7d037fd2b819d8231f06a9c817e7d3c1f82941201d55b1f6f7245b2a4d186b4e00e6f4ed2a6f29ce1e3a29b33368f3315d0949a5b
6
+ metadata.gz: 51dec6b06b052b6aa6ca13d7b07a1c7da1fc06c24f07896be9384dd28b6a4ed8d4a6e874b9b55cc02f159ce4ebc2b47a02b09af00d9c81abcd09f0a485b0dcc0
7
+ data.tar.gz: f46f5bd6533fc1d1f0d6f607d06ae2b4c1c99916a2cb0a0fd10c011ed75bdba50e3f80cad6c502f46ec7a4b4c03676aca75a00802f4d179a053f6aa6d7c1a1bb
data/README.md CHANGED
@@ -1,13 +1,10 @@
1
1
  Runfile - If Rake and Docopt had a baby
2
2
  ==================================================
3
3
 
4
- [![Gem](https://img.shields.io/gem/v/runfile.svg?style=flat-square)](https://rubygems.org/gems/runfile)
5
- [![Downloads](https://img.shields.io/gem/dt/runfile.svg?style=flat-square)](https://rubygems.org/gems/runfile)
6
- [![Build](https://img.shields.io/travis/DannyBen/runfile.svg?style=flat-square)](https://travis-ci.org/DannyBen/runfile)
7
- [![Dependencies](https://img.shields.io/gemnasium/DannyBen/runfile.svg?style=flat-square)](https://gemnasium.com/DannyBen/runfile)
8
- [![Code Quality](https://img.shields.io/codacy/grade/55cf6df171234931b1781db7921ff68e.svg?style=flat-square)](https://www.codacy.com/app/db/runfile)
9
- [![Maintainability](https://img.shields.io/codeclimate/maintainability/DannyBen/runfile.svg?style=flat-square)](https://codeclimate.com/github/DannyBen/runfile)
10
- [![Issues](https://img.shields.io/codeclimate/issues/github/DannyBen/runfile.svg?style=flat-square)](https://codeclimate.com/github/DannyBen/runfile)
4
+ [![Gem Version](https://badge.fury.io/rb/runfile.svg)](https://badge.fury.io/rb/runfile)
5
+ [![Build Status](https://travis-ci.com/DannyBen/runfile.svg?branch=master)](https://travis-ci.com/DannyBen/runfile)
6
+ [![BCH compliance](https://bettercodehub.com/edge/badge/DannyBen/runfile?branch=master)](https://bettercodehub.com/results/DannyBen/runfile)
7
+ [![Maintainability](https://api.codeclimate.com/v1/badges/81cf02ccfcc8531cb09f/maintainability)](https://codeclimate.com/github/DannyBen/runfile/maintainability)
11
8
 
12
9
  ---
13
10
 
@@ -38,15 +35,19 @@ with `title`.
38
35
  Install
39
36
  --------------------------------------------------
40
37
 
41
- $ gem install runfile
38
+ ```shell
39
+ $ gem install runfile
40
+ ```
42
41
 
43
42
 
44
43
  Quick Start
45
44
  --------------------------------------------------
46
45
 
47
- $ run new # create a new Runfile
48
- $ run --help # show the usage patterns
49
- $ vi Runfile # edit the Runfile
46
+ ```shell
47
+ $ run new # create a new Runfile
48
+ $ run --help # show the usage patterns
49
+ $ vi Runfile # edit the Runfile
50
+ ```
50
51
 
51
52
 
52
53
  Example
@@ -57,7 +58,7 @@ The most minimal `Runfile` looks like this:
57
58
  ```ruby
58
59
  usage "greet <name>"
59
60
  action :greet do |args|
60
- puts "Hello #{args['<name>']}"
61
+ puts "Hello #{args['<name>']}"
61
62
  end
62
63
  ```
63
64
 
@@ -7,3 +7,5 @@ require 'runfile/action'
7
7
  require 'runfile/runner'
8
8
  require 'runfile/dsl'
9
9
  require 'runfile/exec'
10
+
11
+ require 'byebug' if ENV['BYEBUG']
@@ -85,6 +85,7 @@ module Runfile
85
85
  docopt_exec argv
86
86
  rescue Docopt::Exit => ex
87
87
  puts ex.message
88
+ exit 1
88
89
  end
89
90
  end
90
91
 
@@ -147,7 +148,7 @@ module Runfile
147
148
  @superspace = argv[0]
148
149
  execute argv, runfile
149
150
  end
150
- exit
151
+ exit 1
151
152
  end
152
153
 
153
154
  def expand_shortcuts(argv)
@@ -1,3 +1,3 @@
1
1
  module Runfile
2
- VERSION = "0.10.1"
2
+ VERSION = "0.10.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runfile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-21 00:00:00.000000000 Z
11
+ date: 2018-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colsole
@@ -38,90 +38,6 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0.5'
41
- - !ruby/object:Gem::Dependency
42
- name: runfile-tasks
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '0.4'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '0.4'
55
- - !ruby/object:Gem::Dependency
56
- name: cucumber
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '3.0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '3.0'
69
- - !ruby/object:Gem::Dependency
70
- name: rspec-expectations
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '3.5'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '3.5'
83
- - !ruby/object:Gem::Dependency
84
- name: rdoc
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '5.1'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '5.1'
97
- - !ruby/object:Gem::Dependency
98
- name: similar_text
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: 0.0.4
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: 0.0.4
111
- - !ruby/object:Gem::Dependency
112
- name: pry
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '0.10'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '0.10'
125
41
  description: Build command line applications per project with ease. Rake-inspired,
126
42
  Docopt inside.
127
43
  email: db@dannyben.com
@@ -148,7 +64,11 @@ files:
148
64
  homepage: https://github.com/DannyBen/runfile
149
65
  licenses:
150
66
  - MIT
151
- metadata: {}
67
+ metadata:
68
+ homepage_uri: https://github.com/DannyBen/runfile
69
+ changelog_uri: https://github.com/DannyBen/runfile/blob/master/CHANGELOG.md
70
+ source_code_uri: https://github.com/DannyBen/runfile
71
+ bug_tracker_uri: https://github.com/DannyBen/runfile/issues
152
72
  post_install_message:
153
73
  rdoc_options: []
154
74
  require_paths: