middleman-targets 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -7
- data/documentation_project/Gemfile +1 -1
- data/documentation_project/config.rb +1 -1
- data/documentation_project/source/partials/_yard_config.erb +5 -5
- data/documentation_project/source/partials/_yard_helpers.erb +4 -4
- data/documentation_project/source/partials/_yard_helpers_extended.erb +1 -1
- data/documentation_project/source/partials/_yard_instance.erb +1 -1
- data/documentation_project/source/partials/_yard_resources.erb +2 -2
- data/lib/middleman-targets/extension.rb +15 -0
- data/lib/middleman-targets/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6d8e060760907958e927529917362dc98c2cd66
|
4
|
+
data.tar.gz: aa193acc9c5c6f5ffc6ba078755837fe6f8d20f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd71e4edfff8f4dee46c91ba04111b3b568b54e4c413517957e0403d2339dca1f4a3b0025e05826460b56d0e0fb7bcd8891cd1b3486830c187e979ef8bd661bd
|
7
|
+
data.tar.gz: 34b54dee0da437f00cd14c28bf16ccb53340578ac4a227286a4144a0fc9ae8ba8e266e3ef60c060a65fd5a296b38ce35087e20c26cfc77a35f4f5021800c55f3
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,11 @@
|
|
1
1
|
middleman-targets change log
|
2
2
|
============================
|
3
3
|
|
4
|
-
- Version 1.0.
|
4
|
+
- Version 1.0.8 / 2018-May-18
|
5
|
+
|
6
|
+
- Added middleman_target exposed to config.rb
|
7
|
+
|
8
|
+
- Version 1.0.7 / 2016-May-14
|
5
9
|
|
6
10
|
- Bump to 1.0.7 fixes:
|
7
11
|
- Require capybara as development dependency fixes broken testing.
|
@@ -10,6 +14,9 @@ middleman-targets change log
|
|
10
14
|
- Version 1.0.7.wip
|
11
15
|
- Bump to 1.0.7.wip.
|
12
16
|
- to be determined.
|
17
|
+
|
18
|
+
- Version 1.0.6 / 2016-May-10
|
19
|
+
|
13
20
|
- Version 1.0.6
|
14
21
|
- Added the missing documentation file git didn't commit.
|
15
22
|
- Introduced several RAKE tasks to manage distribution.
|
@@ -17,14 +24,14 @@ middleman-targets change log
|
|
17
24
|
- Automatic change log generation.
|
18
25
|
- There are no API or functional changes to the extension, however.
|
19
26
|
|
20
|
-
- Version 1.0.5 / 2016-May-
|
27
|
+
- Version 1.0.5 / 2016-May-10
|
21
28
|
|
22
29
|
- Version bump to 1.0.5
|
23
30
|
- Documentation updates.
|
24
31
|
- Added newer partials.
|
25
32
|
- Updates how YARD generates docs and partials
|
26
33
|
|
27
|
-
- Version 1.0.4 / 2016-May-
|
34
|
+
- Version 1.0.4 / 2016-May-10
|
28
35
|
|
29
36
|
- Bump to version 1.0.4
|
30
37
|
- Introduce Cucumber tests.
|
@@ -32,18 +39,18 @@ middleman-targets change log
|
|
32
39
|
- Improved documentation project using some of YARD's output.
|
33
40
|
- Lots of source documentation added in order to support YARD.
|
34
41
|
|
35
|
-
- Version 1.0.3 / 2016-May-
|
42
|
+
- Version 1.0.3 / 2016-May-10
|
36
43
|
|
37
44
|
- Internal refactoring for other gem use
|
38
45
|
|
39
|
-
- Version 1.0.2 / 2016-May-
|
46
|
+
- Version 1.0.2 / 2016-May-10
|
40
47
|
|
41
48
|
- Documentation updates
|
42
49
|
- Fixed missing documentation page.
|
43
50
|
- Added CLI section.
|
44
51
|
- Documentation project image replacement
|
45
52
|
|
46
|
-
- Version 1.0.1 / 2016-May-
|
53
|
+
- Version 1.0.1 / 2016-May-10
|
47
54
|
|
48
55
|
- Repair incomplete gem; documentation
|
49
56
|
- Fixed a git issue that meant the gem wasn't complete when installed.
|
@@ -54,7 +61,7 @@ middleman-targets change log
|
|
54
61
|
- Added gem version badge
|
55
62
|
- README update for better top-level description
|
56
63
|
|
57
|
-
- Version 1.0.0 / 2016-May-
|
64
|
+
- Version 1.0.0 / 2016-May-10
|
58
65
|
|
59
66
|
- middleman-targets 1.0.0
|
60
67
|
- Initial commit
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<div class="method_details first">
|
10
10
|
<h3 class="signature first" id="config[:build_dir]=-instance_method">
|
11
11
|
|
12
|
-
|
12
|
+
#<strong>config[:build_dir]=</strong>(value) ⇒ <tt>String</tt>
|
13
13
|
|
14
14
|
|
15
15
|
|
@@ -83,7 +83,7 @@ used for build output.</p>
|
|
83
83
|
<div class="method_details ">
|
84
84
|
<h3 class="signature " id="config[:target]=-instance_method">
|
85
85
|
|
86
|
-
|
86
|
+
#<strong>config[:target]=</strong>(value) ⇒ <tt>Symbol</tt>
|
87
87
|
|
88
88
|
|
89
89
|
|
@@ -153,7 +153,7 @@ be used as the default.</p>
|
|
153
153
|
<div class="method_details ">
|
154
154
|
<h3 class="signature " id="config[:target_magic_images]=-instance_method">
|
155
155
|
|
156
|
-
|
156
|
+
#<strong>config[:target_magic_images]=</strong>(value) ⇒ <tt>Boolean</tt>
|
157
157
|
|
158
158
|
|
159
159
|
|
@@ -224,7 +224,7 @@ image substitution should be enabled.</p>
|
|
224
224
|
<div class="method_details ">
|
225
225
|
<h3 class="signature " id="config[:target_magic_word]=-instance_method">
|
226
226
|
|
227
|
-
|
227
|
+
#<strong>config[:target_magic_word]=</strong>(value) ⇒ <tt>String</tt>
|
228
228
|
|
229
229
|
|
230
230
|
|
@@ -295,7 +295,7 @@ the should be substituted, such as <code>all</code>.</p>
|
|
295
295
|
<div class="method_details ">
|
296
296
|
<h3 class="signature " id="config[:targets]=-instance_method">
|
297
297
|
|
298
|
-
|
298
|
+
#<strong>config[:targets]=</strong>(value) ⇒ <tt>Hash</tt>
|
299
299
|
|
300
300
|
|
301
301
|
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<div class="method_details first">
|
11
11
|
<h3 class="signature first" id="target_feature?-instance_method">
|
12
12
|
|
13
|
-
|
13
|
+
#<strong>target_feature?</strong>(feature) ⇒ <tt>Boolean</tt>
|
14
14
|
|
15
15
|
|
16
16
|
|
@@ -71,7 +71,7 @@ enabled.</p>
|
|
71
71
|
<div class="method_details ">
|
72
72
|
<h3 class="signature " id="target_name-instance_method">
|
73
73
|
|
74
|
-
|
74
|
+
#<strong>target_name</strong> ⇒ <tt>Symbol</tt>
|
75
75
|
|
76
76
|
|
77
77
|
|
@@ -110,7 +110,7 @@ enabled.</p>
|
|
110
110
|
<div class="method_details ">
|
111
111
|
<h3 class="signature " id="target_name?-instance_method">
|
112
112
|
|
113
|
-
|
113
|
+
#<strong>target_name?</strong>(proposal) ⇒ <tt>Boolean</tt>
|
114
114
|
|
115
115
|
|
116
116
|
|
@@ -170,7 +170,7 @@ matches the parameter <code>proposal</code>.</p>
|
|
170
170
|
<div class="method_details ">
|
171
171
|
<h3 class="signature " id="target_value-instance_method">
|
172
172
|
|
173
|
-
|
173
|
+
#<strong>target_value</strong>(key) ⇒ <tt>String</tt>, <tt>Nil</tt>
|
174
174
|
|
175
175
|
|
176
176
|
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<div class="method_details first">
|
11
11
|
<h3 class="signature first" id="target_specific_proposal-instance_method">
|
12
12
|
|
13
|
-
|
13
|
+
#<strong>target_specific_proposal</strong>(path) ⇒ <tt>String</tt>
|
14
14
|
|
15
15
|
|
16
16
|
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<div class="method_details first">
|
11
11
|
<h3 class="signature first" id="resource.targeted?-instance_method">
|
12
12
|
|
13
|
-
|
13
|
+
#<strong>resource.targeted?</strong> ⇒ <tt>Boolean</tt>
|
14
14
|
|
15
15
|
|
16
16
|
|
@@ -65,7 +65,7 @@ or not this resource belongs in the current target.</p>
|
|
65
65
|
<div class="method_details ">
|
66
66
|
<h3 class="signature " id="resource.valid_features-instance_method">
|
67
67
|
|
68
|
-
|
68
|
+
#<strong>resource.valid_features</strong> ⇒ <tt>Array</tt>
|
69
69
|
|
70
70
|
|
71
71
|
|
@@ -430,4 +430,19 @@ class MiddlemanTargets < ::Middleman::Extension
|
|
430
430
|
end # say
|
431
431
|
|
432
432
|
|
433
|
+
############################################################
|
434
|
+
# Instance Methods Exposed to Config
|
435
|
+
# @group Instance Methods Exposed to Config
|
436
|
+
############################################################
|
437
|
+
expose_to_config :middleman_target
|
438
|
+
|
439
|
+
|
440
|
+
#########################################################
|
441
|
+
# Expose the current target to config.rb.
|
442
|
+
#########################################################
|
443
|
+
def middleman_target
|
444
|
+
@app.config[:target]
|
445
|
+
end
|
446
|
+
|
447
|
+
|
433
448
|
end # class MiddlemanTargets
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-targets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Derry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: middleman-core
|
@@ -227,7 +227,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
227
227
|
version: '0'
|
228
228
|
requirements: []
|
229
229
|
rubyforge_project:
|
230
|
-
rubygems_version: 2.
|
230
|
+
rubygems_version: 2.6.14
|
231
231
|
signing_key:
|
232
232
|
specification_version: 4
|
233
233
|
summary: Provides multiple build targets and tools for Middleman.
|
@@ -236,4 +236,3 @@ test_files:
|
|
236
236
|
- features/helpers_and_resources.feature
|
237
237
|
- features/server_target_option.feature
|
238
238
|
- features/support/env.rb
|
239
|
-
has_rdoc:
|