chairs 0.92 → 0.94

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.
data/README.md CHANGED
@@ -12,10 +12,11 @@ The first time you run it, chairs will ask you to add "chairs/" to your .gitigno
12
12
 
13
13
  Run `chairs` from the root folder of your project.
14
14
 
15
- chairs pull [name] get the docs file from most recent app and call it name.
16
- chairs push [name] move the named docs to the most recent app doc folder.
17
- chairs list list all the current docs in working directory.
18
- chairs help show in app help.
15
+ chairs pull [name] get documents and support files from latest built app and store as name.
16
+ chairs push [name] overwrite documents and support files from the latest build in Xcode.
17
+ chairs rm [name] delete the files for the chair.
18
+ chairs open open the current app folder in Finder.
19
+ chairs list list all the current docs in working directory.
19
20
 
20
21
 
21
22
  ## Problems?
@@ -1,3 +1,3 @@
1
1
  module Chairs
2
- VERSION = "0.92"
2
+ VERSION = "0.94"
3
3
  end
data/lib/musician.rb CHANGED
@@ -80,8 +80,10 @@ module Chairs
80
80
  puts "Pushing files for #{@app_name}"
81
81
  puts "From chairs/#{@target_folder} to #{@app_folder}"
82
82
 
83
- # Pow("#{@app_folder}/Documents/").delete! if Pow("#{@app_folder}/Documents/").exists?
84
-
83
+ # clean the directory we're about to throw things in
84
+ target_path = Pow(@app_folder).to_s.gsub(" ", "\\ ")
85
+ system "rm -r #{target_path}/*"
86
+
85
87
  copy(Pow("chairs/#{@target_folder}/*"), Pow("#{@app_folder}/"))
86
88
  puts "Done!"
87
89
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chairs
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.92'
4
+ version: '0.94'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-01 00:00:00.000000000 Z
12
+ date: 2012-08-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pow