presspass 1.1 → 1.1.1
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/lib/presspass/cli/new_project_generator.rb +11 -6
- data/lib/presspass/presspass.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3fcffb335f3424e8fe46bd435134c62f1317a646
|
|
4
|
+
data.tar.gz: 818d63a2daaba9a869195887a75c0694e389c095
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7dd8536a4b1608ecf270ecc6eabd2069f9cfa552d41b4debd641c092e97b139d5db03e98b18afc0781b8bce072caa501d0edaadcf4d0cbdecef4192ee1eb2cc
|
|
7
|
+
data.tar.gz: 202fe9aba8cb6a1ec21c67b4f2a976de5c2e655ea5aa3ec59fd6c3e3eb260c6d8356c479c8651eb0172f29fb7481c60295c6f67447ea6be5fb269275e2bd449b
|
|
@@ -32,6 +32,13 @@ module PressPass
|
|
|
32
32
|
install_foreman(php_port: @options[:php_port])
|
|
33
33
|
|
|
34
34
|
puts "WordPress installation created at #{@app_name}."
|
|
35
|
+
puts "You can now run:"
|
|
36
|
+
puts
|
|
37
|
+
puts " $ gem install foreman"
|
|
38
|
+
puts " $ cd #{@app_name}/"
|
|
39
|
+
puts " $ foreman start"
|
|
40
|
+
puts
|
|
41
|
+
puts "And access your WordPress site at http://localhost:8000!"
|
|
35
42
|
end
|
|
36
43
|
|
|
37
44
|
private
|
|
@@ -53,15 +60,13 @@ module PressPass
|
|
|
53
60
|
|
|
54
61
|
def download_wordpress
|
|
55
62
|
if !File.exists?("/tmp/wordpress-#{PressPass::WORDPRESS_VERSION}.tar.gz")
|
|
56
|
-
|
|
63
|
+
filename = "wordpress-#{PressPass::WORDPRESS_VERSION}.tar.gz"
|
|
64
|
+
puts "Downloading #{filename}..."
|
|
57
65
|
|
|
58
|
-
|
|
59
|
-
open("/tmp/wordpress-#{PressPass::WORDPRESS_VERSION}.tar.gz", 'w') do |file|
|
|
60
|
-
file.write(resp.read)
|
|
61
|
-
end
|
|
66
|
+
`curl -o /tmp/#{filename} https://wordpress.org/#{filename}`
|
|
62
67
|
end
|
|
63
68
|
|
|
64
|
-
puts "
|
|
69
|
+
puts "#{filename} downloaded."
|
|
65
70
|
end
|
|
66
71
|
|
|
67
72
|
def extract_wordpress_into_project_directory
|
data/lib/presspass/presspass.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: presspass
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michiel Sikkes
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-04-
|
|
11
|
+
date: 2015-04-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: |2
|
|
14
14
|
PressPass is a command-line tool that helps you do WordPress development.
|
|
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
64
64
|
version: '0'
|
|
65
65
|
requirements: []
|
|
66
66
|
rubyforge_project:
|
|
67
|
-
rubygems_version: 2.
|
|
67
|
+
rubygems_version: 2.4.5
|
|
68
68
|
signing_key:
|
|
69
69
|
specification_version: 4
|
|
70
70
|
summary: PressPass makes doing WordPress development awesome
|