easy_app_helper 3.0.1 → 3.0.2
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/lib/tasks/template.rb.erb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9460f0369be947f5ea8e9cf5f11b3c6cabe66a15
|
4
|
+
data.tar.gz: 3eb09f8960b45d0bf153900e846304e2516884a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a90be68ccf989e8f1104786f22cc6f9d06c14f6b8c5b15df382cdb33596edffe7f4e28fe10a414316ec9218498ffe29a98ce37269610009660f96c1472327751
|
7
|
+
data.tar.gz: 62984b0d8f4ce16a64a87c493685f8c2bf1e5224585bcc7484b456d9360965908663df388448455a836e8f80df728263b89ec76bedebce8caacd0d56f6b94773
|
data/README.md
CHANGED
@@ -25,7 +25,7 @@ a ready-for-prod config, logger and command line management.
|
|
25
25
|
|
26
26
|
Add this line to your application's Gemfile:
|
27
27
|
|
28
|
-
gem 'easy_app_helper', '~>
|
28
|
+
gem 'easy_app_helper', '~> 3.0'
|
29
29
|
|
30
30
|
And then execute:
|
31
31
|
|
@@ -74,7 +74,7 @@ the way it will work. By default the logger will just log to the `File::NULL` de
|
|
74
74
|
By default the `EasyAppHelper.logger` is an instance of a standard `Logger` but can specify your own using the
|
75
75
|
`EasyAppHelper::Logger::Initializer.setup_logger` method.
|
76
76
|
|
77
|
-
```ruby
|
77
|
+
```ruby
|
78
78
|
require 'easy_app_helper'
|
79
79
|
|
80
80
|
# You can directly use the logger according to the command line, or config file, flags
|
@@ -332,6 +332,6 @@ MyApp.new.run
|
|
332
332
|
__That's all folks.__
|
333
333
|
|
334
334
|
|
335
|
-
[EAH]: https://rubygems.org/gems/easy_app_helper
|
336
|
-
[EAH1]: https://github.com/lbriais/easy_app_helper/tree/old_release_1_x
|
337
|
-
[SC]: https://github.com/lbriais/stacked_config
|
335
|
+
[EAH]: https://rubygems.org/gems/easy_app_helper "EasyAppHelper gem"
|
336
|
+
[EAH1]: https://github.com/lbriais/easy_app_helper/tree/old_release_1_x "EasyAppHelper gem DEPRECATED branch"
|
337
|
+
[SC]: https://github.com/lbriais/stacked_config "The stacked_config Gem"
|
data/lib/tasks/template.rb.erb
CHANGED
@@ -50,8 +50,8 @@ module <%= gem_module %>
|
|
50
50
|
## Here under are examples using potentially gem config layer to display default option value...
|
51
51
|
## Check Slop documentation for further info.
|
52
52
|
# config.add_command_line_section do |slop|
|
53
|
-
# slop.on :p, :port, "Specify port to bind to. Default #{config.
|
54
|
-
# slop.on :b, :bind, "Specify address to bind to. Default #{config.
|
53
|
+
# slop.on :p, :port, "Specify port to bind to. Default #{config.executable_gem_layer[:port]}.", argument: true, as: Integer
|
54
|
+
# slop.on :b, :bind, "Specify address to bind to. Default #{config.executable_gem_layer[:bind]}.", argument: true, as: String
|
55
55
|
# end
|
56
56
|
end
|
57
57
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: easy_app_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- L.Briais
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|