wordless 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.mdown +1 -1
- data/exe/wordless +1 -1
- data/lib/wordless/cli_helper.rb +1 -1
- data/lib/wordless/version.rb +1 -1
- data/lib/wordless/wordless_cli.rb +5 -4
- data/wordless.gemspec +1 -1
- metadata +2 -3
- data/Gemfile.lock +0 -120
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08ade72040ad52b3a276d76eb2301b73dd0764ff'
|
4
|
+
data.tar.gz: 99c41db0eb6fe902ce2113ec2fe5b4554a48b3f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ce6de5cfa2a1a244c2cf607b869652314a0b361d10cd3d9ad458cc83e6c4ee5c0455b7209e59ac2aa143dbf986c36bebd336bf5da95164dbd5de1dd420bd345
|
7
|
+
data.tar.gz: 7e2150b3bfcb944e19589c444022e2f51f7cc965e8e14db2720b7f7dfeea87d9fe9879cc7a5ecd89da7a6bd2f3cfd05f035f679aa7df1d7d73c61859f9cbc19c
|
data/README.mdown
CHANGED
data/exe/wordless
CHANGED
data/lib/wordless/cli_helper.rb
CHANGED
data/lib/wordless/version.rb
CHANGED
@@ -12,10 +12,10 @@ module Wordless
|
|
12
12
|
end
|
13
13
|
|
14
14
|
DEFAULT_PATHS = {
|
15
|
-
PATH::WORDFILE
|
15
|
+
PATH::WORDFILE => 'Wordfile',
|
16
16
|
PATH::WP_CONTENT => 'wp-content',
|
17
|
-
PATH::PLUGINS
|
18
|
-
PATH::THEMES
|
17
|
+
PATH::PLUGINS => 'wp-content/plugins',
|
18
|
+
PATH::THEMES => 'wp-content/themes'
|
19
19
|
}.freeze
|
20
20
|
|
21
21
|
GLOBAL_NODE_MODULES = %w[foreman yarn].freeze
|
@@ -51,8 +51,9 @@ module Wordless
|
|
51
51
|
info("Installing and activating plugin...")
|
52
52
|
|
53
53
|
at_wordpress_root do
|
54
|
+
github_url = 'https://github.com/welaika/wordless/archive/master.zip'
|
54
55
|
error("Directory '#{plugins_path}' not found.") unless File.directory?(plugins_path)
|
55
|
-
if run_command("wp plugin install
|
56
|
+
if run_command("wp plugin install #{github_url} --activate")
|
56
57
|
success("Done!")
|
57
58
|
else
|
58
59
|
error("There was an error installing and/or activating the Wordless plugin.")
|
data/wordless.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wordless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Étienne Després
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: exe
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2019-05-31 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: activesupport
|
@@ -214,7 +214,6 @@ files:
|
|
214
214
|
- ".ruby-version"
|
215
215
|
- ".vscode/launch.json"
|
216
216
|
- Gemfile
|
217
|
-
- Gemfile.lock
|
218
217
|
- LICENSE
|
219
218
|
- README.mdown
|
220
219
|
- Rakefile
|
data/Gemfile.lock
DELETED
@@ -1,120 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
wordless (2.1.0)
|
5
|
-
activesupport
|
6
|
-
coffee-script
|
7
|
-
compass
|
8
|
-
sprockets
|
9
|
-
thor (~> 0.19.1)
|
10
|
-
wordpress_tools (~> 1.4.1)
|
11
|
-
yui-compressor
|
12
|
-
|
13
|
-
GEM
|
14
|
-
remote: https://rubygems.org/
|
15
|
-
specs:
|
16
|
-
activesupport (5.2.0)
|
17
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
18
|
-
i18n (>= 0.7, < 2)
|
19
|
-
minitest (~> 5.1)
|
20
|
-
tzinfo (~> 1.1)
|
21
|
-
ast (2.3.0)
|
22
|
-
byebug (9.1.0)
|
23
|
-
chunky_png (1.3.8)
|
24
|
-
coderay (1.1.2)
|
25
|
-
coffee-script (2.4.1)
|
26
|
-
coffee-script-source
|
27
|
-
execjs
|
28
|
-
coffee-script-source (1.12.2)
|
29
|
-
colorize (0.8.1)
|
30
|
-
compass (1.0.3)
|
31
|
-
chunky_png (~> 1.2)
|
32
|
-
compass-core (~> 1.0.2)
|
33
|
-
compass-import-once (~> 1.0.5)
|
34
|
-
rb-fsevent (>= 0.9.3)
|
35
|
-
rb-inotify (>= 0.9)
|
36
|
-
sass (>= 3.3.13, < 3.5)
|
37
|
-
compass-core (1.0.3)
|
38
|
-
multi_json (~> 1.0)
|
39
|
-
sass (>= 3.3.0, < 3.5)
|
40
|
-
compass-import-once (1.0.5)
|
41
|
-
sass (>= 3.2, < 3.5)
|
42
|
-
concurrent-ruby (1.0.5)
|
43
|
-
diff-lcs (1.3)
|
44
|
-
execjs (2.7.0)
|
45
|
-
ffi (1.9.21)
|
46
|
-
gem-release (1.0.0)
|
47
|
-
i18n (1.0.1)
|
48
|
-
concurrent-ruby (~> 1.0)
|
49
|
-
method_source (0.9.0)
|
50
|
-
minitest (5.11.3)
|
51
|
-
multi_json (1.12.2)
|
52
|
-
parallel (1.12.1)
|
53
|
-
parser (2.4.0.2)
|
54
|
-
ast (~> 2.3)
|
55
|
-
powerpack (0.1.1)
|
56
|
-
priscilla (1.0.3)
|
57
|
-
colorize (~> 0.7)
|
58
|
-
rumoji (~> 0.3)
|
59
|
-
pry (0.11.3)
|
60
|
-
coderay (~> 1.1.0)
|
61
|
-
method_source (~> 0.9.0)
|
62
|
-
pry-byebug (3.5.1)
|
63
|
-
byebug (~> 9.1)
|
64
|
-
pry (~> 0.10)
|
65
|
-
rack (2.0.3)
|
66
|
-
rainbow (3.0.0)
|
67
|
-
rake (10.5.0)
|
68
|
-
rb-fsevent (0.10.2)
|
69
|
-
rb-inotify (0.9.10)
|
70
|
-
ffi (>= 0.5.0, < 2)
|
71
|
-
rspec (3.2.0)
|
72
|
-
rspec-core (~> 3.2.0)
|
73
|
-
rspec-expectations (~> 3.2.0)
|
74
|
-
rspec-mocks (~> 3.2.0)
|
75
|
-
rspec-core (3.2.3)
|
76
|
-
rspec-support (~> 3.2.0)
|
77
|
-
rspec-expectations (3.2.1)
|
78
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
79
|
-
rspec-support (~> 3.2.0)
|
80
|
-
rspec-mocks (3.2.1)
|
81
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
82
|
-
rspec-support (~> 3.2.0)
|
83
|
-
rspec-support (3.2.2)
|
84
|
-
rubocop (0.52.0)
|
85
|
-
parallel (~> 1.10)
|
86
|
-
parser (>= 2.4.0.2, < 3.0)
|
87
|
-
powerpack (~> 0.1)
|
88
|
-
rainbow (>= 2.2.2, < 4.0)
|
89
|
-
ruby-progressbar (~> 1.7)
|
90
|
-
unicode-display_width (~> 1.0, >= 1.0.1)
|
91
|
-
ruby-progressbar (1.9.0)
|
92
|
-
rumoji (0.5.0)
|
93
|
-
sass (3.4.25)
|
94
|
-
sprockets (3.7.1)
|
95
|
-
concurrent-ruby (~> 1.0)
|
96
|
-
rack (> 1, < 3)
|
97
|
-
thor (0.19.4)
|
98
|
-
thread_safe (0.3.6)
|
99
|
-
tzinfo (1.2.5)
|
100
|
-
thread_safe (~> 0.1)
|
101
|
-
unicode-display_width (1.3.0)
|
102
|
-
wordpress_tools (1.4.1)
|
103
|
-
activesupport (~> 5.0)
|
104
|
-
thor (~> 0.19.1)
|
105
|
-
yui-compressor (0.12.0)
|
106
|
-
|
107
|
-
PLATFORMS
|
108
|
-
ruby
|
109
|
-
|
110
|
-
DEPENDENCIES
|
111
|
-
gem-release
|
112
|
-
priscilla (~> 1.0)
|
113
|
-
pry-byebug (~> 3.0)
|
114
|
-
rake (~> 10.0)
|
115
|
-
rspec (~> 3.2.0)
|
116
|
-
rubocop
|
117
|
-
wordless!
|
118
|
-
|
119
|
-
BUNDLED WITH
|
120
|
-
1.16.1
|