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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e34940fd32f574977097b9092ba42a88cdc067bb
4
- data.tar.gz: a476d42726325de71f5fb21cd73d861e0974e6e8
3
+ metadata.gz: c6d8e060760907958e927529917362dc98c2cd66
4
+ data.tar.gz: aa193acc9c5c6f5ffc6ba078755837fe6f8d20f6
5
5
  SHA512:
6
- metadata.gz: 0f78348d953a9d4a2fc4c57c4bce4acaa788ab0e0831f0f69d445f2a424a9ff116b106142cc53f48ff67c4e8b26f5dd02c5930d997e2995c6addeae156bc530f
7
- data.tar.gz: 864a4824fb85e9de8250707f9f88cd73f36f89d84d6d4e9322f1b27e3da5b1810a0a8557e81c0be5c6d6ddebf4a6e51b9d582e5e023dc3659c5863693f05320c
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.7 / 2016-May-15
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-11
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-11
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-11
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-11
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-11
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-11
64
+ - Version 1.0.0 / 2016-May-10
58
65
 
59
66
  - middleman-targets 1.0.0
60
67
  - Initial commit
@@ -9,6 +9,6 @@ gem 'wdm', '~> 0.1.0', platforms: [:mswin, :mingw]
9
9
  gem 'tzinfo-data', platforms: [:mswin, :mingw, :jruby]
10
10
 
11
11
  # Middleman Gems
12
- gem 'middleman-targets', '~> 1.0.7'
12
+ gem 'middleman-targets', '~> 1.0.8'
13
13
  gem 'middleman', '~> 4.1.6'
14
14
  gem 'middleman-syntax'
@@ -103,7 +103,7 @@ helpers do
103
103
  end
104
104
 
105
105
  def product_version
106
- '1.0.7'
106
+ '1.0.8'
107
107
  end
108
108
 
109
109
  end
@@ -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
- - (<tt>String</tt>) <strong>config[:build_dir]=</strong>(value)
12
+ #<strong>config[:build_dir]=</strong>(value) &#x21d2; <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
- - (<tt>Symbol</tt>) <strong>config[:target]=</strong>(value)
86
+ #<strong>config[:target]=</strong>(value) &#x21d2; <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
- - (<tt>Boolean</tt>) <strong>config[:target_magic_images]=</strong>(value)
156
+ #<strong>config[:target_magic_images]=</strong>(value) &#x21d2; <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
- - (<tt>String</tt>) <strong>config[:target_magic_word]=</strong>(value)
227
+ #<strong>config[:target_magic_word]=</strong>(value) &#x21d2; <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
- - (<tt>Hash</tt>) <strong>config[:targets]=</strong>(value)
298
+ #<strong>config[:targets]=</strong>(value) &#x21d2; <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
- - (<tt>Boolean</tt>) <strong>target_feature?</strong>(feature)
13
+ #<strong>target_feature?</strong>(feature) &#x21d2; <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
- - (<tt>Symbol</tt>) <strong>target_name</strong>
74
+ #<strong>target_name</strong> &#x21d2; <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
- - (<tt>Boolean</tt>) <strong>target_name?</strong>(proposal)
113
+ #<strong>target_name?</strong>(proposal) &#x21d2; <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
- - (<tt>String</tt>, <tt>Nil</tt>) <strong>target_value</strong>(key)
173
+ #<strong>target_value</strong>(key) &#x21d2; <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="image_tag-instance_method">
12
12
 
13
- - (<tt>Void</tt>) <strong>image_tag</strong>(path, params = {})
13
+ #<strong>image_tag</strong>(path, params = {}) &#x21d2; <tt>Void</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="target_specific_proposal-instance_method">
12
12
 
13
- - (<tt>String</tt>) <strong>target_specific_proposal</strong>(path)
13
+ #<strong>target_specific_proposal</strong>(path) &#x21d2; <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
- - (<tt>Boolean</tt>) <strong>resource.targeted?</strong>
13
+ #<strong>resource.targeted?</strong> &#x21d2; <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
- - (<tt>Array</tt>) <strong>resource.valid_features</strong>
68
+ #<strong>resource.valid_features</strong> &#x21d2; <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
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module MiddlemanTargets
3
- VERSION = '1.0.7'
3
+ VERSION = '1.0.8'
4
4
  end
5
5
  end
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.7
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: 2016-05-15 00:00:00.000000000 Z
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.5.1
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: