middleman-targets 1.0.0 → 1.0.1

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: 5b0207312e941b65b1ee3842b775d77c868fccdc
4
- data.tar.gz: 17aa00a667fcece866f54b5080ae53e9e8269b58
3
+ metadata.gz: 8f71bf32060d58c412a4ae141d2c886515ec0e3f
4
+ data.tar.gz: aeaac5e30feef6d8cbaf5d66aad57717abc723c7
5
5
  SHA512:
6
- metadata.gz: 3eff02a74fc75761e2820e4aaad2c61a6edb7e78be4cff60f7081f0cce0e72ee89e951cbe72afedddbc7dc11875c514de9106505f9197bc16a2f2d5bd851f0b1
7
- data.tar.gz: cd7d551e89f13468ac9e6b7f9dd6b84912cb3248e24f5e87b6b905807682a807aebf588e80dfba5c255f1ccf64645912fc19364e6fd6188a3ea10d85302f4a22
6
+ metadata.gz: 0cb81825deaee249be59153b7f414fa8db842b105d42481aa5f29dda4bb3d96a8b1ca39ace5595a2ee341c0d161d96dde73738b57d45f0158b380301eb9cd3b7
7
+ data.tar.gz: 38c52c247fc4891a93d02f0e2224000f2173983620b20123001f5ef399aa0547ca5afda8326a85be819c84224de570f72dc376c747d7bc70bc54dd7ccac8c230
data/CHANGELOG.md CHANGED
@@ -1,6 +1,12 @@
1
- middlemac-targets change log
1
+ middleman-targets change log
2
2
  ============================
3
3
 
4
- - Version 1.0.0 / 2016-March
4
+ - Version 1.0.1 / 2016-March-30
5
+
6
+ - Fixed a git issue that led to installed Gem not working at all.
7
+ - Added a license to the sample project.
8
+ - Fixed incorrect version in the sample project.
9
+
10
+ - Version 1.0.0 / 2016-March-29
5
11
 
6
12
  - Initial Release
data/Gemfile CHANGED
@@ -2,7 +2,7 @@
2
2
  # the following line to use "http://" instead
3
3
  source 'https://rubygems.org'
4
4
 
5
- # Specify your gem's dependencies in middlemac.gemspec
5
+ # Specify your gem's dependencies in middleman-targets.gemspec
6
6
  gemspec
7
7
 
8
8
  group :development do
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  middleman-targets readme
2
2
  ========================
3
+ [![Gem Version](https://badge.fury.io/rb/middleman-targets.svg)](https://badge.fury.io/rb/middleman-targets)
3
4
 
4
5
  `middleman-targets`
5
6
 
@@ -9,7 +9,7 @@ require 'thor'
9
9
  require 'fileutils'
10
10
  require 'middleman-targets/version'
11
11
 
12
- module MiddlemacTargetsCli
12
+ module MiddlemanTargetsCli
13
13
 
14
14
  class Cli < Thor
15
15
 
@@ -70,11 +70,11 @@ bundle exec middleman server
70
70
 
71
71
  end # class Cli
72
72
 
73
- end # module MiddlemacTargetsCli
73
+ end # module MiddlemanTargetsCli
74
74
 
75
75
 
76
76
  ###########################################################
77
77
  # Main
78
78
  ###########################################################
79
79
 
80
- MiddlemacTargetsCli::Cli.start(ARGV)
80
+ MiddlemanTargetsCli::Cli.start(ARGV)
@@ -104,7 +104,7 @@ helpers do
104
104
  end
105
105
 
106
106
  def product_version
107
- '2.0.0-beta1'
107
+ '1.0.1'
108
108
  end
109
109
 
110
110
  def product_uri
@@ -39,7 +39,7 @@ though, and all of the technical documentation is the same.
39
39
  - [Configuration](target-feature-config.html)
40
40
  - [Helpers and Resources](helpers-resources.html)
41
41
  - [Front Matter](frontmatter.html)
42
-
42
+ - [The MIT License](license.html)
43
43
 
44
44
  </div>
45
45
 
@@ -0,0 +1,27 @@
1
+ ---
2
+ title: The MIT License
3
+ layout: template-logo-medium
4
+ ---
5
+
6
+ The MIT License
7
+ ===============
8
+
9
+ **Copyright (c) 2016 Jim Derry**
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ of this software and associated documentation files (the "Software"), to deal
13
+ in the Software without restriction, including without limitation the rights
14
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ copies of the Software, and to permit persons to whom the Software is
16
+ furnished to do so, subject to the following conditions:
17
+
18
+ The above copyright notice and this permission notice shall be included in
19
+ all copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
27
+ THE SOFTWARE.
@@ -0,0 +1,50 @@
1
+ ################################################################################
2
+ # build_all.rb
3
+ # Provides the class necessary for the build_all (all) command.
4
+ ################################################################################
5
+
6
+ require 'middleman-cli'
7
+
8
+ module Middleman::Cli
9
+
10
+ ###################################################################
11
+ # class Middleman::Cli::BuildAll
12
+ # Build all targets.
13
+ ###################################################################
14
+ class BuildAll < Thor::Group
15
+ include Thor::Actions
16
+ check_unknown_options!
17
+
18
+ ############################################################
19
+ # build_all
20
+ ############################################################
21
+ def build_all
22
+
23
+ # The first thing we want to do is create a temporary application
24
+ # instance so that we can determine the valid targets.
25
+ app = ::Middleman::Application.new do
26
+ config[:exit_before_ready] = true
27
+ end
28
+
29
+ build_list = app.config[:targets].each_key.collect { |item| item.to_s }
30
+ bad_builds = []
31
+
32
+ build_list.each do |target|
33
+ bad_builds << target unless Build.start(['--target', target])
34
+ end
35
+ unless bad_builds.count == 0
36
+ say
37
+ say 'These targets produced errors during build:', :red
38
+ bad_builds.each { |item| say " #{item}", :red}
39
+ end
40
+ bad_builds.count == 0
41
+
42
+ end
43
+
44
+ Base.register(self, 'build_all', 'build-all', 'Builds all targets')
45
+ Base.map('all' => 'build_all')
46
+
47
+ end # class BuildAll
48
+
49
+ end # Module Middleman::Cli
50
+
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module MiddlemanTargets
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
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.0
4
+ version: 1.0.1
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-03-29 00:00:00.000000000 Z
11
+ date: 2016-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: middleman-core
@@ -85,6 +85,7 @@ files:
85
85
  - documentation_project/source/layouts/template-logo-large.haml
86
86
  - documentation_project/source/layouts/template-logo-medium.haml
87
87
  - documentation_project/source/layouts/template-logo-small.haml
88
+ - documentation_project/source/license.html.md.erb
88
89
  - documentation_project/source/only-free.html.md.erb
89
90
  - documentation_project/source/only-pro.html.md.erb
90
91
  - documentation_project/source/simple-demo.html.md.erb
@@ -96,6 +97,7 @@ files:
96
97
  - lib/middleman-targets.rb
97
98
  - lib/middleman-targets/commands.rb
98
99
  - lib/middleman-targets/extension.rb
100
+ - lib/middleman-targets/middleman-cli/build_all.rb
99
101
  - lib/middleman-targets/version.rb
100
102
  - middleman-targets.gemspec
101
103
  homepage: https://github.com/middlemac/middleman-targets