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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0352ee0a8fcd905f3078f99d49ec0d0f1e760b4f
4
- data.tar.gz: aa425b6c080f4b007e0b8eb21aa2d4871008a2ac
3
+ metadata.gz: 1168a6f995f114abeab0b51069258d491692cd8e
4
+ data.tar.gz: 6080ffe247cd5f60b3338a5a15864c38c67c73bf
5
5
  SHA512:
6
- metadata.gz: 0fd9cd9cbc19b33177d7d26f89670bff03ee4fa5317adec804e5c7144230ee7d64e6fa854d165dfedee49fd149218e8b806eeb292ca7e968adb94ee8931be35f
7
- data.tar.gz: 1cad685afd543aecab65bb53b24befd86af6d3c632e21a6ea23a36c3fa2968a92e214a9221af9bdc7a36bc75aaf0033e4cc752376bfc8022ffbbbc306efdba3b
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
- It means that by default, the rake task will create a executable with the name of the gem you are currently developing.
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`
@@ -1,3 +1,3 @@
1
1
  module EasyAppHelper
2
- VERSION = '2.1.0'
2
+ VERSION = '2.1.1'
3
3
  end
data/test/foo/Rakefile CHANGED
@@ -1,8 +1,6 @@
1
1
  puts 'In the Test Gem'
2
2
  require 'bundler/gem_tasks'
3
3
 
4
- require 'easy_app_helper'
5
-
6
4
  spec = Gem::Specification.find_by_name 'easy_app_helper'
7
5
  load "#{spec.gem_dir}/Rakefile"
8
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_app_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - L.Briais