presspass 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -43,7 +43,7 @@ module PressPass
43
43
 
44
44
  def set_default_config
45
45
 
46
- config_file = File.join(Dir.home, '.presspass.yml')
46
+ config_file = File.join(File.expand_path('~'), '.presspass.yml')
47
47
 
48
48
  config = {}
49
49
  config["installation_dir"] = File.expand_path(@app_name)
@@ -55,8 +55,8 @@ module PressPass
55
55
  end
56
56
 
57
57
  def create_project_directory
58
- if Dir.exists?(@app_name)
59
- puts "A directory with name #{@app_name} already exists."
58
+ if File.exist?(@app_name)
59
+ puts "A file or directory with name #{@app_name} already exists."
60
60
  exit 1
61
61
  end
62
62
  end
@@ -1,6 +1,6 @@
1
1
  module PressPass
2
2
 
3
3
  WORDPRESS_VERSION = "3.5"
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
 
6
6
  end
metadata CHANGED
@@ -1,75 +1,73 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: presspass
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.1
3
+ version: !ruby/object:Gem::Version
4
+ hash: 31
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 2
10
+ version: 0.1.2
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Michiel Sikkes
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-12-15 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2012-12-23 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: rack
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :runtime
23
22
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
23
+ requirement: &id001 !ruby/object:Gem::Requirement
25
24
  none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
30
- - !ruby/object:Gem::Dependency
31
- name: rack-legacy
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: '0'
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 3
29
+ segments:
30
+ - 0
31
+ version: "0"
38
32
  type: :runtime
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ name: rack-legacy
39
36
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
37
+ requirement: &id002 !ruby/object:Gem::Requirement
41
38
  none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
- - !ruby/object:Gem::Dependency
47
- name: rack-rewrite
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ hash: 3
43
+ segments:
44
+ - 0
45
+ version: "0"
54
46
  type: :runtime
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ name: rack-rewrite
55
50
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
51
+ requirement: &id003 !ruby/object:Gem::Requirement
57
52
  none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- description: ! " PressPass is a command-line tool that helps you do WordPress development.\n\n
63
- \ It lets you install the latest WordPress version on your local development machine\n
64
- \ and sets it up for usage with PHP and Pow so you can run it along side your\n
65
- \ Rails apps if you want to.\n\n It contains generation tools similar to the
66
- rails command for generating themes\n and plugins.\n"
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ hash: 3
57
+ segments:
58
+ - 0
59
+ version: "0"
60
+ type: :runtime
61
+ version_requirements: *id003
62
+ description: " PressPass is a command-line tool that helps you do WordPress development.\n\n It lets you install the latest WordPress version on your local development machine\n and sets it up for usage with PHP and Pow so you can run it along side your\n Rails apps if you want to.\n\n It contains generation tools similar to the rails command for generating themes\n and plugins.\n"
67
63
  email: michiel@firmhouse.com
68
- executables:
64
+ executables:
69
65
  - presspass
70
66
  extensions: []
67
+
71
68
  extra_rdoc_files: []
72
- files:
69
+
70
+ files:
73
71
  - lib/presspass.rb
74
72
  - lib/presspass/presspass.rb
75
73
  - lib/presspass/cli.rb
@@ -77,31 +75,37 @@ files:
77
75
  - lib/presspass/cli/linker.rb
78
76
  - bin/presspass
79
77
  homepage: http://github.com/firmhouse/presspass
80
- licenses:
78
+ licenses:
81
79
  - MIT
82
- post_install_message: ! " Thank you for installing PressPass! Now get started with
83
- setting up a \n WordPress installation in your current directory:\n\n presspass
84
- new my_blog\n\n If you need help, please create an issue at\n https://github.com/firmhouse/presspass/issues\n
85
- \ \n"
80
+ post_install_message: " Thank you for installing PressPass! Now get started with setting up a \n WordPress installation in your current directory:\n\n presspass new my_blog\n\n If you need help, please create an issue at\n https://github.com/firmhouse/presspass/issues\n \n"
86
81
  rdoc_options: []
87
- require_paths:
82
+
83
+ require_paths:
88
84
  - lib
89
- required_ruby_version: !ruby/object:Gem::Requirement
85
+ required_ruby_version: !ruby/object:Gem::Requirement
90
86
  none: false
91
- requirements:
92
- - - ! '>='
93
- - !ruby/object:Gem::Version
94
- version: '0'
95
- required_rubygems_version: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ hash: 3
91
+ segments:
92
+ - 0
93
+ version: "0"
94
+ required_rubygems_version: !ruby/object:Gem::Requirement
96
95
  none: false
97
- requirements:
98
- - - ! '>='
99
- - !ruby/object:Gem::Version
100
- version: '0'
96
+ requirements:
97
+ - - ">="
98
+ - !ruby/object:Gem::Version
99
+ hash: 3
100
+ segments:
101
+ - 0
102
+ version: "0"
101
103
  requirements: []
104
+
102
105
  rubyforge_project:
103
- rubygems_version: 1.8.23
106
+ rubygems_version: 1.8.24
104
107
  signing_key:
105
108
  specification_version: 3
106
109
  summary: PressPass makes doing WordPress development awesome
107
110
  test_files: []
111
+