middleman-targets 1.0.5 → 1.0.6

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: 5d85fe59332483c81a049792ad7a00eae847e3d2
4
- data.tar.gz: eeba5c5a693173341bff0cfa0b81fcabdb37a245
3
+ metadata.gz: d82480769f95eaac813243c7929ca199f36ffa5b
4
+ data.tar.gz: 991f1492c11900ded03061961e8b8c3426fc001e
5
5
  SHA512:
6
- metadata.gz: bcceac1f84f709dd37eff8d7cb953ec5eb01a8a0b03d013a337f13b4d273d08e1d96295aacb7cc0f9a58029e94555f099b1e1fa825597a8d65c43314d6dc6ee0
7
- data.tar.gz: 9b54fc64ccd56e90c70cc2e4f32ffb71070300e2262a2d755b9d2139d40a3945c07206b969ca960f69fc60f6c9a3ab31d3b42a583a0b57990a7e1553747292e8
6
+ metadata.gz: 0a8975f43c2e6653edb4519da03ed82263e2e003d851432e78b58c442879c4eff647a31fc7ecbbf102b05761eae1573768d7e5fd067ea12089b2137ec6338a16
7
+ data.tar.gz: decf462d568bef42d85022cdf013643ddfb72a8a792b657ffc291998ac2b113406cca9dc4b7d95c5aa76ab4169d620052f7b236ee908d857aabc28eba9ff03e4
data/CHANGELOG.md CHANGED
@@ -1,29 +1,54 @@
1
1
  middleman-targets change log
2
2
  ============================
3
3
 
4
- - Version 1.0.4 / 2016-April-14
4
+ - Version 1.0.6 / 2016-May-11
5
5
 
6
- - Added Cucumber tests.
7
- - Added *much* documentation to the extension source in order to
8
- generate YARD documentation.
9
- - Improved the documentation sample project to use YARD's output.
6
+ - Version 1.0.6
7
+ - Added the missing documentation file git didn't commit.
8
+ - Introduced several RAKE tasks to manage distribution.
9
+ - Auto-generate the partials.
10
+ - Automatic change log generation.
11
+ - There are no API or functional changes to the extension, however.
10
12
 
11
- - Version 1.0.3 / 2016-April-08
13
+ - Version 1.0.5 / 2016-May-11
12
14
 
13
- - A bit of internal refactoring in order for related gems to be able
14
- to use a bit of our features.
15
+ - Version bump to 1.0.5
16
+ - Documentation updates.
17
+ - Added newer partials.
18
+ - Updates how YARD generates docs and partials
15
19
 
16
- - Version 1.0.2 / 2016-April-07
20
+ - Version 1.0.4 / 2016-May-11
17
21
 
18
- - Fixed another git issue that introduced a filler page.
19
- - Improved documentation.
22
+ - Bump to version 1.0.4
23
+ - Introduce Cucumber tests.
24
+ - Documentation generation with YARD.
25
+ - Improved documentation project using some of YARD's output.
26
+ - Lots of source documentation added in order to support YARD.
20
27
 
21
- - Version 1.0.1 / 2016-March-30
28
+ - Version 1.0.3 / 2016-May-11
22
29
 
23
- - Fixed a git issue that led to installed Gem not working at all.
24
- - Added a license to the sample project.
25
- - Fixed incorrect version in the sample project.
30
+ - Internal refactoring for other gem use
26
31
 
27
- - Version 1.0.0 / 2016-March-29
32
+ - Version 1.0.2 / 2016-May-11
28
33
 
29
- - Initial Release
34
+ - Documentation updates
35
+ - Fixed missing documentation page.
36
+ - Added CLI section.
37
+ - Documentation project image replacement
38
+
39
+ - Version 1.0.1 / 2016-May-11
40
+
41
+ - Repair incomplete gem; documentation
42
+ - Fixed a git issue that meant the gem wasn't complete when installed.
43
+ - Added a license file to the sample project.
44
+ - Fixed the sample project version number.
45
+ - Additional naming cleanup
46
+ - CLI should not have Middlemac class name
47
+ - Added gem version badge
48
+ - README update for better top-level description
49
+
50
+ - Version 1.0.0 / 2016-May-11
51
+
52
+ - middleman-targets 1.0.0
53
+ - Initial commit
54
+ - middleman-targets adds multiple targets and features to Middleman projects.
data/Rakefile CHANGED
@@ -1,37 +1,199 @@
1
1
  require 'bundler/gem_tasks'
2
2
  require 'cucumber/rake/task'
3
3
  require 'yard'
4
+ require 'git'
5
+ require File.expand_path('../lib/middleman-targets/version.rb', __FILE__)
4
6
 
5
- ENV['GEM_NAME'] = 'middleman-targets'
6
7
 
8
+ ###############################################################################
9
+ # :default
10
+ # Define the default task.
11
+ ###############################################################################
7
12
  task :default => :test
8
13
 
14
+
15
+ ###############################################################################
16
+ # :test
17
+ # Perform Cucumber testing.
18
+ ###############################################################################
9
19
  Cucumber::Rake::Task.new(:test, 'Features that must pass') do |task|
10
20
  task.cucumber_opts = '--require features --color --tags ~@wip --strict --format QuietFormatter'
11
21
  end
12
22
 
13
23
 
24
+ ###############################################################################
25
+ # :yard
26
+ # Generate documentation using YARD. Note that there is a `.yardopts` file
27
+ # present that will load the `yard/yard_extensions.rb` file in order to
28
+ # control how output is generated. Output will be to the default `doc`
29
+ # directory using the template-grouped template, as a single page.
30
+ ###############################################################################
14
31
  YARD::Rake::YardocTask.new(:yard) do |task|
15
32
  task.stats_options = ['--list-undoc']
16
33
  end
17
34
 
18
35
 
19
- desc 'Make separate documents for documentation_project.'
36
+ ###############################################################################
37
+ # :partials
38
+ # Generate documentation partials using YARD. These are used by the
39
+ # documentation project in order to include the API documentation.
40
+ ###############################################################################
41
+ desc 'Make separate documents for documentation_project'
20
42
  task :partials do
21
43
 
44
+ # Define the @!group to output file relationships.
22
45
  sections = [
23
- { :file => 'helpers.erb', :group => 'Helpers', },
24
- { :file => 'helpers_extended.erb', :group => 'Extended Helpers' },
25
- { :file => 'config.erb', :group => 'Middleman Configuration' },
26
- { :file => 'resources.erb', :group => 'Resource Extensions', },
27
- { :file => 'instance.erb', :group => 'Instance Methods', },
46
+ { :file => '_yard_helpers.erb', :group => 'Helpers', },
47
+ { :file => '_yard_helpers_extended.erb', :group => 'Extended Helpers' },
48
+ { :file => '_yard_config.erb', :group => 'Middleman Configuration' },
49
+ { :file => '_yard_resources.erb', :group => 'Resource Extensions', },
50
+ { :file => '_yard_instance.erb', :group => 'Instance Methods', },
28
51
  ]
29
52
 
53
+ # Define the output directory.
54
+ dest = File.join('documentation_project', 'source', 'partials')
55
+
56
+ # Run YARD multiple times, filtering the group that interests us.
30
57
  sections.each do |s|
31
- command = "yardoc --query 'o.group == \"#{s[:group]}\" || has_tag?(:author)' -o doc -t default -p #{File.join(File.dirname(__FILE__), 'yard', 'template-partials')}"
58
+ params = [
59
+ "--query 'o.group == \"#{s[:group]}\" || has_tag?(:author)'",
60
+ "-o #{dest}",
61
+ "-t default",
62
+ "-p #{File.join(File.dirname(__FILE__), 'yard', 'template-partials')}"
63
+ ]
64
+ command = "yardoc #{params.join(' ')}"
32
65
  puts command
33
66
  system(command)
34
- File.rename('doc/index.html', "doc/#{s[:file]}")
67
+ File.rename( File.join(dest, 'index.html'), File.join(dest, s[:file]) )
35
68
  end
36
69
 
37
70
  end
71
+
72
+
73
+ ###############################################################################
74
+ # :version
75
+ # Displays the current version.
76
+ ###############################################################################
77
+ desc 'Displays the current version'
78
+ task :version do
79
+ puts "Current version: #{Middleman::MiddlemanTargets::VERSION}"
80
+ end
81
+
82
+
83
+ ###############################################################################
84
+ # :version_finalize
85
+ # Remove any wip suffix from the version, as we are ready to release.
86
+ ###############################################################################
87
+ desc 'Remove any wip suffix from the version'
88
+ task :version_finalize do
89
+ version_old = Middleman::MiddlemanTargets::VERSION
90
+ version_new = version_old.sub('.wip', '')
91
+ update_version_file( version_new )
92
+ update_doc_file( version_new )
93
+ Middleman::MiddlemanTargets.send(:remove_const, 'VERSION')
94
+ Middleman::MiddlemanTargets::VERSION = version_new
95
+ end
96
+
97
+
98
+ ###############################################################################
99
+ # :version_next_wip
100
+ # Increment the patch level and add a wip suffix. We are ready for work.
101
+ ###############################################################################
102
+ desc 'Increment the patch level and add a wip suffix'
103
+ task :version_next_wip do
104
+ version_old = Middleman::MiddlemanTargets::VERSION
105
+ version_new = version_old.sub('.wip', '').split('.')
106
+ version_new.last.succ!
107
+ version_new = version_new.join('.') + '.wip'
108
+ update_version_file( version_new )
109
+ update_doc_file( version_new )
110
+ Middleman::MiddlemanTargets.send(:remove_const, 'VERSION')
111
+ Middleman::MiddlemanTargets::VERSION = version_new
112
+ end
113
+
114
+
115
+ ###############################################################################
116
+ # :log
117
+ # Generate the CHANGELOG.md file.
118
+ ###############################################################################
119
+ desc 'Generate the CHANGELOG.md file'
120
+ task :log do
121
+ report = ''
122
+ report << "middleman-targets change log\n"
123
+ report << "============================\n"
124
+
125
+ Git.open( File.expand_path('..', __FILE__) ).log.each_with_index do |l, i|
126
+
127
+ version = nil
128
+ if i == 0 && !l.name.start_with?('tags/')
129
+ version = "Version #{Middleman::MiddlemanTargets::VERSION}"
130
+ elsif l.name.end_with?('^0')
131
+ version = "Version #{l.name.match(/tags\/v(.*)\^0/)[1]}"
132
+ end
133
+
134
+ if version
135
+ report << "\n- #{version} / #{l.date.strftime('%Y-%B-%d')}\n"
136
+ report << "\n"
137
+ end
138
+
139
+ l.message.each_line.with_index do |line, lineno|
140
+ if lineno == 0
141
+ report << " - #{line}"
142
+ else
143
+ report << " #{line}" unless line.strip == ''
144
+ end
145
+ end
146
+ report << "\n"
147
+ end # Git.open
148
+
149
+ file = File.expand_path('../CHANGELOG.md', __FILE__)
150
+ File.write(file, report)
151
+ puts "The changelog has been written."
152
+ end
153
+
154
+
155
+ ###############################################################################
156
+ # :pre_release
157
+ # Prepares the project for release.
158
+ ###############################################################################
159
+ desc "Prepares the project for release"
160
+ task :pre_release do
161
+
162
+ if `git status -s`.length > 0
163
+ puts "Cannot continue because you have uncommitted changes."
164
+ exit 1
165
+ end
166
+
167
+ Rake::Task[:version_finalize].execute
168
+ Rake::Task[:partials].execute
169
+ Rake::Task[:log].execute
170
+ sh "git add -A"
171
+ sh "git commit --amend --no-edit"
172
+ end
173
+
174
+ private
175
+
176
+
177
+ ###############################################################################
178
+ # update_version_file
179
+ # Replace the version in the `version.rb` file.
180
+ ###############################################################################
181
+ def update_version_file( version_new )
182
+ file = File.expand_path('../lib/middleman-targets/version.rb', __FILE__)
183
+ content = File.read(file)
184
+ content.sub!(/(?<=VERSION = ')(.*)(?=')/, version_new)
185
+ File.write(file, content)
186
+ puts "version.rb changed to #{version_new}."
187
+ end
188
+
189
+ ###############################################################################
190
+ # update_doc_file
191
+ # Replace the version in the `documentation_project/config.rb` file.
192
+ ###############################################################################
193
+ def update_doc_file( version_new )
194
+ file = File.expand_path('../documentation_project/config.rb', __FILE__)
195
+ content = File.read(file)
196
+ content.sub!(/(?<=def product_version).*?(?=end)/m, "\n '#{version_new}'\n")
197
+ File.write(file, content)
198
+ puts "config.rb changed to #{version_new}."
199
+ end
@@ -103,8 +103,8 @@ helpers do
103
103
  end
104
104
 
105
105
  def product_version
106
- '1.0.5'
107
- end
106
+ '1.0.6'
107
+ end
108
108
 
109
109
  def product_uri
110
110
  'https://github.com/middlemac'
@@ -0,0 +1,57 @@
1
+ ---
2
+ title: Build and Serve Different Targets
3
+ layout: template-logo-medium
4
+ ---
5
+
6
+ # <%= current_page.data.title %>
7
+
8
+ Learn how to build and serve different targets using `middleman-targets`, which
9
+ introduces a new CLI options to **Middleman** – `--target` – and a new
10
+ command – `build_all`.
11
+
12
+ ## Build
13
+
14
+ The new `--target` option specifies the target to build. For example,
15
+
16
+ ~~~ bash
17
+ bundle exec middleman build --target pro
18
+ ~~~
19
+
20
+ …will build your `pro` target.
21
+
22
+ When using **Middleman** without the `--target` option, the default target
23
+ specified in your configuration will be be used.
24
+
25
+ ## Build All
26
+
27
+ Instead of building each of your targets one-by-one, you can use the
28
+ `build_all` CLI command to build all targets at once:
29
+
30
+ ~~~ bash
31
+ bundle exec middleman build_all
32
+ ~~~
33
+
34
+ Alternatively you can simply use the alias `all` instead of `build_all`.
35
+
36
+ ## Serve
37
+
38
+ Just as in building, use the `--target` CLI option:
39
+
40
+ ~~~ bash
41
+ bundle exec middleman serve --target pro
42
+ ~~~
43
+
44
+ And as in building, the default target will be served if the `--target` option
45
+ is not specified.
46
+
47
+
48
+ <% content_for :seeAlso do %>
49
+ <ul>
50
+ <li><a href="index.html">Welcome to middleman-targets</a></li>
51
+ <li><a href="simple-demo.html">Simple features demonstration</a></li>
52
+ <li><a href="target-feature-config.html">Configuration</a></li>
53
+ <li><a href="helpers-resources.html">Helpers and Resources</a></li>
54
+ <li><a href="frontmatter.html">Front Matter</a></li>
55
+ <li><a href="cli.html">Command Line Interface</a></li>
56
+ </ul>
57
+ <% end %>
@@ -9,10 +9,22 @@ layout: template-logo-medium
9
9
  working with multiple targets easier. Most of them are demonstrated at [Simple
10
10
  features demonstration](simple-demo.html).
11
11
 
12
- <%= partial 'partials/helpers_extended' %>
12
+ ## Extended Helpers
13
13
 
14
- <%= partial 'partials/helpers' %>
14
+ `middleman-targets` extends built-in **Middleman** helpers with optional, new
15
+ functionality.
15
16
 
17
+ <%= partial 'partials/yard_helpers_extended' %>
18
+
19
+ * * *
20
+
21
+ ## Helpers
22
+
23
+ These helpers make it simple to target exactly what you intend to.
24
+
25
+ <%= partial 'partials/yard_helpers' %>
26
+
27
+ * * *
16
28
 
17
29
  ## Resources
18
30
 
@@ -21,7 +33,7 @@ also available for your own helpers, and `middleman-targets` provides a couple
21
33
  of resource map additions than can prove useful when developing your own
22
34
  helpers.
23
35
 
24
- <%= partial 'partials/resources' %>
36
+ <%= partial 'partials/yard_resources' %>
25
37
 
26
38
  * * *
27
39
 
@@ -18,6 +18,12 @@
18
18
  </h3><div class="docstring">
19
19
  <div class="discussion">
20
20
 
21
+ <div class="note notetag">
22
+ <strong>Note:</strong>
23
+ <div class='inline'><p>This is a Middleman application level config option.</p>
24
+ </div>
25
+ </div>
26
+
21
27
  <p>Indicates where <strong>Middleman</strong> will put build output. This standard config
22
28
  value will be treated as a <em>prefix</em>; for example if the current target is
23
29
  <code>:pro</code> and this value is set to its default <code>build</code>, then the actual build
@@ -86,6 +92,12 @@ used for build output.</p>
86
92
  </h3><div class="docstring">
87
93
  <div class="discussion">
88
94
 
95
+ <div class="note notetag">
96
+ <strong>Note:</strong>
97
+ <div class='inline'><p>This is a Middleman application level config option.</p>
98
+ </div>
99
+ </div>
100
+
89
101
  <p>Indicates the current target that is being built or served. When
90
102
  set in <code>config.rb</code> it indicates the default target if one is not
91
103
  specified on the command line.</p>
@@ -150,6 +162,12 @@ be used as the default.</p>
150
162
  </h3><div class="docstring">
151
163
  <div class="discussion">
152
164
 
165
+ <div class="note notetag">
166
+ <strong>Note:</strong>
167
+ <div class='inline'><p>This is a Middleman application level config option.</p>
168
+ </div>
169
+ </div>
170
+
153
171
  <p>This option is used to enable or disable the target magic images feature.
154
172
  If it’s <code>true</code> then the <code>image_tag</code> helper will attempt to substitute
155
173
  target-specific images instead of the specified image, if the specified
@@ -215,6 +233,12 @@ image substitution should be enabled.</p>
215
233
  </h3><div class="docstring">
216
234
  <div class="discussion">
217
235
 
236
+ <div class="note notetag">
237
+ <strong>Note:</strong>
238
+ <div class='inline'><p>This is a Middleman application level config option.</p>
239
+ </div>
240
+ </div>
241
+
218
242
  <p>Indicates the magic image prefix for image substitution with the
219
243
  <code>image_tag</code> helper when <code>:target_magic_images</code> is enabled. For example
220
244
  if you specify <code>all-image.png</code> and <code>pro-image.png</code> exists, then the
@@ -280,6 +304,12 @@ the should be substituted, such as <code>all</code>.</p>
280
304
  </h3><div class="docstring">
281
305
  <div class="discussion">
282
306
 
307
+ <div class="note notetag">
308
+ <strong>Note:</strong>
309
+ <div class='inline'><p>This is a Middleman application level config option.</p>
310
+ </div>
311
+ </div>
312
+
283
313
  <p>A hash that defines all of the characteristics of your individual targets.
284
314
  The <code>build_dir</code> and <code>features</code> keys in a target have special meanings;
285
315
  other keys can be added arbitrarily and helpers can fetch these for you.
@@ -6,7 +6,6 @@
6
6
  <div class="method_details_list">
7
7
 
8
8
 
9
- <h2>Helpers</h2>
10
9
 
11
10
  <div class="method_details first">
12
11
  <h3 class="signature first" id="target_feature?-instance_method">
@@ -6,7 +6,6 @@
6
6
  <div class="method_details_list">
7
7
 
8
8
 
9
- <h2>Extended Helpers</h2>
10
9
 
11
10
  <div class="method_details first">
12
11
  <h3 class="signature first" id="image_tag-instance_method">
@@ -0,0 +1,81 @@
1
+
2
+
3
+
4
+
5
+
6
+ <div class="method_details_list">
7
+
8
+
9
+
10
+ <div class="method_details first">
11
+ <h3 class="signature first" id="target_specific_proposal-instance_method">
12
+
13
+ - (<tt>String</tt>) <strong>target_specific_proposal</strong>(path)
14
+
15
+
16
+
17
+
18
+
19
+ </h3><div class="docstring">
20
+ <div class="discussion">
21
+ <p>Returns a target-specific proposed file when given
22
+ a user-specified file, and will return the same file
23
+ if not enabled or doesn’t begin with the magic word.</p>
24
+
25
+ <p>This method allow other implementations of <code>image-tag</code>
26
+ to honor this implementation’s use of automatic
27
+ image substitutions.</p>
28
+
29
+
30
+ </div>
31
+ </div>
32
+ <div class="tags">
33
+ <p class="tag_title">Parameters:</p>
34
+ <ul class="param">
35
+
36
+ <li>
37
+
38
+ <span class='name'>path</span>
39
+
40
+
41
+ <span class='type'>(<tt>String</tt>)</span>
42
+
43
+
44
+
45
+ &mdash;
46
+ <div class='inline'><p>Specify the path to the image
47
+ for which you want to provide a substitution. This
48
+ image doesn’t have to exist in fact if suitable
49
+ images exist for the current target.</p>
50
+ </div>
51
+
52
+ </li>
53
+
54
+ </ul>
55
+
56
+ <p class="tag_title">Returns:</p>
57
+ <ul class="return">
58
+
59
+ <li>
60
+
61
+
62
+ <span class='type'>(<tt>String</tt>)</span>
63
+
64
+
65
+
66
+ &mdash;
67
+ <div class='inline'><p>Returns the substitute image if one
68
+ was found, otherwise it returns the original path.</p>
69
+ </div>
70
+
71
+ </li>
72
+
73
+ </ul>
74
+
75
+ </div>
76
+ </div>
77
+
78
+
79
+ </div>
80
+
81
+
@@ -6,7 +6,6 @@
6
6
  <div class="method_details_list">
7
7
 
8
8
 
9
- <h2>Resource Extensions</h2>
10
9
 
11
10
  <div class="method_details first">
12
11
  <h3 class="signature first" id="resource.targeted?-instance_method">
@@ -35,7 +35,7 @@ activate them _before_ activating `middleman-targets`.
35
35
 
36
36
  ## The Configuration Options
37
37
 
38
- <%= partial 'partials/config' %>
38
+ <%= partial 'partials/yard_config' %>
39
39
 
40
40
  * * *
41
41
 
@@ -3,7 +3,7 @@ ENV['TEST'] = 'true'
3
3
 
4
4
  require 'middleman'
5
5
  require 'middleman-core/step_definitions'
6
- require File.join(PROJECT_ROOT_PATH, 'lib', ENV['GEM_NAME'] || 'middleman-targets')
6
+ require File.join(PROJECT_ROOT_PATH, 'lib', 'middleman-targets')
7
7
 
8
8
 
9
9
  require 'cucumber/formatter/pretty'
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module MiddlemanTargets
3
- VERSION = '1.0.5'
3
+ VERSION = '1.0.6'
4
4
  end
5
5
  end
@@ -2,7 +2,7 @@
2
2
  $:.push File.expand_path('../lib', __FILE__)
3
3
  require 'middleman-targets/version'
4
4
 
5
- mm_needed = ['~> 4.1', '>= 4.1.6']
5
+ mm_needed = ['~> 4.1', '>= 4.1.7']
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = 'middleman-targets'
@@ -30,4 +30,5 @@ Gem::Specification.new do |s|
30
30
  s.add_development_dependency 'middleman', mm_needed
31
31
  s.add_development_dependency 'bundler', '>= 1.6'
32
32
  s.add_development_dependency 'rake', '>= 10.3'
33
+ s.add_development_dependency 'git'
33
34
  end
@@ -0,0 +1,9 @@
1
+ <% scopes(attr_listing) do |list, scope| %>
2
+ <div id="<%= scope %>_attr_details" class="attr_details">
3
+ <% list.each_with_index do |meth, i| %>
4
+ <% rw = meth.attr_info %>
5
+ <span id="<%= anchor_for(rw[meth.reader? ? :write : :read]) %>"></span>
6
+ <%= yieldall :object => meth, :owner => object, :index => i %>
7
+ <% end %>
8
+ </div>
9
+ <% end %>
@@ -2,7 +2,6 @@
2
2
  <div class="method_details_list">
3
3
  <% groups = list.group_by { |g| g.group.nil? ? 'ZZZ' : g.group }.sort.to_h %>
4
4
  <% groups.each_value do |group| %>
5
- <h2><%= group[0].group || "#{scope.to_s.capitalize} Method Details" %></h2>
6
5
  <% group.each_with_index do |meth, i| %>
7
6
  <%= yieldall :object => meth, :owner => object, :index => i %>
8
7
  <% end %>
@@ -8,7 +8,6 @@
8
8
  ##########################################################################
9
9
  YARD::Templates::Engine.register_template_path File.join(File.dirname(__FILE__), 'template-grouped')
10
10
 
11
-
12
11
  ##########################################################################
13
12
  # Force Yard to parse the helpers block in a Middleman extension.
14
13
  #
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.5
4
+ version: 1.0.6
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-04 00:00:00.000000000 Z
11
+ date: 2016-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: middleman-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '4.1'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 4.1.6
22
+ version: 4.1.7
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '4.1'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 4.1.6
32
+ version: 4.1.7
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: middleman-cli
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '4.1'
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: 4.1.6
42
+ version: 4.1.7
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: '4.1'
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 4.1.6
52
+ version: 4.1.7
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: middleman
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,7 @@ dependencies:
59
59
  version: '4.1'
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: 4.1.6
62
+ version: 4.1.7
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
@@ -69,7 +69,7 @@ dependencies:
69
69
  version: '4.1'
70
70
  - - ">="
71
71
  - !ruby/object:Gem::Version
72
- version: 4.1.6
72
+ version: 4.1.7
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: bundler
75
75
  requirement: !ruby/object:Gem::Requirement
@@ -98,6 +98,20 @@ dependencies:
98
98
  - - ">="
99
99
  - !ruby/object:Gem::Version
100
100
  version: '10.3'
101
+ - !ruby/object:Gem::Dependency
102
+ name: git
103
+ requirement: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - ">="
106
+ - !ruby/object:Gem::Version
107
+ version: '0'
108
+ type: :development
109
+ prerelease: false
110
+ version_requirements: !ruby/object:Gem::Requirement
111
+ requirements:
112
+ - - ">="
113
+ - !ruby/object:Gem::Version
114
+ version: '0'
101
115
  description: Provides multiple build targets and tools for Middleman.
102
116
  email:
103
117
  - balthisar@gmail.com
@@ -118,6 +132,7 @@ files:
118
132
  - documentation_project/Gemfile
119
133
  - documentation_project/README.md
120
134
  - documentation_project/config.rb
135
+ - documentation_project/source/build-serve-targets.html.md.erb
121
136
  - documentation_project/source/cli.html.md.erb
122
137
  - documentation_project/source/frontmatter.html.md.erb
123
138
  - documentation_project/source/helpers-resources.html.md.erb
@@ -138,10 +153,11 @@ files:
138
153
  - documentation_project/source/license.html.md.erb
139
154
  - documentation_project/source/only-free.html.md.erb
140
155
  - documentation_project/source/only-pro.html.md.erb
141
- - documentation_project/source/partials/config.erb
142
- - documentation_project/source/partials/helpers.erb
143
- - documentation_project/source/partials/helpers_extended.erb
144
- - documentation_project/source/partials/resources.erb
156
+ - documentation_project/source/partials/_yard_config.erb
157
+ - documentation_project/source/partials/_yard_helpers.erb
158
+ - documentation_project/source/partials/_yard_helpers_extended.erb
159
+ - documentation_project/source/partials/_yard_instance.erb
160
+ - documentation_project/source/partials/_yard_resources.erb
145
161
  - documentation_project/source/simple-demo.html.md.erb
146
162
  - documentation_project/source/stylesheets/_github.scss
147
163
  - documentation_project/source/stylesheets/_middlemac_minimal.scss
@@ -171,6 +187,7 @@ files:
171
187
  - yard/readme.md
172
188
  - yard/template-grouped/default/module/html/method_details_list.erb
173
189
  - yard/template-partials/default/method_details/setup.rb
190
+ - yard/template-partials/default/module/html/attribute_details.erb
174
191
  - yard/template-partials/default/module/html/method_details_list.erb
175
192
  - yard/template-partials/default/module/setup.rb
176
193
  - yard/template-partials/default/onefile/html/layout.erb
@@ -196,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
196
213
  version: '0'
197
214
  requirements: []
198
215
  rubyforge_project:
199
- rubygems_version: 2.4.6
216
+ rubygems_version: 2.4.8
200
217
  signing_key:
201
218
  specification_version: 4
202
219
  summary: Provides multiple build targets and tools for Middleman.