powder 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/CHANGELOG +6 -1
  2. data/Readme.md +1 -1
  3. data/bin/powder +8 -4
  4. data/lib/powder/version.rb +1 -1
  5. metadata +3 -19
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ === 0.1.1 / 2011-04-11
2
+
3
+ * 1 minor change
4
+ * We won't try reading ~/.powconfig if it doesn't exist
5
+
1
6
  === 0.1.0 / 2011-04-11
2
7
 
3
8
  * 1 Major change
@@ -11,4 +16,4 @@
11
16
 
12
17
  === 0.0.4 / 2011-04-08
13
18
 
14
- * Early release with link, list, restart, remove, open, install and uninstall commands
19
+ * Early release with link, list, restart, remove, open, install and uninstall commands
data/Readme.md CHANGED
@@ -12,7 +12,7 @@ powder manages [pow](http://pow.cx/)
12
12
 
13
13
  $ powder link bacon
14
14
  => link the current dir to ~/.pow/bacon
15
- # If the current directory doesn't look like an app that can be powered
15
+ # If the current directory doesn't look like an app that can be powed
16
16
  # by pow it will offer to download a basic config.ru for Rails 2
17
17
 
18
18
  $ powder list
data/bin/powder CHANGED
@@ -88,10 +88,14 @@ class Powder < Thor
88
88
  end
89
89
 
90
90
  def domain
91
- returned_domain = %x{source ~/.powconfig; echo $POW_DOMAINS}.gsub("\n", "").split(",").first
92
- returned_domain = %x{source ~/.powconfig; echo $POW_DOMAIN}.gsub("\n", "") if returned_domain.nil? || returned_domain.empty?
93
- returned_domain = 'dev' if returned_domain.nil? || returned_domain.empty?
94
- returned_domain
91
+ if File.exists? '~/.powconfig'
92
+ returned_domain = %x{source ~/.powconfig; echo $POW_DOMAINS}.gsub("\n", "").split(",").first
93
+ returned_domain = %x{source ~/.powconfig; echo $POW_DOMAIN}.gsub("\n", "") if returned_domain.nil? || returned_domain.empty?
94
+ returned_domain = 'dev' if returned_domain.nil? || returned_domain.empty?
95
+ returned_domain
96
+ else
97
+ 'dev'
98
+ end
95
99
  end
96
100
  end
97
101
  Powder.start
@@ -1,3 +1,3 @@
1
1
  module Powder
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: powder
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 1
9
- - 0
10
- version: 0.1.0
4
+ prerelease:
5
+ version: 0.1.1
11
6
  platform: ruby
12
7
  authors:
13
8
  - Phil Nash
@@ -27,11 +22,6 @@ dependencies:
27
22
  requirements:
28
23
  - - ">="
29
24
  - !ruby/object:Gem::Version
30
- hash: 63
31
- segments:
32
- - 0
33
- - 9
34
- - 2
35
25
  version: 0.9.2
36
26
  type: :runtime
37
27
  version_requirements: *id001
@@ -69,23 +59,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
69
59
  requirements:
70
60
  - - ">="
71
61
  - !ruby/object:Gem::Version
72
- hash: 3
73
- segments:
74
- - 0
75
62
  version: "0"
76
63
  required_rubygems_version: !ruby/object:Gem::Requirement
77
64
  none: false
78
65
  requirements:
79
66
  - - ">="
80
67
  - !ruby/object:Gem::Version
81
- hash: 3
82
- segments:
83
- - 0
84
68
  version: "0"
85
69
  requirements: []
86
70
 
87
71
  rubyforge_project: powder
88
- rubygems_version: 1.3.7
72
+ rubygems_version: 1.5.2
89
73
  signing_key:
90
74
  specification_version: 3
91
75
  summary: Makes Pow even easier