middleman-clementine 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -0
- data/Gemfile +21 -0
- data/LICENSE +20 -0
- data/README.md +30 -0
- data/Rakefile +4 -0
- data/lib/middleman-clementine.rb +7 -0
- data/lib/middleman-clementine/extension.rb +26 -0
- data/lib/middleman-clementine/version.rb +5 -0
- data/lib/middleman_extension.rb +1 -0
- data/middleman-clementine.gemspec +23 -0
- metadata +87 -0
data/Gemfile
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
source :rubygems
|
2
|
+
|
3
|
+
git "git://github.com/middleman/middleman.git", :branch => "3.0-stable" do
|
4
|
+
gem "middleman"
|
5
|
+
gem "middleman-core"
|
6
|
+
gem "middleman-more"
|
7
|
+
end
|
8
|
+
|
9
|
+
# Specify your gem's dependencies in middleman-blog.gemspec
|
10
|
+
gemspec
|
11
|
+
|
12
|
+
group :development do
|
13
|
+
gem "rake", "~> 0.9.2"
|
14
|
+
gem "rdoc", "~> 3.9"
|
15
|
+
gem "yard", "~> 0.8.0"
|
16
|
+
end
|
17
|
+
|
18
|
+
group :test do
|
19
|
+
# For actual tests
|
20
|
+
gem "clementine"
|
21
|
+
end
|
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2012 Pierre-Yves Ritschard
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# middleman-clementine
|
2
|
+
|
3
|
+
# Install
|
4
|
+
|
5
|
+
```
|
6
|
+
gem install middleman-clementine
|
7
|
+
```
|
8
|
+
|
9
|
+
If you already have a Middleman project:
|
10
|
+
Add `middleman-clementine` to your `Gemfile`, and open your `config.rb` and add:
|
11
|
+
|
12
|
+
```
|
13
|
+
activate :clementne
|
14
|
+
```
|
15
|
+
# Bug Reports
|
16
|
+
|
17
|
+
GitHub Issues are used for managing bug reports and feature requests. If you run into issues, please search the issues and submit new problems:
|
18
|
+
|
19
|
+
https://github.com/pyr/middleman-clementine/issues
|
20
|
+
|
21
|
+
# Build & Dependency Status
|
22
|
+
|
23
|
+
[![Build Status](http://travis-ci.org/middleman/middleman-sprockets.png)](http://travis-ci.org/middleman/middleman-sprockets)
|
24
|
+
|
25
|
+
|
26
|
+
# License
|
27
|
+
|
28
|
+
Copyright (c) 2012 Pierre-Yves Ritschard. MIT Licensed, see [LICENSE] for details.
|
29
|
+
|
30
|
+
[LICENSE]: https://github.com/pyr/middleman-clementine/blob/master/LICENSE
|
data/Rakefile
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
require "clementine"
|
2
|
+
require "tilt"
|
3
|
+
|
4
|
+
# Clementine extension
|
5
|
+
module Middleman::Clementine
|
6
|
+
|
7
|
+
# Setup extension
|
8
|
+
class << self
|
9
|
+
|
10
|
+
# Once registered
|
11
|
+
def registered(app)
|
12
|
+
# Location of javascripts external to source directory.
|
13
|
+
# @return [Array]
|
14
|
+
# set :js_assets_paths, ["#{root}/assets/javascripts/", "/path/2/external/js/repository/"]
|
15
|
+
|
16
|
+
# Once Middleman is setup
|
17
|
+
app.after_configuration do
|
18
|
+
::Sprockets.register_engine 'clj', ::Clementine::ClojureScriptTemplate
|
19
|
+
::Sprockets.register_engine 'cljs', ::Clementine::ClojureScriptTemplate
|
20
|
+
::Tilt.register 'clj', ::Clementine::ClojureScriptTemplate
|
21
|
+
::Tilt.register 'cljs', ::Clementine::ClojureScriptTemplate
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
require "middleman-clementine"
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "middleman-clementine/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "middleman-clementine"
|
7
|
+
s.version = Middleman::Clementine::VERSION
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = ["Pierre-Yves Ritschard"]
|
10
|
+
s.email = ["pyr@spootnik.org"]
|
11
|
+
s.homepage = "https://github.com/pyr/middleman-clementine"
|
12
|
+
s.summary = %q{Clementine support for Middleman}
|
13
|
+
s.description = %q{Clementine support for Middleman}
|
14
|
+
|
15
|
+
s.rubyforge_project = "middleman-clementine"
|
16
|
+
|
17
|
+
s.files = `git ls-files -z`.split("\0")
|
18
|
+
s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0")
|
19
|
+
s.require_paths = ["lib"]
|
20
|
+
|
21
|
+
s.add_dependency("middleman-more", [">= 3.0.1"])
|
22
|
+
s.add_dependency("clementine", [">= 0.0.3"])
|
23
|
+
end
|
metadata
ADDED
@@ -0,0 +1,87 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: middleman-clementine
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.3
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Pierre-Yves Ritschard
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-10-30 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: middleman-more
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.0.1
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.0.1
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: clementine
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 0.0.3
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.0.3
|
46
|
+
description: Clementine support for Middleman
|
47
|
+
email:
|
48
|
+
- pyr@spootnik.org
|
49
|
+
executables: []
|
50
|
+
extensions: []
|
51
|
+
extra_rdoc_files: []
|
52
|
+
files:
|
53
|
+
- .gitignore
|
54
|
+
- Gemfile
|
55
|
+
- LICENSE
|
56
|
+
- README.md
|
57
|
+
- Rakefile
|
58
|
+
- lib/middleman-clementine.rb
|
59
|
+
- lib/middleman-clementine/extension.rb
|
60
|
+
- lib/middleman-clementine/version.rb
|
61
|
+
- lib/middleman_extension.rb
|
62
|
+
- middleman-clementine.gemspec
|
63
|
+
homepage: https://github.com/pyr/middleman-clementine
|
64
|
+
licenses: []
|
65
|
+
post_install_message:
|
66
|
+
rdoc_options: []
|
67
|
+
require_paths:
|
68
|
+
- lib
|
69
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
70
|
+
none: false
|
71
|
+
requirements:
|
72
|
+
- - ! '>='
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
77
|
+
requirements:
|
78
|
+
- - ! '>='
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
81
|
+
requirements: []
|
82
|
+
rubyforge_project: middleman-clementine
|
83
|
+
rubygems_version: 1.8.24
|
84
|
+
signing_key:
|
85
|
+
specification_version: 3
|
86
|
+
summary: Clementine support for Middleman
|
87
|
+
test_files: []
|