runfile 0.8.2 → 0.9.0

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: f868c5e0946fecc2a7b30bd2adf23f6391b72174
4
- data.tar.gz: 88092819b0123374fe96c0fce8040d355700e084
3
+ metadata.gz: 082a59c25038680320d3a2c341d5434dc1a82667
4
+ data.tar.gz: c8781b7c93cfe778f4510e4ca819926c9bc560fc
5
5
  SHA512:
6
- metadata.gz: 418a86d3652c5d80a2ddeb15efbedbaedeff6dacc02312fbd2dfdea836066d003502c7075166a01b7b0a75d09c29424884ad1c9f3d958af908a65c3e29bf17c5
7
- data.tar.gz: 2dfa5b5c6e08ef1f1a73eeb8a9bb501c97b500ead7d7247e25d18bfaa7760cc7d4d64519416b830907ee6b0628cfd945eb34cf97bb797cb5e0131b56392dfbf3
6
+ metadata.gz: bc2ea16de7dbd5d79a6cb0b8f5e506d39016b542777b934fefe8724f235a0db93cef6773f5dbbba1d32580df75e7d504acd2b5d66bb4c38d892433dc872c0d8c
7
+ data.tar.gz: c0d857c8bfdcb1a80d7dc44fca59d676409b75ada4c5fe2ee4fd245e9c51ae6e1769504fcd04b04d3a7a8e2e0e17c3ddb8a29de2ea8f94ce6dfc1c977fb70a9f
@@ -1,14 +1,11 @@
1
1
  module Runfile
2
2
 
3
- # The Runfile::Exec module is derecated. It is kept here so that those
4
- # who include it in the past will know what to do.
5
- module Exec
6
- def self.included(base)
7
- say! "!txtred!Runfile::Exec is deprecated. You should change your Runfile:"
8
- say! "!txtred! 1. There is no need to include Runfile::Exec, it is already included."
9
- say! "!txtred! 2. Change any configuration from Runfile::Exec.pid_dir to Runfile.pid_dir"
10
- abort
3
+ module DSL
4
+ # The name 'name' was causing some issues in some debugging sessions
5
+ # with pry and some other issues. It is replaced with 'title'
6
+ def name(name=nil)
7
+ say! "!txtred!Warning:\n You are using the deprecated directive 'name' in your Runfile.\n Use 'title' instead.\n"
8
+ Runner.instance.name = name if name
11
9
  end
12
10
  end
13
-
14
11
  end
@@ -7,8 +7,8 @@ module Runfile
7
7
  private
8
8
 
9
9
  # Set the name of your Runfile program
10
- # name 'My Runfile'
11
- def name(name)
10
+ # title 'My Runfile'
11
+ def title(name)
12
12
  Runner.instance.name = name
13
13
  end
14
14
 
@@ -1,4 +1,4 @@
1
- name "Greeter"
1
+ title "Greeter"
2
2
  summary "A sample Runfile"
3
3
  version "0.1.0"
4
4
 
@@ -1,3 +1,3 @@
1
1
  module Runfile
2
- VERSION = "0.8.2"
2
+ VERSION = "0.9.0"
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.8.2
4
+ version: 0.9.0
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: 2017-03-24 00:00:00.000000000 Z
11
+ date: 2017-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colsole
@@ -109,19 +109,19 @@ dependencies:
109
109
  - !ruby/object:Gem::Version
110
110
  version: 0.0.4
111
111
  - !ruby/object:Gem::Dependency
112
- name: byebug
112
+ name: pry
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '9.0'
117
+ version: '0.10'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '9.0'
124
+ version: '0.10'
125
125
  description: Build command line applications per project with ease. Rake-inspired,
126
126
  Docopt inside.
127
127
  email: db@dannyben.com