wordless 2.1.0 → 2.1.1

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: dd708bd16e7afbffc60aa2535aae764b62f0897a
4
- data.tar.gz: ee329a0acee2891526b676f5fe1ee6b4cc599bae
3
+ metadata.gz: '08ade72040ad52b3a276d76eb2301b73dd0764ff'
4
+ data.tar.gz: 99c41db0eb6fe902ce2113ec2fe5b4554a48b3f3
5
5
  SHA512:
6
- metadata.gz: 3379801cededc13b2aa65dffd315c9bcfcb0baf82b4a6e618258045ee07e0a2435f3f447d15155bfa610381c7f0dc43e9935df30c47aa654185c8768db0918b4
7
- data.tar.gz: 46968e02508ee714a797aa165cd6147d1fd3069f2ec909c8193a3555731382be202a8a8043b52d34a588c30c89c21ee07270a630efa250e4bbe9f12302543a27
6
+ metadata.gz: 3ce6de5cfa2a1a244c2cf607b869652314a0b361d10cd3d9ad458cc83e6c4ee5c0455b7209e59ac2aa143dbf986c36bebd336bf5da95164dbd5de1dd420bd345
7
+ data.tar.gz: 7e2150b3bfcb944e19589c444022e2f51f7cc965e8e14db2720b7f7dfeea87d9fe9879cc7a5ecd89da7a6bd2f3cfd05f035f679aa7df1d7d73c61859f9cbc19c
data/README.mdown CHANGED
@@ -116,4 +116,4 @@ made with ❤️ and ☕️ by [weLaika](https://dev.welaika.com)
116
116
 
117
117
  (The MIT License)
118
118
 
119
- Copyright © 2012-2018 [weLaika](https://dev.welaika.com)
119
+ Copyright © 2012-2019 [weLaika](https://dev.welaika.com)
data/exe/wordless CHANGED
@@ -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'
@@ -7,7 +7,7 @@ module Wordless
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
 
@@ -1,3 +1,3 @@
1
1
  module Wordless
2
- VERSION = "2.1.0".freeze
2
+ VERSION = "2.1.1".freeze
3
3
  end
@@ -12,10 +12,10 @@ 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'
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 wordless --activate")
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
@@ -1,4 +1,4 @@
1
- lib = File.expand_path('../lib', __FILE__)
1
+ lib = File.expand_path('lib', __dir__)
2
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
  require "wordless/version"
4
4
 
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.0
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: 2018-09-12 00:00:00.000000000 Z
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