marv 0.8.0 → 0.8.2

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
  SHA256:
3
- metadata.gz: aead1f81bd54be742953a991c4f1f3da7145753835847800c537581be93bcf41
4
- data.tar.gz: d411b5671cb3a63fc7759dc14958aee9c6a587a80eff0799b992fe76aa4a547c
3
+ metadata.gz: f688391a518904f1daddeaa4c3ee8e1ea002b7cb4b7c46c972b673c85bddfaf1
4
+ data.tar.gz: 37087265e8e33181260038170e10e05f36cc11a596d738e27c2a556f99eb408d
5
5
  SHA512:
6
- metadata.gz: 9e2ac78aa59075debd2b3832ed6117badd7740e09c8abc71e0aa513e39d344cb2961fdea045376375885fdb44e0787d6bbc79cfc9df9330ad686a453e788f6fa
7
- data.tar.gz: 5958235bf58734ee024fc001dd2fc0634b6933cf58b2a36ea3984a6b2aaffa1b56f3a28ebeaf47077f58fc6b4a83ee8b764bcc3da626aa4fe612e9e17cc560e3
6
+ metadata.gz: 46857004306117b311d80d4082a250f3c70439f999bedcd196b67be932a0241d96e25a9a46b32f07b1a7cf2abec610c8d6961b75c710ff62e2e07a15644ddc5e
7
+ data.tar.gz: 8e7113d994369a9f0c98a9c53dc64065718b4f580f7024c4c04cc1ce03fc426a3ed5b8450658410faf38750211ce8dd770ea52de87f60fbcb60e9bb5386d98bb
data/Gemfile.lock ADDED
@@ -0,0 +1,115 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ marv (0.8.1)
5
+ autoprefixer-rails (~> 10.4)
6
+ childprocess (~> 0.5)
7
+ coffee-script (~> 2.3)
8
+ guard (~> 2.8, < 2.9)
9
+ guard-livereload (~> 2.4)
10
+ less (~> 2.6)
11
+ mysql2 (~> 0.3)
12
+ pry (>= 0.13)
13
+ rubyzip (~> 1.1)
14
+ sass (~> 3.4)
15
+ sprockets (~> 3.7)
16
+ thor (~> 0.19)
17
+ tilt (~> 1.1, != 1.3)
18
+ uglifier (~> 4.1)
19
+
20
+ GEM
21
+ remote: https://rubygems.org/
22
+ specs:
23
+ autoprefixer-rails (10.4.2.0)
24
+ execjs (~> 2)
25
+ celluloid (0.16.0)
26
+ timers (~> 4.0.0)
27
+ childprocess (0.9.0)
28
+ ffi (~> 1.0, >= 1.0.11)
29
+ coderay (1.1.3)
30
+ coffee-script (2.4.1)
31
+ coffee-script-source
32
+ execjs
33
+ coffee-script-source (1.12.2)
34
+ commonjs (0.2.7)
35
+ concurrent-ruby (1.1.10)
36
+ diff-lcs (1.5.0)
37
+ em-websocket (0.5.3)
38
+ eventmachine (>= 0.12.9)
39
+ http_parser.rb (~> 0)
40
+ eventmachine (1.2.7)
41
+ execjs (2.8.1)
42
+ ffi (1.15.5)
43
+ formatador (1.1.0)
44
+ guard (2.8.2)
45
+ formatador (>= 0.2.4)
46
+ listen (~> 2.7)
47
+ lumberjack (~> 1.0)
48
+ pry (>= 0.9.12)
49
+ thor (>= 0.18.1)
50
+ guard-compat (1.2.1)
51
+ guard-livereload (2.5.2)
52
+ em-websocket (~> 0.5)
53
+ guard (~> 2.8)
54
+ guard-compat (~> 1.0)
55
+ multi_json (~> 1.8)
56
+ hitimes (2.0.0)
57
+ http_parser.rb (0.8.0)
58
+ less (2.6.0)
59
+ commonjs (~> 0.2.7)
60
+ listen (2.10.1)
61
+ celluloid (~> 0.16.0)
62
+ rb-fsevent (>= 0.9.3)
63
+ rb-inotify (>= 0.9)
64
+ lumberjack (1.2.8)
65
+ method_source (1.0.0)
66
+ multi_json (1.15.0)
67
+ mysql2 (0.5.3)
68
+ pry (0.14.1)
69
+ coderay (~> 1.1)
70
+ method_source (~> 1.0)
71
+ rack (2.2.3)
72
+ rake (13.0.6)
73
+ rb-fsevent (0.11.1)
74
+ rb-inotify (0.10.1)
75
+ ffi (~> 1.0)
76
+ rspec (3.11.0)
77
+ rspec-core (~> 3.11.0)
78
+ rspec-expectations (~> 3.11.0)
79
+ rspec-mocks (~> 3.11.0)
80
+ rspec-core (3.11.0)
81
+ rspec-support (~> 3.11.0)
82
+ rspec-expectations (3.11.0)
83
+ diff-lcs (>= 1.2.0, < 2.0)
84
+ rspec-support (~> 3.11.0)
85
+ rspec-mocks (3.11.1)
86
+ diff-lcs (>= 1.2.0, < 2.0)
87
+ rspec-support (~> 3.11.0)
88
+ rspec-support (3.11.0)
89
+ rubyzip (1.3.0)
90
+ sass (3.7.4)
91
+ sass-listen (~> 4.0.0)
92
+ sass-listen (4.0.0)
93
+ rb-fsevent (~> 0.9, >= 0.9.4)
94
+ rb-inotify (~> 0.9, >= 0.9.7)
95
+ sprockets (3.7.2)
96
+ concurrent-ruby (~> 1.0)
97
+ rack (> 1, < 3)
98
+ thor (0.20.3)
99
+ tilt (1.4.1)
100
+ timers (4.0.4)
101
+ hitimes
102
+ uglifier (4.2.0)
103
+ execjs (>= 0.3.0, < 3)
104
+
105
+ PLATFORMS
106
+ ruby
107
+
108
+ DEPENDENCIES
109
+ bundler (~> 2.0)
110
+ marv!
111
+ rake (~> 13.0)
112
+ rspec (~> 3.11)
113
+
114
+ BUNDLED WITH
115
+ 2.1.4
@@ -82,6 +82,11 @@ module Marv
82
82
 
83
83
  # Init sprockets
84
84
  def init_sprockets
85
+ if ExecJS::Runtimes.runtimes.none?(&:available?)
86
+ @task.say_error "No execjs runtime found! Aborting..."
87
+ abort
88
+ end
89
+
85
90
  @sprockets = ::Sprockets::Environment.new
86
91
  autoprefixer = @config[:autoprefixer]
87
92
 
@@ -108,7 +113,14 @@ module Marv
108
113
  end
109
114
 
110
115
  unless autoprefixer == false
111
- AutoprefixerRails.install(@sprockets, Hash(autoprefixer))
116
+ runtimes = AutoprefixerRails::Processor::SUPPORTED_RUNTIMES
117
+
118
+ if runtimes.any?(&:available?)
119
+ AutoprefixerRails.install(@sprockets, Hash(autoprefixer))
120
+ else
121
+ names = runtimes.map(&:name).join(', ')
122
+ @task.say_warning "Autoprefixer disabled: no supported runtime found [ #{names} ]"
123
+ end
112
124
  end
113
125
  end
114
126
 
data/lib/marv/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Marv
2
- VERSION = "0.8.0"
2
+ VERSION = "0.8.2"
3
3
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonian Guveli
8
8
  - Olibia Tsati
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-04-09 00:00:00.000000000 Z
12
+ date: 2022-04-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard
@@ -157,20 +157,6 @@ dependencies:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
159
  version: '2.3'
160
- - !ruby/object:Gem::Dependency
161
- name: mini_racer
162
- requirement: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: '0.2'
167
- type: :runtime
168
- prerelease: false
169
- version_requirements: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - "~>"
172
- - !ruby/object:Gem::Version
173
- version: '0.2'
174
160
  - !ruby/object:Gem::Dependency
175
161
  name: rubyzip
176
162
  requirement: !ruby/object:Gem::Requirement
@@ -191,14 +177,14 @@ dependencies:
191
177
  requirements:
192
178
  - - "~>"
193
179
  - !ruby/object:Gem::Version
194
- version: '9.3'
180
+ version: '10.4'
195
181
  type: :runtime
196
182
  prerelease: false
197
183
  version_requirements: !ruby/object:Gem::Requirement
198
184
  requirements:
199
185
  - - "~>"
200
186
  - !ruby/object:Gem::Version
201
- version: '9.3'
187
+ version: '10.4'
202
188
  - !ruby/object:Gem::Dependency
203
189
  name: tilt
204
190
  requirement: !ruby/object:Gem::Requirement
@@ -267,14 +253,14 @@ dependencies:
267
253
  requirements:
268
254
  - - "~>"
269
255
  - !ruby/object:Gem::Version
270
- version: '3.0'
256
+ version: '3.11'
271
257
  type: :development
272
258
  prerelease: false
273
259
  version_requirements: !ruby/object:Gem::Requirement
274
260
  requirements:
275
261
  - - "~>"
276
262
  - !ruby/object:Gem::Version
277
- version: '3.0'
263
+ version: '3.11'
278
264
  description: A toolkit for bootstrapping and developing WordPress themes and plugins
279
265
  using Sass, LESS, and CoffeeScript.
280
266
  email:
@@ -286,6 +272,7 @@ extra_rdoc_files: []
286
272
  files:
287
273
  - CHANGELOG.md
288
274
  - Gemfile
275
+ - Gemfile.lock
289
276
  - LICENSE.txt
290
277
  - README.md
291
278
  - Rakefile
@@ -360,7 +347,7 @@ homepage: https://hardpixel.github.io/marv
360
347
  licenses:
361
348
  - MIT
362
349
  metadata: {}
363
- post_install_message:
350
+ post_install_message:
364
351
  rdoc_options: []
365
352
  require_paths:
366
353
  - lib
@@ -375,8 +362,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
375
362
  - !ruby/object:Gem::Version
376
363
  version: '0'
377
364
  requirements: []
378
- rubygems_version: 3.1.2
379
- signing_key:
365
+ rubygems_version: 3.1.6
366
+ signing_key:
380
367
  specification_version: 4
381
368
  summary: Toolkit for developing WordPress themes and plugins
382
369
  test_files: []