powder 0.3.3 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/Readme.md +2 -2
- data/bin/powder +2 -2
- data/lib/powder/version.rb +1 -1
- data/man/powder.1 +2 -2
- data/man/powder.1.html +2 -2
- data/man/powder.1.ronn +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: 3d3254f1fbd43b11a01226eb78967c8208d72e1b
|
4
|
+
data.tar.gz: 326bb97913824506c653a61e47539d2f880b6a53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: deedf3c9538a18a7895f9e7f1ca87de1bd4d7433642af2882cf1fa92092c3258fa467acd88d0313a302e486649969be82efc3d910c6e9eaf4450a623fb5ec77b
|
7
|
+
data.tar.gz: 6b5afc9dbf6dbdb2d30bd0297c8cbc0b2735101bd4fb9c4062652f79fdf0e8c8b5dc7e8b38caef55f050aee688ac1ee65e4e35484a329e5145a35ee89463a85d
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
### 0.4.0 / 2017-12-10 ###
|
2
|
+
|
3
|
+
* 1 minor change
|
4
|
+
|
5
|
+
* Updates powder to open domains as `.test` instead of `.dev` [commit](https://github.com/powder-rb/powder/commit/6fd673d429a407f67a91738316a641135bbd974b) [discussion](https://github.com/powder-rb/powder/issues/134)
|
6
|
+
|
7
|
+
### 0.3.3 / 2017-11-01 ###
|
8
|
+
|
9
|
+
* 2 minor changes
|
10
|
+
|
11
|
+
* Allows opening with the `--path` argument [commit](https://github.com/powder-rb/powder/commit/925e312e30a2ef6a00b67012be028cd943ee11f2)
|
12
|
+
* Adds license info to the gemspec
|
13
|
+
|
1
14
|
### 0.3.2 / 2017-06-14 ###
|
2
15
|
|
3
16
|
* 4 minor changes
|
data/Readme.md
CHANGED
@@ -76,7 +76,7 @@ powder manages [pow](http://pow.cx/)
|
|
76
76
|
# aliased as powder -o -x
|
77
77
|
|
78
78
|
$ powder open [bacon]
|
79
|
-
=> Opens http://bacon.
|
79
|
+
=> Opens http://bacon.test in a browser
|
80
80
|
# if you have set up alternative top level domains in .powconfig,
|
81
81
|
# then the first listed domain will be opened.
|
82
82
|
|
@@ -93,7 +93,7 @@ powder manages [pow](http://pow.cx/)
|
|
93
93
|
$ powder -o -x -b 'Google Chrome'
|
94
94
|
|
95
95
|
$ powder open [--path|-p] home
|
96
|
-
=> Opens the pow link with a path appended, e.g. http://bacon.
|
96
|
+
=> Opens the pow link with a path appended, e.g. http://bacon.test/home
|
97
97
|
|
98
98
|
$ powder restart
|
99
99
|
=> Restart the current app
|
data/bin/powder
CHANGED
@@ -498,10 +498,10 @@ module Powder
|
|
498
498
|
if File.exists? File.expand_path('~/.powconfig')
|
499
499
|
returned_domain = %x{source ~/.powconfig; echo $POW_DOMAINS}.gsub("\n", "").split(",").first
|
500
500
|
returned_domain = %x{source ~/.powconfig; echo $POW_DOMAIN}.gsub("\n", "") if returned_domain.nil? || returned_domain.empty?
|
501
|
-
returned_domain = '
|
501
|
+
returned_domain = 'test' if returned_domain.nil? || returned_domain.empty?
|
502
502
|
returned_domain
|
503
503
|
else
|
504
|
-
'
|
504
|
+
'test'
|
505
505
|
end
|
506
506
|
end
|
507
507
|
|
data/lib/powder/version.rb
CHANGED
data/man/powder.1
CHANGED
@@ -129,7 +129,7 @@ For both forms of link, if the current directory doesn\'t look like an app that
|
|
129
129
|
\fB$ powder open [bacon]\fR
|
130
130
|
.
|
131
131
|
.br
|
132
|
-
=> Opens http://bacon\.
|
132
|
+
=> Opens http://bacon\.test in a browser
|
133
133
|
.
|
134
134
|
.br
|
135
135
|
# if you have set up alternative top level domains in \.powconfig,
|
@@ -144,7 +144,7 @@ For both forms of link, if the current directory doesn\'t look like an app that
|
|
144
144
|
\fB$ powder open \-b \'Google Chrome\'\fR => Opens the pow link with browsers with more than one word
|
145
145
|
.
|
146
146
|
.P
|
147
|
-
\fB$ powder open \-\-path home\fR => Opens the pow link with a path appended (http://bacon.
|
147
|
+
\fB$ powder open \-\-path home\fR => Opens the pow link with a path appended (http://bacon.test/home) # Also aliased as \-p
|
148
148
|
.
|
149
149
|
.P
|
150
150
|
# Should also works with all the other \'open\' options: \fB$ powder open bacon \-b Safari\fR \fB$ powder open \-\-xip \-b Firefox\fR \fB$ powder \-o \-x \-b \'Google Chrome\'\fR
|
data/man/powder.1.html
CHANGED
@@ -153,7 +153,7 @@ a basic <strong>config.ru</strong> for Rails 2</p>
|
|
153
153
|
# aliased as powder -o</p>
|
154
154
|
|
155
155
|
<p> <code>$ powder open [bacon]</code><br />
|
156
|
-
=> Opens http://bacon.
|
156
|
+
=> Opens http://bacon.test in a browser<br />
|
157
157
|
# if you have set up alternative top level domains in .powconfig,<br />
|
158
158
|
# then the first listed domain will be opened.</p>
|
159
159
|
|
@@ -165,7 +165,7 @@ a basic <strong>config.ru</strong> for Rails 2</p>
|
|
165
165
|
=> Opens the pow link with browsers with more than one word</p>
|
166
166
|
|
167
167
|
<p> <code>$ powder open --path home</code>
|
168
|
-
=> Opens the pow link with a path appended (http://bacon.
|
168
|
+
=> Opens the pow link with a path appended (http://bacon.test/home)
|
169
169
|
# Also aliased as -p</p>
|
170
170
|
|
171
171
|
<p> # Should also works with all the other 'open' options:
|
data/man/powder.1.ronn
CHANGED
@@ -82,7 +82,7 @@ a basic **config.ru** for Rails 2
|
|
82
82
|
# aliased as powder -o
|
83
83
|
|
84
84
|
`$ powder open [bacon]`
|
85
|
-
=> Opens http://bacon.
|
85
|
+
=> Opens http://bacon.test in a browser
|
86
86
|
# if you have set up alternative top level domains in .powconfig,
|
87
87
|
# then the first listed domain will be opened.
|
88
88
|
|
@@ -94,7 +94,7 @@ a basic **config.ru** for Rails 2
|
|
94
94
|
=> Opens the pow link with browsers with more than one word
|
95
95
|
|
96
96
|
`$ powder open --path home`
|
97
|
-
=> Opens the pow link with a path appended (http://bacon.
|
97
|
+
=> Opens the pow link with a path appended (http://bacon.test/home)
|
98
98
|
# Also aliased as -p
|
99
99
|
|
100
100
|
# Should also works with all the other 'open' options:
|
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.
|
4
|
+
version: 0.4.0
|
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: 2017-
|
12
|
+
date: 2017-12-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|