powder 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/Gemfile +1 -1
- data/Readme.md +3 -3
- data/bin/powder +6 -6
- data/lib/powder/version.rb +1 -1
- data/powder.gemspec +1 -1
- 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: 7df7072d9ac6906982d075288576ecce50c61d91
|
4
|
+
data.tar.gz: 126c22118f764588449ba700541f8d19d5e8bba0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f2260a5006a824337500fcded65e35070f1da70b39874f9de41462833504e4b9e43855a039f001f2608aebb480f07fed030ac32470ac62026347e8ca444ff85
|
7
|
+
data.tar.gz: 806a962c644ab81c7e24a18a371b1c76b343839f37779c266b315e5efedf0ef278aeeaac2cade809347d28f8596ac6285550ea72ea7fca2d87566157f3cfeeda
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
### 0.3.2 / 2017-06-14 ###
|
2
|
+
|
3
|
+
* 4 minor changes
|
4
|
+
|
5
|
+
* Fixes shortcut aliases
|
6
|
+
([commit 1](https://github.com/powder-rb/powder/commit/7bcf04319b913c842d5c027d4c538e495c997e71) [commit 2](https://github.com/powder-rb/powder/commit/5df9781cbd848287412be3f9c50bcf7f67781795))
|
7
|
+
* Updates Gemfile to use https
|
8
|
+
* Uses better shebang to get currently active ruby
|
9
|
+
* Corrects homepage link in gemspec
|
10
|
+
([all in this commit](https://github.com/powder-rb/powder/commit/82fbf49d219a8b02ce5c5041a2b0f7af1521c84a))
|
11
|
+
|
1
12
|
### 0.3.1 / 2017-06-13 ###
|
2
13
|
|
3
14
|
* 1 minor change
|
data/Gemfile
CHANGED
data/Readme.md
CHANGED
@@ -66,7 +66,7 @@ powder manages [pow](http://pow.cx/)
|
|
66
66
|
|
67
67
|
$ powder debug
|
68
68
|
=> Opens a debug shell with your application environment
|
69
|
-
|
69
|
+
|
70
70
|
$ powder open
|
71
71
|
=> Opens the pow link in a browser
|
72
72
|
# aliased as powder -o
|
@@ -127,7 +127,7 @@ powder manages [pow](http://pow.cx/)
|
|
127
127
|
# aliased as powder [prod|dev]
|
128
128
|
# This is a wrapper for powder env RAILS_ENV ...
|
129
129
|
|
130
|
-
|
130
|
+
|
131
131
|
### Install and uninstall Pow ###
|
132
132
|
|
133
133
|
$ powder install
|
@@ -147,7 +147,7 @@ powder manages [pow](http://pow.cx/)
|
|
147
147
|
$ powder up
|
148
148
|
=> Enable Pow
|
149
149
|
# aliased as powder start
|
150
|
-
|
150
|
+
|
151
151
|
$ powder down
|
152
152
|
=> Disable Pow
|
153
153
|
# aliased as powder stop
|
data/bin/powder
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/usr/bin/ruby
|
1
|
+
#!/usr/bin/env ruby
|
2
2
|
|
3
3
|
require 'rubygems'
|
4
4
|
require 'thor'
|
@@ -107,8 +107,8 @@ module Powder
|
|
107
107
|
alias :stop :down
|
108
108
|
|
109
109
|
desc "link", "Link a pow"
|
110
|
-
method_option :force, :type => :boolean, :default => false, :
|
111
|
-
method_option :"no-config", :type => :boolean, :default => false, :
|
110
|
+
method_option :force, :type => :boolean, :default => false, :aliases => '-f', :desc => "remove the old configuration, overwrite .powder"
|
111
|
+
method_option :"no-config", :type => :boolean, :default => false, :aliases => '-n', :desc => "do not write a .powder file"
|
112
112
|
def link(name=nil)
|
113
113
|
return unless is_powable?
|
114
114
|
if File.symlink?(POW_PATH)
|
@@ -182,7 +182,7 @@ module Powder
|
|
182
182
|
|
183
183
|
desc "open", "Open a pow in the browser"
|
184
184
|
method_option :browser, :type => :string, :default => nil, :aliases => '-b', :desc => 'browser to open with'
|
185
|
-
method_option :xip, :type => :boolean, :default => false, :
|
185
|
+
method_option :xip, :type => :boolean, :default => false, :aliases => '-x', :desc => "open xip.io instead of .domain"
|
186
186
|
def open(name=nil)
|
187
187
|
browser = options.browser? ? "-a \'#{options.browser}\'" : nil
|
188
188
|
if options.xip?
|
@@ -203,7 +203,7 @@ module Powder
|
|
203
203
|
end
|
204
204
|
|
205
205
|
desc "unlink", "Unlink a pow app"
|
206
|
-
method_option :delete, :type => :boolean, :default => false, :
|
206
|
+
method_option :delete, :type => :boolean, :default => false, :aliases => '-e', :desc => "delete .powder"
|
207
207
|
def unlink(name=nil)
|
208
208
|
return unless is_powable?
|
209
209
|
FileUtils.rm_f POW_PATH + '/' + (name || get_pow_name)
|
@@ -348,7 +348,7 @@ module Powder
|
|
348
348
|
|
349
349
|
desc "portmap PORT", "Map a port to an app"
|
350
350
|
method_option :name, :type => :string, :aliases => '-n', :desc => 'name of the port map'
|
351
|
-
method_option :force, :type => :boolean, :default => false, :
|
351
|
+
method_option :force, :type => :boolean, :default => false, :aliases => '-f', :desc => "remove the old configuration, overwrite .powder"
|
352
352
|
def portmap(port)
|
353
353
|
if File.symlink?(POW_PATH)
|
354
354
|
name = options.name ? options.name : get_pow_name
|
data/lib/powder/version.rb
CHANGED
data/powder.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
9
|
s.authors = ["Phil Nash", "Adam Rogers"]
|
10
10
|
s.email = ["no"]
|
11
|
-
s.homepage = "
|
11
|
+
s.homepage = "https://github.com/powder-rb/powder"
|
12
12
|
s.summary = %q{Makes Pow even easier}
|
13
13
|
s.description = %q{Makes Pow even easier. I mean really, really, ridiculously easy.}
|
14
14
|
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phil Nash
|
@@ -60,7 +60,7 @@ files:
|
|
60
60
|
- man/powder.1.html
|
61
61
|
- man/powder.1.ronn
|
62
62
|
- powder.gemspec
|
63
|
-
homepage:
|
63
|
+
homepage: https://github.com/powder-rb/powder
|
64
64
|
licenses: []
|
65
65
|
metadata: {}
|
66
66
|
post_install_message:
|