easy_app_helper 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/lib/easy_app_helper/version.rb +1 -1
- data/test/foo/Rakefile +0 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1168a6f995f114abeab0b51069258d491692cd8e
|
4
|
+
data.tar.gz: 6080ffe247cd5f60b3338a5a15864c38c67c73bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3e694dbe8f1f50a2336a1210b65194490f4010ba36b724456af600a13de2ee3ea94bf3f295705b1b95670f0b36f9f013bd39b5dd34836424e2705416830a29b
|
7
|
+
data.tar.gz: 1300bb54399655db63681ec5f8ac793773706ed30b7ff012f15917f17064b473036060c98b0f6969978bdd9ef998443d48592a460f3f75aec5c5a76cd9999f6a
|
data/README.md
CHANGED
@@ -202,7 +202,7 @@ The two [easy_app_helper][EAH] tasks are quite self-explanatory.
|
|
202
202
|
|
203
203
|
Basically you will do a:
|
204
204
|
|
205
|
-
$ bundle rake easy_app_helper:create_executable
|
205
|
+
$ bundle exec rake easy_app_helper:create_executable
|
206
206
|
|
207
207
|
And it will reply something like:
|
208
208
|
|
@@ -211,7 +211,7 @@ File '/home/you/devel/ruby/gems/your_gem/bin/your_gem' created with execution ri
|
|
211
211
|
-> Try: "bundle exec '/home/you/devel/ruby/gems/your_gem/bin/your_gem' --help"
|
212
212
|
```
|
213
213
|
|
214
|
-
|
214
|
+
By default, the rake task will create a executable with the name of the gem you are currently developing.
|
215
215
|
__This task is safe and will never overwrite an existing file__. Instead, if the file already exists, you would get:
|
216
216
|
|
217
217
|
```
|
@@ -222,8 +222,8 @@ File '/home/you/devel/ruby/gems/your_gem/bin/your_gem' already exists !
|
|
222
222
|
You can, of course, specify your own file name to the rake task. Depending on your shell, and due to different
|
223
223
|
variable expansion mechanisms, you have to do it differently:
|
224
224
|
|
225
|
-
* __zsh__ should be something like: `bundle rake easy_app_helper:create_executable\[my_executable\]`
|
226
|
-
* whereas in __bash__ more probably: `bundle rake easy_app_helper:create_executable[my_executable]`
|
225
|
+
* __zsh__ should be something like: `bundle exec rake easy_app_helper:create_executable\[my_executable\]`
|
226
|
+
* whereas in __bash__ more probably: `bundle exec rake easy_app_helper:create_executable[my_executable]`
|
227
227
|
|
228
228
|
Check the documentation of your shell for further information.
|
229
229
|
You should nevertheless have this kind of answer from the task:
|
@@ -234,7 +234,7 @@ File '/home/you/devel/ruby/gems/your_gem/bin/my_executable' created with executi
|
|
234
234
|
```
|
235
235
|
|
236
236
|
You can notice the slight changes in terms of code in the two generated scripts ;-). Check the template with
|
237
|
-
`bundle rake easy_app_helper:show_template` to understand how the template adapts.
|
237
|
+
`bundle exec rake easy_app_helper:show_template` to understand how the template adapts.
|
238
238
|
|
239
239
|
|
240
240
|
## Complete example of a script based on `easy_app_helper`
|
data/test/foo/Rakefile
CHANGED