wordpress_tools 1.2.0 → 1.3.0

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: 22569dc71b2120bc5e0c4d0a7a69328154943fff
4
- data.tar.gz: a4c01f215cb0224209bb1641594e2018780d1693
3
+ metadata.gz: d343374a5e7bfd128d98536c8a4c9a5cbafb3871
4
+ data.tar.gz: 657d4bd46ba6c6bfc17b12d0f3103c9b1f6b912d
5
5
  SHA512:
6
- metadata.gz: f795f8894eb00ae2709ddedea812da56a1f08be23a6e88ec5d37195cc096f2ed4d968b82fa3e111c779944cfeb3a94f3162557f2510c3d318818102c05c848de
7
- data.tar.gz: d4714a290bf8c804bda2ce80d253b97d49a9d44a403dfdf3b6eaae980c3e44a884bb420b09b0a8f017a62896c1e6b43aa1c59543e37791f3520814628c9c6361
6
+ metadata.gz: 8eb9245fb2fb701c74f46b32c7f27f3caa5f4fc7474f0a73e07fb59f261d73d9e3bffecd07fec6536711ddfd30107607ec2a39e0333f97886d6163a2a9dd60a2
7
+ data.tar.gz: 6ae2ad9a948ed9f2a7af7a40a787b7b43f1d658366619fc706802893e48f0518748bef74d670f3c1868cf67b8b283b2005b90adfd46d11b5d40917507de0fca8
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.2.0
1
+ 2.4.1
@@ -0,0 +1,73 @@
1
+ {
2
+ "version": "0.2.0",
3
+ "configurations": [
4
+ {
5
+ "name": "Debug Local File",
6
+ "type": "Ruby",
7
+ "request": "launch",
8
+ "cwd": "${workspaceRoot}",
9
+ "program": "${workspaceRoot}/main.rb"
10
+ },
11
+ {
12
+ "name": "Listen for rdebug-ide",
13
+ "type": "Ruby",
14
+ "request": "attach",
15
+ "cwd": "${workspaceRoot}",
16
+ "remoteHost": "127.0.0.1",
17
+ "remotePort": "1234",
18
+ "remoteWorkspaceRoot": "${workspaceRoot}"
19
+ },
20
+ {
21
+ "name": "Rails server",
22
+ "type": "Ruby",
23
+ "request": "launch",
24
+ "cwd": "${workspaceRoot}",
25
+ "program": "${workspaceRoot}/bin/rails",
26
+ "args": [
27
+ "server"
28
+ ]
29
+ },
30
+ {
31
+ "name": "RSpec - all",
32
+ "type": "Ruby",
33
+ "request": "launch",
34
+ "cwd": "${workspaceRoot}",
35
+ "program": "${workspaceRoot}/bin/rspec",
36
+ "args": [
37
+ "-I",
38
+ "${workspaceRoot}"
39
+ ]
40
+ },
41
+ {
42
+ "name": "RSpec - active spec file only",
43
+ "type": "Ruby",
44
+ "request": "launch",
45
+ "cwd": "${workspaceRoot}",
46
+ "program": "${workspaceRoot}/bin/rspec",
47
+ "args": [
48
+ "-I",
49
+ "${workspaceRoot}",
50
+ "${file}"
51
+ ]
52
+ },
53
+ {
54
+ "name": "RSpec - active test only",
55
+ "type": "Ruby",
56
+ "request": "launch",
57
+ "cwd": "${workspaceRoot}",
58
+ "program": "${workspaceRoot}/bin/rspec",
59
+ "args": [
60
+ "-I",
61
+ "${workspaceRoot}",
62
+ "${file}:${lineNumber}"
63
+ ]
64
+ },
65
+ {
66
+ "name": "Cucumber",
67
+ "type": "Ruby",
68
+ "request": "launch",
69
+ "cwd": "${workspaceRoot}",
70
+ "program": "${workspaceRoot}/bin/cucumber"
71
+ }
72
+ ]
73
+ }
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  A command line tool to help manage your WordPress sites in development.
4
4
 
5
- [![Build Status](https://travis-ci.org/welaika/wordpress_tools.png?branch=master)](https://travis-ci.org/welaika/wordpress_tools)
5
+ [![Build Status](https://semaphoreci.com/api/v1/welaika/wordpress_tools/branches/master/badge.svg)](https://semaphoreci.com/welaika/wordpress_tools)
6
6
  [![Code Climate](https://codeclimate.com/github/welaika/wordpress_tools/badges/gpa.svg)](https://codeclimate.com/github/welaika/wordpress_tools)
7
7
  [![Gem Version](http://img.shields.io/gem/v/wordpress_tools.svg)](https://rubygems.org/gems/wordpress_tools)
8
8
  [![License](http://img.shields.io/:license-mit-blue.svg)](http://www.mit-license.org)
@@ -59,6 +59,10 @@ Example
59
59
  5. Push to the branch (`git push origin my-new-feature`)
60
60
  6. Create new Pull Request
61
61
 
62
+ ## Author
63
+
64
+ made with ❤️ and ☕️ by [weLaika](http://dev.welaika.com)
65
+
62
66
  ## License
63
67
 
64
68
  (The MIT License)
data/bin/bundler ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'bundler' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require "rubygems"
15
+ require "bundler/setup"
16
+
17
+ load Gem.bin_path("bundler", "bundler")
data/bin/byebug ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'byebug' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require "rubygems"
15
+ require "bundler/setup"
16
+
17
+ load Gem.bin_path("byebug", "byebug")
data/bin/coderay ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'coderay' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require "rubygems"
15
+ require "bundler/setup"
16
+
17
+ load Gem.bin_path("coderay", "coderay")
data/bin/htmldiff ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'htmldiff' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require "rubygems"
15
+ require "bundler/setup"
16
+
17
+ load Gem.bin_path("diff-lcs", "htmldiff")
data/bin/ldiff ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'ldiff' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require "rubygems"
15
+ require "bundler/setup"
16
+
17
+ load Gem.bin_path("diff-lcs", "ldiff")
data/bin/pry ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'pry' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require "rubygems"
15
+ require "bundler/setup"
16
+
17
+ load Gem.bin_path("pry", "pry")
data/bin/rake CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
  #
3
4
  # This file was generated by Bundler.
4
5
  #
@@ -6,11 +7,11 @@
6
7
  # this file is here to facilitate running it.
7
8
  #
8
9
 
9
- require 'pathname'
10
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
11
12
  Pathname.new(__FILE__).realpath)
12
13
 
13
- require 'rubygems'
14
- require 'bundler/setup'
14
+ require "rubygems"
15
+ require "bundler/setup"
15
16
 
16
- load Gem.bin_path('rake', 'rake')
17
+ load Gem.bin_path("rake", "rake")
data/bin/rspec CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
  #
3
4
  # This file was generated by Bundler.
4
5
  #
@@ -6,11 +7,11 @@
6
7
  # this file is here to facilitate running it.
7
8
  #
8
9
 
9
- require 'pathname'
10
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
11
12
  Pathname.new(__FILE__).realpath)
12
13
 
13
- require 'rubygems'
14
- require 'bundler/setup'
14
+ require "rubygems"
15
+ require "bundler/setup"
15
16
 
16
- load Gem.bin_path('rspec-core', 'rspec')
17
+ load Gem.bin_path("rspec-core", "rspec")
data/bin/rumoji ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'rumoji' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require "rubygems"
15
+ require "bundler/setup"
16
+
17
+ load Gem.bin_path("rumoji", "rumoji")
data/bin/safe_yaml ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'safe_yaml' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require "rubygems"
15
+ require "bundler/setup"
16
+
17
+ load Gem.bin_path("safe_yaml", "safe_yaml")
data/bin/setup CHANGED
@@ -2,6 +2,8 @@
2
2
  set -euo pipefail
3
3
  IFS=$'\n\t'
4
4
 
5
- bundle install
5
+ bundle install --binstubs
6
6
 
7
7
  # Do any other automated setup that you need to do here
8
+
9
+ curl --url https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar --output spec/fixtures/wp-cli.phar
data/bin/thor ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'thor' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require "rubygems"
15
+ require "bundler/setup"
16
+
17
+ load Gem.bin_path("thor", "thor")
data/bin/wordpress ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'wordpress' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require "rubygems"
15
+ require "bundler/setup"
16
+
17
+ load Gem.bin_path("wordpress_tools", "wordpress")
@@ -1,3 +1,3 @@
1
1
  module WordPressTools
2
- VERSION = "1.2.0"
2
+ VERSION = "1.3.0"
3
3
  end
@@ -21,12 +21,12 @@ Gem::Specification.new do |spec|
21
21
  spec.required_ruby_version = ">= 2.1.2"
22
22
 
23
23
  spec.add_dependency "thor", "~> 0.19.1"
24
- spec.add_dependency "activesupport", "~> 4.2"
24
+ spec.add_dependency "activesupport", "~> 5.0"
25
25
 
26
26
  spec.add_development_dependency "bundler", ">= 1.6.2"
27
27
  spec.add_development_dependency "rake", "~> 10.4"
28
28
  spec.add_development_dependency "rspec", "~> 3.2"
29
- spec.add_development_dependency "fakeweb", "~> 1.3"
29
+ spec.add_development_dependency "webmock"
30
30
  spec.add_development_dependency "pry-byebug", "~> 3.0"
31
31
  spec.add_development_dependency "priscilla", "~> 1.0"
32
32
  spec.add_development_dependency "gem-release"
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wordpress_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
- - "Étienne Després"
7
+ - Étienne Després
8
8
  - Alessandro Fazzi
9
9
  - Filippo Gangi Dino
10
10
  - Ju Liu
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: exe
15
15
  cert_chain: []
16
- date: 2016-05-10 00:00:00.000000000 Z
16
+ date: 2017-07-12 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: thor
@@ -35,14 +35,14 @@ dependencies:
35
35
  requirements:
36
36
  - - "~>"
37
37
  - !ruby/object:Gem::Version
38
- version: '4.2'
38
+ version: '5.0'
39
39
  type: :runtime
40
40
  prerelease: false
41
41
  version_requirements: !ruby/object:Gem::Requirement
42
42
  requirements:
43
43
  - - "~>"
44
44
  - !ruby/object:Gem::Version
45
- version: '4.2'
45
+ version: '5.0'
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: bundler
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -86,19 +86,19 @@ dependencies:
86
86
  - !ruby/object:Gem::Version
87
87
  version: '3.2'
88
88
  - !ruby/object:Gem::Dependency
89
- name: fakeweb
89
+ name: webmock
90
90
  requirement: !ruby/object:Gem::Requirement
91
91
  requirements:
92
- - - "~>"
92
+ - - ">="
93
93
  - !ruby/object:Gem::Version
94
- version: '1.3'
94
+ version: '0'
95
95
  type: :development
96
96
  prerelease: false
97
97
  version_requirements: !ruby/object:Gem::Requirement
98
98
  requirements:
99
- - - "~>"
99
+ - - ">="
100
100
  - !ruby/object:Gem::Version
101
- version: '1.3'
101
+ version: '0'
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: pry-byebug
104
104
  requirement: !ruby/object:Gem::Requirement
@@ -157,15 +157,25 @@ files:
157
157
  - ".gitignore"
158
158
  - ".rspec"
159
159
  - ".ruby-version"
160
- - ".travis.yml"
160
+ - ".vscode/launch.json"
161
161
  - Gemfile
162
162
  - LICENSE
163
163
  - README.md
164
164
  - Rakefile
165
+ - bin/bundler
166
+ - bin/byebug
167
+ - bin/coderay
165
168
  - bin/console
169
+ - bin/htmldiff
170
+ - bin/ldiff
171
+ - bin/pry
166
172
  - bin/rake
167
173
  - bin/rspec
174
+ - bin/rumoji
175
+ - bin/safe_yaml
168
176
  - bin/setup
177
+ - bin/thor
178
+ - bin/wordpress
169
179
  - exe/wordpress
170
180
  - lib/wordpress_tools.rb
171
181
  - lib/wordpress_tools/cli.rb
@@ -199,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
199
209
  version: '0'
200
210
  requirements: []
201
211
  rubyforge_project:
202
- rubygems_version: 2.4.5
212
+ rubygems_version: 2.6.11
203
213
  signing_key:
204
214
  specification_version: 4
205
215
  summary: Manage WordPress installations.
data/.travis.yml DELETED
@@ -1,4 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.1.2
4
- - 2.2.0