wordpress_tools 1.1.2 → 1.1.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5208c545c2f48695434f491530d1262c243df95
4
- data.tar.gz: 9e1db7c3b62abd88d0ca2e45ed2af8aff2d7896f
3
+ metadata.gz: 29edc9f9cea281c8e783dd3008bc75bda82e2c55
4
+ data.tar.gz: 9cc0424f32eaab44e750cecaf04877f18f499ae2
5
5
  SHA512:
6
- metadata.gz: af29c57017e573241ebbb35f070c988dee1f6bfc95d4b77a5635b6f1c413beb79c0d713a120baf8d4a4faf2c0e0794f5d7e65cf058c8c82bd3c64504ab761f4c
7
- data.tar.gz: 7da3b9cbccff833db747cee25848e5c1481d2544e696108075cb31ce8801ad97cdb8461d0addd6fcb96071e61dd959b45d3517fe1a62d3478f544ead945557dd
6
+ metadata.gz: 94b6807a09a4a8c67794152b09d6987ba00a99bb9b6645469baaabb3aece35afe436ee83d05befb5cfe15e07342b85a06af63152ae00b528493f6c0ca44a3eef
7
+ data.tar.gz: ab904dda5f9ebc0b6ef89d9dce7bbfca79c7a28f76000ef261d1999c922b23520b9c24028e4eb06cae3ac03f5a2cc886058054a0c44aa3f4023822329c287048
data/README.md CHANGED
@@ -3,6 +3,9 @@
3
3
  A command line tool to help manage your WordPress sites in development.
4
4
 
5
5
  [![Build Status](https://travis-ci.org/welaika/wordpress_tools.png?branch=master)](https://travis-ci.org/welaika/wordpress_tools)
6
+ [![Code Climate](https://codeclimate.com/github/welaika/wordpress_tools/badges/gpa.svg)](https://codeclimate.com/github/welaika/wordpress_tools)
7
+ [![Gem Version](http://img.shields.io/gem/v/wordpress_tools.svg)](https://rubygems.org/gems/wordpress_tools)
8
+ [![License](http://img.shields.io/:license-mit-blue.svg)](http://www.mit-license.org)
6
9
 
7
10
  ## Installation
8
11
 
@@ -1,3 +1,3 @@
1
1
  module WordPressTools
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.3"
3
3
  end
@@ -32,7 +32,7 @@ module WordPressTools
32
32
  end
33
33
 
34
34
  def download_wordpress
35
- download_url, version, locale = Net::HTTP.get('api.wordpress.org', "/core/version-check/1.5/?locale=#{options[:locale]}").split[2,3]
35
+ download_url, version, locale = URI.parse("https://api.wordpress.org/core/version-check/1.5/?locale=#{options[:locale]}").read.split[2,3]
36
36
 
37
37
  info("Downloading WordPress #{version} (#{locale})...")
38
38
  get(download_url, tempfile.path, force: true, verbose: false) || error("Could not download WordPress")
@@ -6,8 +6,8 @@ require "wordpress_tools/version"
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "wordpress_tools"
8
8
  spec.version = WordPressTools::VERSION
9
- spec.authors = ["Étienne Després", "Alessandro Fazzi", "Filippo Gangi Dino", "Ju Liu", "Fabrizio Monti"]
10
- spec.email = ["etienne@molotov.ca", "alessandro.fazzi@welaika.com", "filippo.gangidino@welaika.com", "ju.liu@welaika.com", "fabrizio.monti@welaika.com"]
9
+ spec.authors = ["Étienne Després", "Alessandro Fazzi", "Filippo Gangi Dino", "Ju Liu", "Fabrizio Monti", "Matteo Piotto"]
10
+ spec.email = ["etienne@molotov.ca", "alessandro.fazzi@welaika.com", "filippo.gangidino@welaika.com", "ju.liu@welaika.com", "fabrizio.monti@welaika.com", "matteo.piotto@welaika.com"]
11
11
  spec.summary = %q{Manage WordPress installations.}
12
12
  spec.description = %q{Command line tool to manage WordPress installations.}
13
13
  spec.homepage = "http://github.com/welaika/wordpress_tools"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wordpress_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Étienne Després"
@@ -9,10 +9,11 @@ authors:
9
9
  - Filippo Gangi Dino
10
10
  - Ju Liu
11
11
  - Fabrizio Monti
12
+ - Matteo Piotto
12
13
  autorequire:
13
14
  bindir: exe
14
15
  cert_chain: []
15
- date: 2015-03-05 00:00:00.000000000 Z
16
+ date: 2015-09-11 00:00:00.000000000 Z
16
17
  dependencies:
17
18
  - !ruby/object:Gem::Dependency
18
19
  name: thor
@@ -133,6 +134,7 @@ email:
133
134
  - filippo.gangidino@welaika.com
134
135
  - ju.liu@welaika.com
135
136
  - fabrizio.monti@welaika.com
137
+ - matteo.piotto@welaika.com
136
138
  executables:
137
139
  - wordpress
138
140
  extensions: []