powder 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/bin/powder +13 -5
- data/lib/powder/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8024af39f783bdf64a98f92bd9fe19972b6efdf6
|
4
|
+
data.tar.gz: 3e56e64daf4790dc5a7fd72fdf598dfbe211e832
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78c504584c09f1b32ff8c0285473cfbc27fb9983fb22965a0076f923669798ebbb109fece71a3abdefa90524ddf66498385a3cb8d85b50496ffd045b2b45f086
|
7
|
+
data.tar.gz: 0b4439b50be133d05cb6a2741e7251c280ea6d16edc83037cdee7e6e40404e53bca377e77b26d8aca46179d69ed6c551cd34b8b290a2783a0ec36ef2ddd0e15e
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
### 0.3.1 / 2017-06-13 ###
|
2
|
+
|
3
|
+
* 1 minor change
|
4
|
+
|
5
|
+
* Fixes the message `Expected string default value for '--browser'` that was
|
6
|
+
output when using `powder open`
|
7
|
+
([commit](https://github.com/powder-rb/powder/commit/b8bf956f64c2451d8abafc7480f17a15050aa6d3))
|
8
|
+
|
1
9
|
### 0.3.0 / 2014-10-29 ###
|
2
10
|
|
3
11
|
* 1 minor change
|
data/bin/powder
CHANGED
@@ -181,7 +181,7 @@ module Powder
|
|
181
181
|
end
|
182
182
|
|
183
183
|
desc "open", "Open a pow in the browser"
|
184
|
-
method_option :browser, :type => :string, :default =>
|
184
|
+
method_option :browser, :type => :string, :default => nil, :aliases => '-b', :desc => 'browser to open with'
|
185
185
|
method_option :xip, :type => :boolean, :default => false, :alias => '-x', :desc => "open xip.io instead of .domain"
|
186
186
|
def open(name=nil)
|
187
187
|
browser = options.browser? ? "-a \'#{options.browser}\'" : nil
|
@@ -241,8 +241,12 @@ module Powder
|
|
241
241
|
def log
|
242
242
|
path_to_log_file = "#{ENV['HOME']}/Library/Logs/Pow/apps/#{current_dir_name}.log"
|
243
243
|
if File.exist? path_to_log_file
|
244
|
-
|
245
|
-
|
244
|
+
begin
|
245
|
+
system "tail -f #{path_to_log_file}"
|
246
|
+
rescue Interrupt
|
247
|
+
say "\nExiting log..."
|
248
|
+
exit 130
|
249
|
+
end
|
246
250
|
else
|
247
251
|
say "There is no Pow log file, have you set this application up yet?"
|
248
252
|
end
|
@@ -250,8 +254,12 @@ module Powder
|
|
250
254
|
|
251
255
|
desc "applog", "Tails in current app"
|
252
256
|
def applog(env="development")
|
253
|
-
|
254
|
-
|
257
|
+
begin
|
258
|
+
system "tail -f log/#{env}.log" if is_powable?
|
259
|
+
rescue Interrupt
|
260
|
+
say "\nExiting log..."
|
261
|
+
exit 130
|
262
|
+
end
|
255
263
|
end
|
256
264
|
|
257
265
|
desc "uninstall", "Uninstalls pow"
|
data/lib/powder/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: powder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phil Nash
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-06-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
@@ -79,9 +79,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
79
|
version: '0'
|
80
80
|
requirements: []
|
81
81
|
rubyforge_project: powder
|
82
|
-
rubygems_version: 2.
|
82
|
+
rubygems_version: 2.6.8
|
83
83
|
signing_key:
|
84
84
|
specification_version: 4
|
85
85
|
summary: Makes Pow even easier
|
86
86
|
test_files: []
|
87
|
-
has_rdoc:
|