wordmove 1.3.0.pre2 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/lib/wordmove/cli.rb CHANGED
@@ -1,11 +1,11 @@
1
- require 'thor'
2
- require 'shellwords'
3
- require "photocopier"
4
- require 'wordmove/generators/movefile'
5
- require 'wordmove/deployer/base'
6
-
7
1
  module Wordmove
8
2
  class CLI < Thor
3
+ map %w[--version -v] => :__print_version
4
+
5
+ desc "--version, -v", "Print the version"
6
+ def __print_version
7
+ puts Wordmove::VERSION
8
+ end
9
9
 
10
10
  desc "init", "Generates a brand new Movefile"
11
11
  def init
@@ -13,20 +13,20 @@ module Wordmove
13
13
  end
14
14
 
15
15
  shared_options = {
16
- :wordpress => { :aliases => "-w", :type => :boolean },
17
- :uploads => { :aliases => "-u", :type => :boolean },
18
- :themes => { :aliases => "-t", :type => :boolean },
19
- :plugins => { :aliases => "-p", :type => :boolean },
20
- :languages => { :aliases => "-l", :type => :boolean },
21
- :db => { :aliases => "-d", :type => :boolean },
16
+ wordpress: { aliases: "-w", type: :boolean },
17
+ uploads: { aliases: "-u", type: :boolean },
18
+ themes: { aliases: "-t", type: :boolean },
19
+ plugins: { aliases: "-p", type: :boolean },
20
+ languages: { aliases: "-l", type: :boolean },
21
+ db: { aliases: "-d", type: :boolean },
22
22
 
23
- :verbose => { :aliases => "-v", :type => :boolean },
24
- :simulate => { :aliases => "-s", :type => :boolean },
25
- :environment => { :aliases => "-e" },
26
- :config => { :aliases => "-c" },
23
+ verbose: { aliases: "-v", type: :boolean },
24
+ simulate: { aliases: "-s", type: :boolean },
25
+ environment: { aliases: "-e" },
26
+ config: { aliases: "-c" },
27
27
 
28
- :no_adapt => { :type => :boolean },
29
- :all => { :type => :boolean }
28
+ no_adapt: { type: :boolean },
29
+ all: { type: :boolean }
30
30
  }
31
31
 
32
32
  no_tasks do
@@ -1,12 +1,3 @@
1
- require 'active_support'
2
- require 'active_support/core_ext'
3
- require 'wordmove/core_ext'
4
- require 'wordmove/logger'
5
- require 'wordmove/wordpress_directory'
6
- require 'wordmove/sql_adapter'
7
- require 'escape'
8
- require 'yaml'
9
-
10
1
  module Wordmove
11
2
  module Deployer
12
3
 
@@ -19,21 +10,19 @@ module Wordmove
19
10
  def deployer_for(cli_options)
20
11
  options = fetch_movefile(cli_options[:config])
21
12
  available_enviroments = extract_available_envs(options)
22
- options.merge!(cli_options).recursive_symbolize_keys!
13
+ options.merge!(cli_options).deep_symbolize_keys!
23
14
 
24
15
  if available_enviroments.size > 1 && options[:environment].nil?
25
- raise "You need to specify an environment with --environment parameter"
16
+ raise UndefinedEnvironment, "You need to specify an environment with --environment parameter"
26
17
  end
27
18
  environment = (options[:environment] || available_enviroments.first).to_sym
28
19
 
29
20
  if options[environment][:ftp]
30
- require 'wordmove/deployer/ftp'
31
21
  FTP.new(environment, options)
32
22
  elsif options[environment][:ssh]
33
- require 'wordmove/deployer/ssh'
34
23
  SSH.new(environment, options)
35
24
  else
36
- raise StandardError, "No valid adapter found."
25
+ raise NoAdapterFound, "No valid adapter found."
37
26
  end
38
27
  end
39
28
 
@@ -47,7 +36,7 @@ module Wordmove
47
36
 
48
37
  if entries.empty?
49
38
  if last_dir?(start_dir)
50
- raise StandardError, "Could not find a valid Movefile"
39
+ raise MovefileNotFound, "Could not find a valid Movefile"
51
40
  else
52
41
  return fetch_movefile(name, upper_dir(start_dir))
53
42
  end
@@ -81,7 +70,7 @@ module Wordmove
81
70
  @logger = self.class.logger
82
71
  end
83
72
 
84
- def push_db;
73
+ def push_db
85
74
  logger.task "Pushing Database"
86
75
  end
87
76
 
@@ -144,7 +133,7 @@ module Wordmove
144
133
  logger.task_step true, command
145
134
  unless simulate?
146
135
  system(command)
147
- raise "Return code reports an error" unless $?.success?
136
+ raise ShellCommandError, "Return code reports an error" unless $?.success?
148
137
  end
149
138
  end
150
139
 
@@ -185,24 +174,33 @@ module Wordmove
185
174
  end
186
175
 
187
176
  def mysql_dump_command(options, save_to_path)
188
- arguments = [ "mysqldump" ]
189
- arguments << "--host=#{options[:host]}" if options[:host].present?
190
- arguments << "--port=#{options[:port]}" if options[:port].present?
191
- arguments << "--user=#{options[:user]}" if options[:user].present?
192
- arguments << "--password=#{options[:password]}" if options[:password].present?
193
- arguments << "--default-character-set=#{options[:charset]}" if options[:charset].present?
194
- arguments << options[:name]
195
- Escape.shell_command(arguments) + " > \"#{save_to_path}\""
177
+ command = [ "mysqldump" ]
178
+ command << "--host=#{Shellwords.escape(options[:host])}" if options[:host].present?
179
+ command << "--port=#{Shellwords.escape(options[:port])}" if options[:port].present?
180
+ command << "--user=#{Shellwords.escape(options[:user])}" if options[:user].present?
181
+ command << "--password=#{Shellwords.escape(options[:password])}" if options[:password].present?
182
+ command << "--default-character-set=#{Shellwords.escape(options[:charset])}" if options[:charset].present?
183
+ command << Shellwords.escape(options[:name])
184
+ command << "--result-file=#{Shellwords.escape(save_to_path)}"
185
+ puts command.join(" ")
186
+ command.join(" ")
196
187
  end
197
188
 
198
189
  def mysql_import_command(dump_path, options)
199
- arguments = [ "mysql" ]
200
- arguments << "--host=#{options[:host]}" if options[:host].present?
201
- arguments << "--port=#{options[:port]}" if options[:port].present?
202
- arguments << "--user=#{options[:user]}" if options[:user].present?
203
- arguments << "--password=#{options[:password]}" if options[:password].present?
204
- arguments << "--database=#{options[:name]}"
205
- Escape.shell_command(arguments) + " < \"#{dump_path}\""
190
+ command = [ "mysql" ]
191
+ command << "--host=#{Shellwords.escape(options[:host])}" if options[:host].present?
192
+ command << "--port=#{Shellwords.escape(options[:port])}" if options[:port].present?
193
+ command << "--user=#{Shellwords.escape(options[:user])}" if options[:user].present?
194
+ command << "--password=#{Shellwords.escape(options[:password])}" if options[:password].present?
195
+ command << "--default-character-set=#{Shellwords.escape(options[:charset])}" if options[:charset].present?
196
+ command << "--database=#{Shellwords.escape(options[:name])}"
197
+ command << "--execute=#{Shellwords.escape("SOURCE #{dump_path}")}"
198
+ puts command.join(" ")
199
+ command.join(" ")
200
+ end
201
+
202
+ def rm_command(path)
203
+ "rm #{Shellwords.escape(path)}"
206
204
  end
207
205
 
208
206
  def save_local_db(local_dump_path)
@@ -1,7 +1,3 @@
1
- require 'wordmove/deployer/base'
2
- require 'erb'
3
- require 'open-uri'
4
-
5
1
  module Wordmove
6
2
  module Deployer
7
3
  class FTP < Base
@@ -32,7 +28,7 @@ module Wordmove
32
28
  # remove dump remotely
33
29
  remote_delete(remote_dump_path)
34
30
  # and locally
35
- run "rm \"#{local_dump_path}\""
31
+ run rm_command(local_dump_path)
36
32
  end
37
33
 
38
34
  def pull_db
@@ -49,7 +45,7 @@ module Wordmove
49
45
  run mysql_import_command(local_dump_path, local_options[:database])
50
46
 
51
47
  # and locally
52
- run "rm \"#{local_dump_path}\""
48
+ run rm_command(local_dump_path)
53
49
  end
54
50
 
55
51
  private
@@ -119,7 +115,7 @@ module Wordmove
119
115
  # run import script
120
116
  import_url = "#{remote_wp_content_dir.url("import.php")}?shared_key=#{one_time_password}&start=1&foffset=0&totalqueries=0&fn=dump.sql"
121
117
  download(import_url, temp_path)
122
- run "rm \"#{temp_path}\""
118
+ run rm_command(temp_path)
123
119
  # remove script remotely
124
120
  remote_delete(remote_import_script_path)
125
121
  end
@@ -1,5 +1,3 @@
1
- require 'wordmove/deployer/base'
2
-
3
1
  module Wordmove
4
2
  module Deployer
5
3
  class SSH < Base
@@ -19,7 +17,7 @@ module Wordmove
19
17
  save_local_db(local_dump_path)
20
18
  adapt_sql(local_dump_path, local_options, remote_options)
21
19
  import_remote_dump(local_dump_path)
22
- run "rm \"#{local_dump_path}\""
20
+ run rm_command(local_dump_path)
23
21
  end
24
22
 
25
23
  def pull_db
@@ -32,7 +30,7 @@ module Wordmove
32
30
  download_remote_db(local_dump_path)
33
31
  adapt_sql(local_dump_path, remote_options, local_options)
34
32
  run mysql_import_command(local_dump_path, local_options[:database])
35
- run "rm \"#{local_dump_path}\""
33
+ run rm_command(local_dump_path)
36
34
  end
37
35
 
38
36
  private
@@ -50,7 +48,7 @@ module Wordmove
50
48
  logger.task_step false, command
51
49
  unless simulate?
52
50
  stdout, stderr, exit_code = @copier.exec! command
53
- raise "Error code #{exit_code} returned by command \"#{command}\": #{stderr}" unless exit_code.zero?
51
+ raise ShellCommandError, "Error code #{exit_code} returned by command \"#{command}\": #{stderr}" unless exit_code.zero?
54
52
  end
55
53
  end
56
54
 
@@ -0,0 +1,6 @@
1
+ module Wordmove
2
+ class UndefinedEnvironment < StandardError; end
3
+ class NoAdapterFound < StandardError; end
4
+ class MovefileNotFound < StandardError; end
5
+ class ShellCommandError < StandardError; end
6
+ end
@@ -1,6 +1,3 @@
1
- require 'thor/group'
2
- require 'wordmove/generators/movefile_adapter'
3
-
4
1
  module Wordmove
5
2
  module Generators
6
3
  class Movefile < Thor::Group
@@ -1,6 +1,3 @@
1
- require 'ostruct'
2
- require 'wordmove/wordpress_directory'
3
-
4
1
  module Wordmove
5
2
  module Generators
6
3
  module MovefileAdapter
@@ -52,7 +49,9 @@ module Wordmove
52
49
  end
53
50
 
54
51
  def wp_config
55
- @wp_config ||= File.open(WordpressDirectory.default_path_for(:wp_config)).read
52
+ @wp_config ||= File.read(
53
+ WordpressDirectory.default_path_for(:wp_config)
54
+ ).encode('utf-8', invalid: :replace)
56
55
  end
57
56
 
58
57
  def wp_definitions
@@ -1,8 +1,3 @@
1
- # encoding: utf-8
2
-
3
- require 'colored'
4
- require 'logger'
5
-
6
1
  module Wordmove
7
2
  class Logger < ::Logger
8
3
  MAX_LINE = 70
@@ -1,3 +1,3 @@
1
1
  module Wordmove
2
- VERSION = "1.3.0.pre2"
2
+ VERSION = "1.3.0"
3
3
  end
data/wordmove.gemspec CHANGED
@@ -1,39 +1,35 @@
1
- # -*- encoding: utf-8 -*-
2
- require File.expand_path('../lib/wordmove/version', __FILE__)
3
-
4
- Gem::Specification.new do |gem|
5
- gem.authors = ["Stefano Verna", "Ju Liu", "weLaika"]
6
- gem.email = ["stefano.verna@welaika.com", "ju.liu@welaika.com", "info@welaika.com"]
7
- gem.description = %q{Wordmove deploys your WordPress websites at the speed of light.}
8
- gem.summary = %q{Wordmove, Capistrano for Wordpress}
9
- gem.homepage = "https://github.com/welaika/wordmove"
10
- gem.license = "MIT"
11
-
12
- gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
13
- gem.files = `git ls-files`.split("\n")
14
- gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
15
- gem.name = "wordmove"
16
- gem.require_paths = ["lib"]
17
- gem.version = Wordmove::VERSION
18
-
19
- gem.add_dependency "colored"
20
- gem.add_dependency "rake"
21
- gem.add_dependency "thor"
22
- gem.add_dependency "activesupport"
23
- gem.add_dependency "i18n"
24
- gem.add_dependency "photocopier", ">= 1.0.0.pre3"
25
- gem.add_dependency "escape"
26
-
27
- gem.add_development_dependency "rspec", '< 3'
28
-
29
- gem.post_install_message = <<-EOF
30
-
31
- ============================================================================
32
- Beware! From version 1.0, we have changed the wordmove flags' behaviour:
33
- they used to tell wordmove what to _skip_, now they tell what to _include_.
34
-
35
- Read `wordmove help` for more info.
36
- ============================================================================
37
-
38
- EOF
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'wordmove/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "wordmove"
8
+ spec.version = Wordmove::VERSION
9
+ spec.authors = ["Stefano Verna", "Ju Liu", "Fabrizio Monti", "Alessandro Fazzi"]
10
+ spec.email = ["stefano.verna@welaika.com", "ju.liu@welaika.com", "fabrizio.monti@welaika.com", "alessandro.fazzi@welaika.com"]
11
+
12
+ spec.summary = %q{Wordmove, Capistrano for Wordpress}
13
+ spec.description = %q{Wordmove deploys your WordPress websites at the speed of light.}
14
+ spec.homepage = "https://github.com/welaika/wordmove"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_dependency "colorize", "~> 0.7.5"
23
+ spec.add_dependency "thor", "~> 0.19.1"
24
+ spec.add_dependency "activesupport", "~> 4.2.1"
25
+ spec.add_dependency "photocopier", "~> 1.0.0"
26
+
27
+ spec.required_ruby_version = "~> 2.0"
28
+
29
+ spec.add_development_dependency "bundler", ">= 1.6.2"
30
+ spec.add_development_dependency "rake", "~> 10.0"
31
+ spec.add_development_dependency "rspec", "~> 3.3"
32
+ spec.add_development_dependency "simplecov", "~> 0.9"
33
+ spec.add_development_dependency "pry-byebug", "~> 3.1"
34
+ spec.add_development_dependency "priscilla", "~> 1.0"
39
35
  end
metadata CHANGED
@@ -1,134 +1,164 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wordmove
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0.pre2
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Verna
8
8
  - Ju Liu
9
- - weLaika
9
+ - Fabrizio Monti
10
+ - Alessandro Fazzi
10
11
  autorequire:
11
- bindir: bin
12
+ bindir: exe
12
13
  cert_chain: []
13
- date: 2015-07-12 00:00:00.000000000 Z
14
+ date: 2015-08-28 00:00:00.000000000 Z
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
- name: colored
17
+ name: colorize
17
18
  requirement: !ruby/object:Gem::Requirement
18
19
  requirements:
19
- - - ">="
20
+ - - "~>"
20
21
  - !ruby/object:Gem::Version
21
- version: '0'
22
+ version: 0.7.5
22
23
  type: :runtime
23
24
  prerelease: false
24
25
  version_requirements: !ruby/object:Gem::Requirement
25
26
  requirements:
26
- - - ">="
27
+ - - "~>"
27
28
  - !ruby/object:Gem::Version
28
- version: '0'
29
+ version: 0.7.5
29
30
  - !ruby/object:Gem::Dependency
30
- name: rake
31
+ name: thor
31
32
  requirement: !ruby/object:Gem::Requirement
32
33
  requirements:
33
- - - ">="
34
+ - - "~>"
34
35
  - !ruby/object:Gem::Version
35
- version: '0'
36
+ version: 0.19.1
36
37
  type: :runtime
37
38
  prerelease: false
38
39
  version_requirements: !ruby/object:Gem::Requirement
39
40
  requirements:
40
- - - ">="
41
+ - - "~>"
41
42
  - !ruby/object:Gem::Version
42
- version: '0'
43
+ version: 0.19.1
43
44
  - !ruby/object:Gem::Dependency
44
- name: thor
45
+ name: activesupport
45
46
  requirement: !ruby/object:Gem::Requirement
46
47
  requirements:
47
- - - ">="
48
+ - - "~>"
48
49
  - !ruby/object:Gem::Version
49
- version: '0'
50
+ version: 4.2.1
50
51
  type: :runtime
51
52
  prerelease: false
52
53
  version_requirements: !ruby/object:Gem::Requirement
53
54
  requirements:
54
- - - ">="
55
+ - - "~>"
55
56
  - !ruby/object:Gem::Version
56
- version: '0'
57
+ version: 4.2.1
57
58
  - !ruby/object:Gem::Dependency
58
- name: activesupport
59
+ name: photocopier
59
60
  requirement: !ruby/object:Gem::Requirement
60
61
  requirements:
61
- - - ">="
62
+ - - "~>"
62
63
  - !ruby/object:Gem::Version
63
- version: '0'
64
+ version: 1.0.0
64
65
  type: :runtime
65
66
  prerelease: false
66
67
  version_requirements: !ruby/object:Gem::Requirement
67
68
  requirements:
68
- - - ">="
69
+ - - "~>"
69
70
  - !ruby/object:Gem::Version
70
- version: '0'
71
+ version: 1.0.0
71
72
  - !ruby/object:Gem::Dependency
72
- name: i18n
73
+ name: bundler
73
74
  requirement: !ruby/object:Gem::Requirement
74
75
  requirements:
75
76
  - - ">="
76
77
  - !ruby/object:Gem::Version
77
- version: '0'
78
- type: :runtime
78
+ version: 1.6.2
79
+ type: :development
79
80
  prerelease: false
80
81
  version_requirements: !ruby/object:Gem::Requirement
81
82
  requirements:
82
83
  - - ">="
83
84
  - !ruby/object:Gem::Version
84
- version: '0'
85
+ version: 1.6.2
85
86
  - !ruby/object:Gem::Dependency
86
- name: photocopier
87
+ name: rake
87
88
  requirement: !ruby/object:Gem::Requirement
88
89
  requirements:
89
- - - ">="
90
+ - - "~>"
90
91
  - !ruby/object:Gem::Version
91
- version: 1.0.0.pre3
92
- type: :runtime
92
+ version: '10.0'
93
+ type: :development
93
94
  prerelease: false
94
95
  version_requirements: !ruby/object:Gem::Requirement
95
96
  requirements:
96
- - - ">="
97
+ - - "~>"
97
98
  - !ruby/object:Gem::Version
98
- version: 1.0.0.pre3
99
+ version: '10.0'
99
100
  - !ruby/object:Gem::Dependency
100
- name: escape
101
+ name: rspec
101
102
  requirement: !ruby/object:Gem::Requirement
102
103
  requirements:
103
- - - ">="
104
+ - - "~>"
104
105
  - !ruby/object:Gem::Version
105
- version: '0'
106
- type: :runtime
106
+ version: '3.3'
107
+ type: :development
107
108
  prerelease: false
108
109
  version_requirements: !ruby/object:Gem::Requirement
109
110
  requirements:
110
- - - ">="
111
+ - - "~>"
111
112
  - !ruby/object:Gem::Version
112
- version: '0'
113
+ version: '3.3'
113
114
  - !ruby/object:Gem::Dependency
114
- name: rspec
115
+ name: simplecov
115
116
  requirement: !ruby/object:Gem::Requirement
116
117
  requirements:
117
- - - "<"
118
+ - - "~>"
118
119
  - !ruby/object:Gem::Version
119
- version: '3'
120
+ version: '0.9'
120
121
  type: :development
121
122
  prerelease: false
122
123
  version_requirements: !ruby/object:Gem::Requirement
123
124
  requirements:
124
- - - "<"
125
+ - - "~>"
126
+ - !ruby/object:Gem::Version
127
+ version: '0.9'
128
+ - !ruby/object:Gem::Dependency
129
+ name: pry-byebug
130
+ requirement: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - "~>"
125
133
  - !ruby/object:Gem::Version
126
- version: '3'
134
+ version: '3.1'
135
+ type: :development
136
+ prerelease: false
137
+ version_requirements: !ruby/object:Gem::Requirement
138
+ requirements:
139
+ - - "~>"
140
+ - !ruby/object:Gem::Version
141
+ version: '3.1'
142
+ - !ruby/object:Gem::Dependency
143
+ name: priscilla
144
+ requirement: !ruby/object:Gem::Requirement
145
+ requirements:
146
+ - - "~>"
147
+ - !ruby/object:Gem::Version
148
+ version: '1.0'
149
+ type: :development
150
+ prerelease: false
151
+ version_requirements: !ruby/object:Gem::Requirement
152
+ requirements:
153
+ - - "~>"
154
+ - !ruby/object:Gem::Version
155
+ version: '1.0'
127
156
  description: Wordmove deploys your WordPress websites at the speed of light.
128
157
  email:
129
158
  - stefano.verna@welaika.com
130
159
  - ju.liu@welaika.com
131
- - info@welaika.com
160
+ - fabrizio.monti@welaika.com
161
+ - alessandro.fazzi@welaika.com
132
162
  executables:
133
163
  - wordmove
134
164
  extensions: []
@@ -139,18 +169,24 @@ files:
139
169
  - ".ruby-gemset"
140
170
  - ".ruby-version"
141
171
  - ".travis.yml"
172
+ - CHANGELOG.md
142
173
  - Gemfile
143
174
  - README.mdown
144
175
  - Rakefile
145
- - bin/wordmove
176
+ - assets/images/wordmove.png
177
+ - bin/console
178
+ - bin/rake
179
+ - bin/rspec
180
+ - bin/setup
181
+ - exe/wordmove
146
182
  - lib/wordmove.rb
147
183
  - lib/wordmove/assets/dump.php.erb
148
184
  - lib/wordmove/assets/import.php.erb
149
185
  - lib/wordmove/cli.rb
150
- - lib/wordmove/core_ext.rb
151
186
  - lib/wordmove/deployer/base.rb
152
187
  - lib/wordmove/deployer/ftp.rb
153
188
  - lib/wordmove/deployer/ssh.rb
189
+ - lib/wordmove/exceptions.rb
154
190
  - lib/wordmove/generators/Movefile
155
191
  - lib/wordmove/generators/movefile.rb
156
192
  - lib/wordmove/generators/movefile_adapter.rb
@@ -160,49 +196,29 @@ files:
160
196
  - lib/wordmove/wordpress_directory.rb
161
197
  - pkg/wordmove-0.0.1.gem
162
198
  - pkg/wordmove-0.0.2.gem
163
- - spec/deployer/base_spec.rb
164
- - spec/features/movefile_spec.rb
165
- - spec/fixtures/Movefile
166
- - spec/fixtures/wp-config.php
167
- - spec/spec_helper.rb
168
- - spec/sql_adapter_spec.rb
169
199
  - wordmove.gemspec
170
200
  homepage: https://github.com/welaika/wordmove
171
201
  licenses:
172
202
  - MIT
173
203
  metadata: {}
174
- post_install_message: |2+
175
-
176
- ============================================================================
177
- Beware! From version 1.0, we have changed the wordmove flags' behaviour:
178
- they used to tell wordmove what to _skip_, now they tell what to _include_.
179
-
180
- Read `wordmove help` for more info.
181
- ============================================================================
182
-
204
+ post_install_message:
183
205
  rdoc_options: []
184
206
  require_paths:
185
207
  - lib
186
208
  required_ruby_version: !ruby/object:Gem::Requirement
187
209
  requirements:
188
- - - ">="
210
+ - - "~>"
189
211
  - !ruby/object:Gem::Version
190
- version: '0'
212
+ version: '2.0'
191
213
  required_rubygems_version: !ruby/object:Gem::Requirement
192
214
  requirements:
193
- - - ">"
215
+ - - ">="
194
216
  - !ruby/object:Gem::Version
195
- version: 1.3.1
217
+ version: '0'
196
218
  requirements: []
197
219
  rubyforge_project:
198
- rubygems_version: 2.4.8
220
+ rubygems_version: 2.4.5
199
221
  signing_key:
200
222
  specification_version: 4
201
223
  summary: Wordmove, Capistrano for Wordpress
202
- test_files:
203
- - spec/deployer/base_spec.rb
204
- - spec/features/movefile_spec.rb
205
- - spec/fixtures/Movefile
206
- - spec/fixtures/wp-config.php
207
- - spec/spec_helper.rb
208
- - spec/sql_adapter_spec.rb
224
+ test_files: []