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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ac798e222c9b018fedf3b22a706502cabcef8016
4
- data.tar.gz: 74a5878bb50db929e7ba4d3c62155a7bb52bf0c3
3
+ metadata.gz: 8024af39f783bdf64a98f92bd9fe19972b6efdf6
4
+ data.tar.gz: 3e56e64daf4790dc5a7fd72fdf598dfbe211e832
5
5
  SHA512:
6
- metadata.gz: a633242dab35c250901cbfe2073b0fe24df89e625adf60f66de7ef8643b6587aa6a93855942591056e68b10990fca40f29af7d63e98a4599e7b8eb63fbf98e7a
7
- data.tar.gz: 6b9f222900fd9165f6e07e8c6e823e770b8bb781daac908435eb90592c480d27229c288f46c404d6942ce3669da24618a1731691fee24b54578b63fe7b981b10
6
+ metadata.gz: 78c504584c09f1b32ff8c0285473cfbc27fb9983fb22965a0076f923669798ebbb109fece71a3abdefa90524ddf66498385a3cb8d85b50496ffd045b2b45f086
7
+ data.tar.gz: 0b4439b50be133d05cb6a2741e7251c280ea6d16edc83037cdee7e6e40404e53bca377e77b26d8aca46179d69ed6c551cd34b8b290a2783a0ec36ef2ddd0e15e
@@ -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 => false, :aliases => '-b', :desc => 'browser to open with'
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
- trap('INT') { say "\nExiting log..." }
245
- system "tail -f #{path_to_log_file}"
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
- trap('INT') { say "\nExiting applog..." }
254
- system "tail -f log/#{env}.log" if is_powable?
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"
@@ -1,3 +1,3 @@
1
1
  module Powder
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
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.0
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: 2014-10-29 00:00:00.000000000 Z
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.4.1
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: