wordless 1.1.5 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,7 +1,9 @@
1
- #!/usr/bin/env rake
2
-
3
1
  require "bundler/gem_tasks"
4
2
  require 'rspec/core/rake_task'
3
+ require 'rubocop/rake_task'
5
4
 
6
5
  RSpec::Core::RakeTask.new(:spec)
7
- task :default => :spec
6
+ task default: :spec
7
+
8
+ RuboCop::RakeTask.new(:rubocop)
9
+ task default: :rubocop
@@ -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 'rake' 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("rake", "rake")
@@ -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 'rubocop' 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("rubocop", "rubocop")
@@ -13,16 +13,10 @@ function log {
13
13
 
14
14
  log "Deleting {$FIXTURE_PATH}..."
15
15
  rm -rf $FIXTURE_PATH
16
- mkdir $FIXTURE_PATH
16
+ mkdir -p $FIXTURE_PATH
17
17
  echo "Done!"
18
18
 
19
19
  log "Downloading wordless from github..."
20
20
  cd $FIXTURE_PATH
21
21
  wget $WORDLESS_ARCHIVE -O - | tar -xz --strip 1
22
22
  echo "Done!"
23
-
24
- log "Customizing ruby and compass paths..."
25
- cp -f ../wordless_preferences.php $WORDLESS_PREFERENCES
26
- perl -p -i -e "s|<RUBY_PATH>|$(which ruby)|" $WORDLESS_PREFERENCES
27
- perl -p -i -e "s|<COMPASS_PATH>|$(which compass)|" $WORDLESS_PREFERENCES
28
- echo "Done!"
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- lib = File.expand_path('../../lib', __FILE__)
3
+ lib = File.expand_path('../lib', __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  require 'wordless'
@@ -9,39 +9,17 @@ module Wordless
9
9
  end
10
10
  end
11
11
 
12
- desc "new [NAME]", "Download WordPress in specified directory, install the Wordless plugin and create a Wordless theme"
12
+ desc "new <NAME>", "Download WordPress in specified directory,
13
+ install the Wordless plugin and create a Wordless theme"
13
14
  add_method_options(shared_options)
14
- method_option :bare, type: :boolean, aliases: "-b", desc: "Remove default themes and plugins", default: true
15
+ method_option :bare,
16
+ type: :boolean,
17
+ aliases: "-b",
18
+ desc: "Remove default themes and plugins",
19
+ default: true
20
+
15
21
  def new(name)
16
22
  wordless_cli.start(name)
17
23
  end
18
-
19
- desc "install", "Install the Wordless plugin into an existing WordPress installation"
20
- def install
21
- wordless_cli.install_wordless
22
- end
23
-
24
- desc "theme [NAME]", "Create a new Wordless theme NAME"
25
- def theme(name)
26
- wordless_cli.create_theme(name)
27
- end
28
-
29
- desc "compile", "Compile static assets"
30
- def compile
31
- wordless_cli.compile
32
- end
33
-
34
- desc "clean", "Clean static assets"
35
- def clean
36
- wordless_cli.clean
37
- end
38
-
39
- desc "deploy", "Deploy your WordPress site using the deploy_command defined in your Wordfile"
40
- method_option :refresh, aliases: "-r", desc: "Compile static assets before deploying and clean them afterwards"
41
- method_option :command, aliases: "-c", desc: "Use a custom deploy command"
42
- def deploy
43
- wordless_cli.deploy
44
- end
45
24
  end
46
25
  end
47
-
@@ -3,11 +3,11 @@ module Wordless
3
3
  extend ActiveSupport::Concern
4
4
 
5
5
  included do
6
- [ :say, :run ].each do |sym|
6
+ %i[say run].each do |sym|
7
7
  define_method sym do |*args|
8
8
  thor.send(sym, *args)
9
9
  end
10
- private sym
10
+ private sym # rubocop:disable Style/AccessModifierDeclarations
11
11
  end
12
12
  end
13
13
 
@@ -51,7 +51,7 @@ module Wordless
51
51
  end
52
52
 
53
53
  def void
54
- RbConfig::CONFIG['host_os'] =~ /msdos|mswin|djgpp|mingw/ ? 'NUL' : '/dev/null'
54
+ /msdos|mswin|djgpp|mingw/.match? RbConfig::CONFIG['host_os'] ? 'NUL' : '/dev/null'
55
55
  end
56
56
  end
57
57
  end
@@ -1,3 +1,3 @@
1
1
  module Wordless
2
- VERSION = "1.1.5"
2
+ VERSION = "2.2.0".freeze
3
3
  end
@@ -12,26 +12,48 @@ module Wordless
12
12
  end
13
13
 
14
14
  DEFAULT_PATHS = {
15
- PATH::WORDFILE => 'Wordfile',
15
+ PATH::WORDFILE => 'Wordfile',
16
16
  PATH::WP_CONTENT => 'wp-content',
17
- PATH::PLUGINS => 'wp-content/plugins',
18
- PATH::THEMES => 'wp-content/themes',
19
- }
17
+ PATH::PLUGINS => 'wp-content/plugins',
18
+ PATH::THEMES => 'wp-content/themes'
19
+ }.freeze
20
+
21
+ GLOBAL_NODE_MODULES = %w[yarn].freeze
20
22
 
21
23
  def initialize(thor, options = {})
22
24
  @options = options
23
25
  @thor = thor
24
26
  end
25
27
 
26
- def start(name)
28
+ def start(name) # rubocop:disable Metrics/MethodLength
29
+ install_global_node_modules
27
30
  install_wordpress_and_wp_cli(name)
28
31
 
29
32
  Dir.chdir(name)
30
33
 
31
34
  install_wordless
32
- create_theme(name)
33
- activate_theme(name)
35
+ create_and_activate_theme(name)
34
36
  set_permalinks
37
+
38
+ Dir.chdir("wp-content/themes/#{name}")
39
+
40
+ info('Activate the right node version using NVM')
41
+ if run_command('$SHELL -l -c "nvm use"')
42
+ info("Installing theme's node modules...")
43
+ run_command('$SHELL -l -c "nvm use && yarn setup"') ||
44
+ error("Problem installing theme's node modules")
45
+ else
46
+ warning(
47
+ 'NVM or the required node version is not installed. ' \
48
+ 'Will try to continue using global node.'
49
+ )
50
+ info("Installing theme's node modules...")
51
+ run_command("yarn setup") || error("Problem installing theme's node modules")
52
+ end
53
+
54
+ success("All done! Now yor're ready to use Wordless with following commands:")
55
+ info("`cd #{name}/wp-content/themes/#{name}`")
56
+ info("`yarn run server`")
35
57
  end
36
58
 
37
59
  def install_wordless
@@ -40,8 +62,9 @@ module Wordless
40
62
  info("Installing and activating plugin...")
41
63
 
42
64
  at_wordpress_root do
65
+ github_url = 'https://github.com/welaika/wordless/archive/master.zip'
43
66
  error("Directory '#{plugins_path}' not found.") unless File.directory?(plugins_path)
44
- if run_command("wp plugin install wordless --activate")
67
+ if run_command("wp plugin install #{github_url} --activate")
45
68
  success("Done!")
46
69
  else
47
70
  error("There was an error installing and/or activating the Wordless plugin.")
@@ -49,61 +72,26 @@ module Wordless
49
72
  end
50
73
  end
51
74
 
52
- def create_theme(name)
53
- at_wordpress_root do
54
- if File.directory?(themes_path)
55
- if run_command("php #{File.join(lib_dir, 'theme_builder.php')} #{name}")
56
- success("Created a new Wordless theme in '#{File.join(themes_path, name)}'.")
57
- else
58
- error("Couldn't create Wordless theme.")
59
- end
60
- else
61
- error("Directory '#{themes_path}' not found.")
62
- end
63
- end
64
- end
65
-
66
- def compile
67
- at_wordpress_root do
68
- if system "php #{File.join(lib_dir, 'compile_assets.php')}"
69
- success("Compiled static assets.")
70
- else
71
- error("Couldn't compile static assets.")
72
- end
73
- end
74
- end
75
-
76
- def clean
77
- at_wordpress_root do
78
- if File.directory?(themes_path)
79
- static_css = Array(config[:static_css] || Dir['wp-content/themes/*/assets/stylesheets/screen.css'])
80
- static_js = Array(config[:static_js] || Dir['wp-content/themes/*/assets/javascripts/application.js'])
75
+ def install_global_node_modules
76
+ info("Check for necessary global NPM packages")
77
+ which('npm') ||
78
+ error("Node isn't installed. Head to https://nodejs.org/en/download/package-manager")
81
79
 
82
- (static_css + static_js).each do |file|
83
- FileUtils.rm_f(file) if File.exist?(file)
84
- end
80
+ global_node_modules = GLOBAL_NODE_MODULES.dup
85
81
 
86
- success("Cleaned static assets.")
87
- else
88
- error("Directory '#{themes_path}' not found.")
89
- end
82
+ global_node_modules.reject! do |m|
83
+ run_command("npm list -g #{m}")
90
84
  end
91
- end
92
-
93
- def deploy
94
- at_wordpress_root do
95
- compile if options['refresh']
96
85
 
97
- deploy_command = options['command'].presence || config[:deploy_command]
98
-
99
- if deploy_command
100
- system("#{deploy_command}")
101
- else
102
- error("deploy_command not set. Make sure it is included in your Wordfile.")
103
- end
86
+ if global_node_modules.empty?
87
+ success("Global NPM packages needed by Wordless already installed. Good job!")
88
+ return true
89
+ end
104
90
 
105
- clean if options['refresh']
91
+ global_node_modules.each do |m|
92
+ run_command("npm install -g #{m}") && success("Installed NPM package #{m} globally")
106
93
  end
94
+ success("Done!")
107
95
  end
108
96
 
109
97
  private
@@ -115,11 +103,11 @@ module Wordless
115
103
  end
116
104
 
117
105
  def lib_dir
118
- @@lib_dir ||= File.expand_path(File.dirname(__FILE__))
106
+ @lib_dir ||= __dir__
119
107
  end
120
108
 
121
109
  def wordpress_dir(current_dir = Dir.pwd)
122
- @wordpress_dir ||= (
110
+ @wordpress_dir ||= begin
123
111
  current_dir = File.expand_path(current_dir)
124
112
 
125
113
  if File.exist?(File.join(current_dir, wp_content_path))
@@ -129,7 +117,7 @@ module Wordless
129
117
  else
130
118
  wordpress_dir(upper_dir(current_dir))
131
119
  end
132
- )
120
+ end
133
121
  end
134
122
 
135
123
  def last_dir?(directory)
@@ -141,13 +129,13 @@ module Wordless
141
129
  end
142
130
 
143
131
  def config
144
- @@config ||= (
132
+ @config ||= begin
145
133
  if File.exist?(wordfile_path)
146
- YAML::load(File.open(wordfile_path)).symbolize_keys
134
+ YAML.safe_load(File.open(wordfile_path)).symbolize_keys
147
135
  else
148
136
  {}
149
137
  end
150
- )
138
+ end
151
139
  end
152
140
 
153
141
  def at_wordpress_root
@@ -164,20 +152,33 @@ module Wordless
164
152
  WordPressTools::CLI.new.invoke('new', [name], options)
165
153
  end
166
154
 
167
- def activate_theme(name)
155
+ def create_and_activate_theme(name)
168
156
  at_wordpress_root do
169
157
  info("Activating theme...")
170
- run_command("wp theme activate #{name}") || error("Cannot activate theme '#{name}'")
158
+ run_command("wp wordless theme create #{name}") || error("Cannot activate theme '#{name}'")
171
159
  success("Done!")
172
160
  end
173
161
  end
174
162
 
175
163
  def set_permalinks
176
164
  at_wordpress_root do
177
- info("Setting permalinks for wordless...")
178
- run_command("wp rewrite structure /%postname%/") || error("Cannot set permalinks")
165
+ info("Setting permalinks...")
166
+ run_command('wp rewrite structure /%postname%/') || error("Cannot set permalinks")
179
167
  success("Done!")
180
168
  end
181
169
  end
170
+
171
+ def which(cmd)
172
+ exts = ENV['PATHEXT'] ? ENV['PATHEXT'].split(';') : ['']
173
+
174
+ ENV['PATH'].split(File::PATH_SEPARATOR).each do |path|
175
+ exts.each do |ext|
176
+ exe = File.join(path, "#{cmd}#{ext}")
177
+ return exe if File.executable?(exe) && !File.directory?(exe)
178
+ end
179
+ end
180
+
181
+ nil
182
+ end
182
183
  end
183
184
  end
@@ -1,36 +1,41 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
1
+ lib = File.expand_path('lib', __dir__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
3
  require "wordless/version"
5
4
 
6
5
  Gem::Specification.new do |spec|
7
6
  spec.name = "wordless"
8
7
  spec.version = Wordless::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"]
11
- spec.summary = %q{Manage Wordless themes.}
12
- spec.description = %q{Command line tool to manage Wordless themes.}
8
+ spec.authors = ["Étienne Després", "Alessandro Fazzi",
9
+ "Filippo Gangi Dino", "Ju Liu", "Fabrizio Monti"]
10
+ spec.email = ["etienne@molotov.ca",
11
+ "alessandro.fazzi@welaika.com",
12
+ "filippo.gangidino@welaika.com",
13
+ "ju.liu@welaika.com",
14
+ "fabrizio.monti@welaika.com"]
15
+ spec.summary = 'Manage Wordless themes.'
16
+ spec.description = 'The quickest CLI tool to setup a new WordPress locally. Wordless ready.'
13
17
  spec.homepage = "http://github.com/welaika/wordless_gem"
14
18
  spec.license = "MIT"
15
19
 
16
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20
+ spec.files = `git ls-files -z`
21
+ .split("\x0")
22
+ .reject { |f| f.match(%r{^(test|spec|features)/}) }
17
23
  spec.bindir = "exe"
18
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
25
  spec.require_paths = ["lib"]
20
26
 
21
- spec.required_ruby_version = ">= 2.1.2"
27
+ spec.required_ruby_version = ">= 2.4.1"
22
28
 
23
- spec.add_dependency "thor", "~> 0.19.1"
24
29
  spec.add_dependency "activesupport"
25
- spec.add_dependency "sprockets"
26
- spec.add_dependency "compass"
27
- spec.add_dependency "coffee-script"
28
- spec.add_dependency "yui-compressor"
29
- spec.add_dependency "wordpress_tools", "~> 1.2.0"
30
+ spec.add_dependency "thor", "~> 0.19.1"
31
+ spec.add_dependency "wordpress_tools", "~> 1.4.1"
30
32
 
31
- spec.add_development_dependency "rspec", "~> 3.2.0"
32
- spec.add_development_dependency "pry-byebug", "~> 3.0"
33
- spec.add_development_dependency "priscilla", "~> 1.0"
34
- spec.add_development_dependency "gem-release"
33
+ spec.add_development_dependency "byebug"
34
+ spec.add_development_dependency "debase"
35
+ spec.add_development_dependency "pry-byebug", "~> 3.9"
36
+ spec.add_development_dependency "rake", "~> 13.0.1"
37
+ spec.add_development_dependency "rspec", "~> 3.9.0"
38
+ spec.add_development_dependency "rubocop"
39
+ spec.add_development_dependency "ruby-debug-ide"
40
+ spec.add_development_dependency "solargraph"
35
41
  end
36
-
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wordless
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 2.2.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
11
11
  - Fabrizio Monti
12
- autorequire:
12
+ autorequire:
13
13
  bindir: exe
14
14
  cert_chain: []
15
- date: 2016-05-10 00:00:00.000000000 Z
15
+ date: 2020-09-28 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
- name: thor
18
+ name: activesupport
19
19
  requirement: !ruby/object:Gem::Requirement
20
20
  requirements:
21
- - - "~>"
21
+ - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: 0.19.1
23
+ version: '0'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
27
27
  requirements:
28
- - - "~>"
28
+ - - ">="
29
29
  - !ruby/object:Gem::Version
30
- version: 0.19.1
30
+ version: '0'
31
31
  - !ruby/object:Gem::Dependency
32
- name: activesupport
32
+ name: thor
33
33
  requirement: !ruby/object:Gem::Requirement
34
34
  requirements:
35
- - - ">="
35
+ - - "~>"
36
36
  - !ruby/object:Gem::Version
37
- version: '0'
37
+ version: 0.19.1
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  requirements:
42
- - - ">="
42
+ - - "~>"
43
43
  - !ruby/object:Gem::Version
44
- version: '0'
44
+ version: 0.19.1
45
45
  - !ruby/object:Gem::Dependency
46
- name: sprockets
46
+ name: wordpress_tools
47
47
  requirement: !ruby/object:Gem::Requirement
48
48
  requirements:
49
- - - ">="
49
+ - - "~>"
50
50
  - !ruby/object:Gem::Version
51
- version: '0'
51
+ version: 1.4.1
52
52
  type: :runtime
53
53
  prerelease: false
54
54
  version_requirements: !ruby/object:Gem::Requirement
55
55
  requirements:
56
- - - ">="
56
+ - - "~>"
57
57
  - !ruby/object:Gem::Version
58
- version: '0'
58
+ version: 1.4.1
59
59
  - !ruby/object:Gem::Dependency
60
- name: compass
60
+ name: byebug
61
61
  requirement: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
65
  version: '0'
66
- type: :runtime
66
+ type: :development
67
67
  prerelease: false
68
68
  version_requirements: !ruby/object:Gem::Requirement
69
69
  requirements:
@@ -71,13 +71,13 @@ dependencies:
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
73
  - !ruby/object:Gem::Dependency
74
- name: coffee-script
74
+ name: debase
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
79
  version: '0'
80
- type: :runtime
80
+ type: :development
81
81
  prerelease: false
82
82
  version_requirements: !ruby/object:Gem::Requirement
83
83
  requirements:
@@ -85,77 +85,77 @@ dependencies:
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  - !ruby/object:Gem::Dependency
88
- name: yui-compressor
88
+ name: pry-byebug
89
89
  requirement: !ruby/object:Gem::Requirement
90
90
  requirements:
91
- - - ">="
91
+ - - "~>"
92
92
  - !ruby/object:Gem::Version
93
- version: '0'
94
- type: :runtime
93
+ version: '3.9'
94
+ type: :development
95
95
  prerelease: false
96
96
  version_requirements: !ruby/object:Gem::Requirement
97
97
  requirements:
98
- - - ">="
98
+ - - "~>"
99
99
  - !ruby/object:Gem::Version
100
- version: '0'
100
+ version: '3.9'
101
101
  - !ruby/object:Gem::Dependency
102
- name: wordpress_tools
102
+ name: rake
103
103
  requirement: !ruby/object:Gem::Requirement
104
104
  requirements:
105
105
  - - "~>"
106
106
  - !ruby/object:Gem::Version
107
- version: 1.2.0
108
- type: :runtime
107
+ version: 13.0.1
108
+ type: :development
109
109
  prerelease: false
110
110
  version_requirements: !ruby/object:Gem::Requirement
111
111
  requirements:
112
112
  - - "~>"
113
113
  - !ruby/object:Gem::Version
114
- version: 1.2.0
114
+ version: 13.0.1
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: rspec
117
117
  requirement: !ruby/object:Gem::Requirement
118
118
  requirements:
119
119
  - - "~>"
120
120
  - !ruby/object:Gem::Version
121
- version: 3.2.0
121
+ version: 3.9.0
122
122
  type: :development
123
123
  prerelease: false
124
124
  version_requirements: !ruby/object:Gem::Requirement
125
125
  requirements:
126
126
  - - "~>"
127
127
  - !ruby/object:Gem::Version
128
- version: 3.2.0
128
+ version: 3.9.0
129
129
  - !ruby/object:Gem::Dependency
130
- name: pry-byebug
130
+ name: rubocop
131
131
  requirement: !ruby/object:Gem::Requirement
132
132
  requirements:
133
- - - "~>"
133
+ - - ">="
134
134
  - !ruby/object:Gem::Version
135
- version: '3.0'
135
+ version: '0'
136
136
  type: :development
137
137
  prerelease: false
138
138
  version_requirements: !ruby/object:Gem::Requirement
139
139
  requirements:
140
- - - "~>"
140
+ - - ">="
141
141
  - !ruby/object:Gem::Version
142
- version: '3.0'
142
+ version: '0'
143
143
  - !ruby/object:Gem::Dependency
144
- name: priscilla
144
+ name: ruby-debug-ide
145
145
  requirement: !ruby/object:Gem::Requirement
146
146
  requirements:
147
- - - "~>"
147
+ - - ">="
148
148
  - !ruby/object:Gem::Version
149
- version: '1.0'
149
+ version: '0'
150
150
  type: :development
151
151
  prerelease: false
152
152
  version_requirements: !ruby/object:Gem::Requirement
153
153
  requirements:
154
- - - "~>"
154
+ - - ">="
155
155
  - !ruby/object:Gem::Version
156
- version: '1.0'
156
+ version: '0'
157
157
  - !ruby/object:Gem::Dependency
158
- name: gem-release
158
+ name: solargraph
159
159
  requirement: !ruby/object:Gem::Requirement
160
160
  requirements:
161
161
  - - ">="
@@ -168,7 +168,7 @@ dependencies:
168
168
  - - ">="
169
169
  - !ruby/object:Gem::Version
170
170
  version: '0'
171
- description: Command line tool to manage Wordless themes.
171
+ description: The quickest CLI tool to setup a new WordPress locally. Wordless ready.
172
172
  email:
173
173
  - etienne@molotov.ca
174
174
  - alessandro.fazzi@welaika.com
@@ -182,31 +182,33 @@ extra_rdoc_files: []
182
182
  files:
183
183
  - ".gitignore"
184
184
  - ".rspec"
185
- - ".ruby-gemset"
185
+ - ".rubocop.yml"
186
186
  - ".ruby-version"
187
+ - ".vscode/launch.json"
188
+ - ".vscode/settings.json"
187
189
  - Gemfile
190
+ - Gemfile.lock
188
191
  - LICENSE
189
192
  - README.mdown
190
193
  - Rakefile
191
194
  - assets/images/wordless_gem.png
192
195
  - bin/autospec
196
+ - bin/rake
193
197
  - bin/rspec
198
+ - bin/rubocop
194
199
  - bin/setup.sh
195
200
  - exe/wordless
196
201
  - lib/wordless.rb
197
202
  - lib/wordless/cli.rb
198
203
  - lib/wordless/cli_helper.rb
199
- - lib/wordless/compile_assets.php
200
- - lib/wordless/theme_builder.php
201
204
  - lib/wordless/version.rb
202
- - lib/wordless/wordless_bridge.php
203
205
  - lib/wordless/wordless_cli.rb
204
206
  - wordless.gemspec
205
207
  homepage: http://github.com/welaika/wordless_gem
206
208
  licenses:
207
209
  - MIT
208
210
  metadata: {}
209
- post_install_message:
211
+ post_install_message:
210
212
  rdoc_options: []
211
213
  require_paths:
212
214
  - lib
@@ -214,16 +216,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
214
216
  requirements:
215
217
  - - ">="
216
218
  - !ruby/object:Gem::Version
217
- version: 2.1.2
219
+ version: 2.4.1
218
220
  required_rubygems_version: !ruby/object:Gem::Requirement
219
221
  requirements:
220
222
  - - ">="
221
223
  - !ruby/object:Gem::Version
222
224
  version: '0'
223
225
  requirements: []
224
- rubyforge_project:
225
- rubygems_version: 2.4.5
226
- signing_key:
226
+ rubyforge_project:
227
+ rubygems_version: 2.6.11
228
+ signing_key:
227
229
  specification_version: 4
228
230
  summary: Manage Wordless themes.
229
231
  test_files: []