presspass 1.1 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8d4149b7a214d6de9162f38b0c66b77c314cc21f
4
- data.tar.gz: cc657c5b9284c25ad331e3507775371a24387e32
3
+ metadata.gz: 3fcffb335f3424e8fe46bd435134c62f1317a646
4
+ data.tar.gz: 818d63a2daaba9a869195887a75c0694e389c095
5
5
  SHA512:
6
- metadata.gz: 9ea980b9f1d4fb1fd2196d105d6e78f9c04fbdca7a64030bc8cc60075cd254266a874f7dab50e0dfef1a44bb8032cae7e863319f75c4f669781da416d538336d
7
- data.tar.gz: c5995909e88f48732010ba4764740d6aa6fc960c403b88641472bfb28149ffcf72d7c18131bbb5d57414a3c046e36e247d206df9b22f1509b9ff40dbeed5c051
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
- puts "Downloading wordpress-#{PressPass::WORDPRESS_VERSION}.tar.gz..."
63
+ filename = "wordpress-#{PressPass::WORDPRESS_VERSION}.tar.gz"
64
+ puts "Downloading #{filename}..."
57
65
 
58
- resp = open("https://wordpress.org/wordpress-#{PressPass::WORDPRESS_VERSION}.tar.gz")
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 "wordpress-#{PressPass::WORDPRESS_VERSION}.tar.gz downloaded."
69
+ puts "#{filename} downloaded."
65
70
  end
66
71
 
67
72
  def extract_wordpress_into_project_directory
@@ -1,6 +1,6 @@
1
1
  module PressPass
2
2
 
3
3
  WORDPRESS_VERSION = "4.1.1"
4
- VERSION = "1.1"
4
+ VERSION = "1.1.1"
5
5
 
6
6
  end
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: '1.1'
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-02 00:00:00.000000000 Z
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.2.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