middleman-sprockets 3.1.1 → 3.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.travis.yml +5 -5
- data/CHANGELOG.md +8 -1
- data/CONTRIBUTING.md +43 -0
- data/Gemfile +19 -16
- data/Gemfile-3.0 +30 -0
- data/{LICENSE → LICENSE.md} +2 -2
- data/README.md +32 -22
- data/Rakefile +15 -2
- data/features/asset_hash.feature +2 -2
- data/lib/middleman-sprockets/extension.rb +12 -4
- data/lib/middleman-sprockets/version.rb +1 -1
- data/middleman-sprockets.gemspec +12 -17
- metadata +29 -45
- data/Gemfile-3.1 +0 -31
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ce87e3c8ce972d2686e3d079b248b0f94b5ca08b
|
4
|
+
data.tar.gz: 1a34db0b97ba8eb0fe3cfb006b46a35896966909
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1d2d1d467f1d9224e45f2db6ef1cd5f33fc43f73e40b4bad12802fc9c63404411914b269d97c41fc62f9df06dab2d694bae432eded2526c6c8094b260d441dfc
|
7
|
+
data.tar.gz: f83d037bec956e563de8cb9012e0cb14a450fee01d74a5039aad803a62e6d359b5800bccceeff861adcdd4f7a5efeb94b6bc9e9de5aae72527059c8dfa02b1f5
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,14 @@
|
|
1
1
|
master
|
2
2
|
===
|
3
3
|
|
4
|
-
|
4
|
+
|
5
|
+
3.1.2
|
6
|
+
===
|
7
|
+
* Fix debug_assets for CSS
|
8
|
+
|
9
|
+
3.1.1
|
10
|
+
===
|
11
|
+
|
5
12
|
* Add sprockets-helpers to the list of dependencies to fix various path-related bugs. #34
|
6
13
|
* Patch generated_image_url so that Compass sprites work. middleman/middleman#890.
|
7
14
|
* Output .jst, .eco, and .ejs files with a .js extension. middleman/middleman#888.
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# Contributing
|
2
|
+
In the spirit of [free software][free-sw], **everyone** is encouraged to help
|
3
|
+
improve this project.
|
4
|
+
|
5
|
+
[free-sw]: http://www.fsf.org/licensing/essays/free-sw.html
|
6
|
+
|
7
|
+
Here are some ways *you* can contribute:
|
8
|
+
|
9
|
+
* by using alpha, beta, and prerelease versions
|
10
|
+
* by reporting bugs
|
11
|
+
* by suggesting new features
|
12
|
+
* by writing or editing documentation
|
13
|
+
* by writing specifications
|
14
|
+
* by writing code ( **no patch is too small** : fix typos, add comments, clean up inconsistent whitespace )
|
15
|
+
* by refactoring code
|
16
|
+
* by closing [issues][]
|
17
|
+
* by reviewing patches
|
18
|
+
|
19
|
+
[issues]: https://github.com/middleman/middleman-sprockets/issues
|
20
|
+
|
21
|
+
## Submitting an Issue
|
22
|
+
We use the [GitHub issue tracker][issues] to track bugs and features. Before
|
23
|
+
submitting a bug report or feature request, check to make sure it hasn't
|
24
|
+
already been submitted. When submitting a bug report, please include a [Gist][]
|
25
|
+
that includes a stack trace and any details that may be necessary to reproduce
|
26
|
+
the bug, including your gem version, Ruby version, and operating system.
|
27
|
+
Ideally, a bug report should include a pull request with failing specs.
|
28
|
+
|
29
|
+
[gist]: https://gist.github.com/
|
30
|
+
|
31
|
+
## Submitting a Pull Request
|
32
|
+
1. [Fork the repository.][fork]
|
33
|
+
2. [Create a topic branch.][branch]
|
34
|
+
3. Add specs for your unimplemented feature or bug fix.
|
35
|
+
4. Run `bundle exec rake test`. If your specs pass, return to step 3.
|
36
|
+
5. Implement your feature or bug fix.
|
37
|
+
6. Run `bundle exec rake test`. If your specs fail, return to step 5.
|
38
|
+
7. Add, commit, and push your changes.
|
39
|
+
8. [Submit a pull request.][pr]
|
40
|
+
|
41
|
+
[fork]: http://help.github.com/fork-a-repo/
|
42
|
+
[branch]: http://learn.github.com/p/branching.html
|
43
|
+
[pr]: http://help.github.com/send-pull-requests/
|
data/Gemfile
CHANGED
@@ -1,31 +1,34 @@
|
|
1
|
-
source
|
1
|
+
source "https://rubygems.org"
|
2
|
+
|
3
|
+
gem "middleman-core", :github => "middleman/middleman"
|
4
|
+
gem "middleman-more", :github => "middleman/middleman"
|
2
5
|
|
3
6
|
# Specify your gem's dependencies in middleman-sprockets.gemspec
|
4
7
|
gemspec
|
5
8
|
|
6
|
-
gem "
|
7
|
-
gem "
|
8
|
-
|
9
|
-
# Build and doc tools
|
10
|
-
gem "rake", "~> 10.0.3"
|
11
|
-
gem "yard", "~> 0.8.0"
|
9
|
+
gem "rake", "~> 10.0.3", :require => false
|
10
|
+
gem "yard", "~> 0.8.0", :require => false
|
12
11
|
|
13
12
|
# Test tools
|
14
|
-
gem "cucumber"
|
13
|
+
gem "cucumber", "~> 1.3.1"
|
15
14
|
gem "fivemat"
|
16
|
-
gem "aruba"
|
17
|
-
gem "
|
18
|
-
gem "
|
15
|
+
gem "aruba", "~> 0.5.1"
|
16
|
+
gem "rspec", "~> 2.12"
|
17
|
+
gem "builder", "~> 3.0.0"
|
19
18
|
|
20
19
|
# For actual tests
|
21
20
|
# Make sure to lock down the versions of the asset gems
|
22
21
|
# so they don't cause asset hashes to change.
|
23
|
-
gem "jquery-rails",
|
24
|
-
gem "bootstrap-sass",
|
22
|
+
gem "jquery-rails", "2.2.1", :require => false
|
23
|
+
gem "bootstrap-sass", "2.3.1.0", :require => false
|
25
24
|
|
26
|
-
gem
|
27
|
-
gem
|
25
|
+
gem "jquery_mobile_rails", "1.3.0", :require => false
|
26
|
+
gem "sprockets", "~> 2.2.1", :require => false
|
27
|
+
gem 'rack', '1.4.5', :require => false
|
28
28
|
|
29
29
|
gem "ejs", "~> 1.1.1"
|
30
30
|
gem "eco", "~> 1.0.0"
|
31
|
-
gem "erubis", "~> 2.7.0"
|
31
|
+
gem "erubis", "~> 2.7.0"
|
32
|
+
|
33
|
+
# Code Quality
|
34
|
+
gem "cane", :platforms => [:mri_19, :mri_20], :require => false
|
data/Gemfile-3.0
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
source "https://rubygems.org"
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in middleman-sprockets.gemspec
|
4
|
+
gemspec
|
5
|
+
|
6
|
+
gem "rake", "~> 10.0.3", :require => false
|
7
|
+
gem "yard", "~> 0.8.0", :require => false
|
8
|
+
|
9
|
+
# Test tools
|
10
|
+
gem "cucumber", "~> 1.3.1"
|
11
|
+
gem "fivemat"
|
12
|
+
gem "aruba", "~> 0.5.1"
|
13
|
+
gem "rspec", "~> 2.12"
|
14
|
+
gem "builder", "~> 3.0.0"
|
15
|
+
|
16
|
+
# For actual tests
|
17
|
+
# Make sure to lock down the versions of the asset gems
|
18
|
+
# so they don't cause asset hashes to change.
|
19
|
+
gem "jquery-rails", "2.2.1", :require => false
|
20
|
+
gem "bootstrap-sass", "2.3.1.0", :require => false
|
21
|
+
|
22
|
+
gem "jquery_mobile_rails", "1.3.0", :require => false
|
23
|
+
gem "sprockets", "~> 2.2.1", :require => false
|
24
|
+
|
25
|
+
gem "ejs", "~> 1.1.1"
|
26
|
+
gem "eco", "~> 1.0.0"
|
27
|
+
gem "erubis", "~> 2.7.0"
|
28
|
+
|
29
|
+
# Code Quality
|
30
|
+
gem "cane", :platforms => [:mri_19, :mri_20], :require => false
|
data/{LICENSE → LICENSE.md}
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (c) 2012 Thomas Reynolds
|
1
|
+
Copyright (c) 2012-2013 Thomas Reynolds
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining
|
4
4
|
a copy of this software and associated documentation files (the
|
@@ -17,4 +17,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
17
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
18
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
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.
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,49 +1,59 @@
|
|
1
|
-
#
|
1
|
+
# Middleman-Sprockets
|
2
2
|
|
3
|
-
|
3
|
+
`middleman-sprockets` is an extension for the [Middleman] static site generator that allows support for [Sprockets](https://github.com/sstephenson/sprockets) in your assets.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
If you're just getting started, install the `middleman` gem and generate a new project:
|
4
8
|
|
5
9
|
```
|
6
|
-
gem install middleman
|
10
|
+
gem install middleman
|
11
|
+
middleman init MY_PROJECT
|
7
12
|
```
|
8
13
|
|
9
|
-
If you already have a Middleman project:
|
10
|
-
|
14
|
+
If you already have a Middleman project: Add `gem "middleman-sprockets"` to your `Gemfile` and run `bundle install`
|
15
|
+
|
16
|
+
## Configuration
|
11
17
|
|
12
18
|
```
|
13
19
|
activate :sprockets
|
14
20
|
```
|
15
21
|
|
16
|
-
|
17
|
-
|
18
|
-
The official community forum is available at:
|
19
|
-
|
20
|
-
http://forum.middlemanapp.com/
|
22
|
+
## Build & Dependency Status
|
21
23
|
|
22
|
-
|
24
|
+
[![Gem Version](https://badge.fury.io/rb/middleman-sprockets.png)][gem]
|
25
|
+
[![Build Status](https://travis-ci.org/middleman/middleman-sprockets.png)][travis]
|
26
|
+
[![Dependency Status](https://gemnasium.com/middleman/middleman-sprockets.png?travis)][gemnasium]
|
27
|
+
[![Code Quality](https://codeclimate.com/github/middleman/middleman-sprockets.png)][codeclimate]
|
23
28
|
|
24
|
-
|
29
|
+
## Community
|
25
30
|
|
26
|
-
|
31
|
+
The official community forum is available at: http://forum.middlemanapp.com
|
27
32
|
|
28
|
-
|
33
|
+
## Bug Reports
|
29
34
|
|
30
|
-
|
35
|
+
Github Issues are used for managing bug reports and feature requests. If you run into issues, please search the issues and submit new problems: https://github.com/middleman/middleman-sprockets/issues
|
31
36
|
|
32
|
-
[
|
37
|
+
The best way to get quick responses to your issues and swift fixes to your bugs is to submit detailed bug reports, include test cases and respond to developer questions in a timely manner. Even better, if you know Ruby, you can submit [Pull Requests](https://help.github.com/articles/using-pull-requests) containing Cucumber Features which describe how your feature should work or exploit the bug you are submitting.
|
33
38
|
|
34
|
-
|
39
|
+
## How to Run Cucumber Tests
|
35
40
|
|
36
41
|
1. Checkout Repository: `git clone https://github.com/middleman/middleman-sprockets.git`
|
37
42
|
2. Install Bundler: `gem install bundler`
|
38
43
|
3. Run `bundle install` inside the project root to install the gem dependencies.
|
39
44
|
4. Run test cases: `bundle exec rake test`
|
40
45
|
|
41
|
-
|
46
|
+
## Donate
|
42
47
|
|
43
|
-
[
|
48
|
+
[Click here to lend your support to Middleman](https://spacebox.io/s/4dXbHBorC3)
|
44
49
|
|
45
|
-
|
50
|
+
## License
|
46
51
|
|
47
|
-
Copyright (c) 2012 Thomas Reynolds. MIT Licensed, see [LICENSE] for details.
|
52
|
+
Copyright (c) 2012-2013 Thomas Reynolds. MIT Licensed, see [LICENSE] for details.
|
48
53
|
|
49
|
-
[
|
54
|
+
[middleman]: http://middlemanapp.com
|
55
|
+
[gem]: https://rubygems.org/gems/middleman-sprockets
|
56
|
+
[travis]: http://travis-ci.org/middleman/middleman-sprockets
|
57
|
+
[gemnasium]: https://gemnasium.com/middleman/middleman-sprockets
|
58
|
+
[codeclimate]: https://codeclimate.com/github/middleman/middleman-sprockets
|
59
|
+
[LICENSE]: https://github.com/middleman/middleman-sprockets/blob/master/LICENSE.md
|
data/Rakefile
CHANGED
@@ -7,8 +7,8 @@ require 'middleman-core/version'
|
|
7
7
|
|
8
8
|
Cucumber::Rake::Task.new(:cucumber, 'Run features that should pass') do |t|
|
9
9
|
exempt_tags = ["--tags ~@wip"]
|
10
|
-
exempt_tags << "--tags ~@new" unless Middleman::VERSION.start_with?
|
11
|
-
exempt_tags << "--tags ~@old" unless Middleman::VERSION.start_with?
|
10
|
+
exempt_tags << "--tags ~@new " unless Middleman::VERSION.start_with?("3.1")
|
11
|
+
exempt_tags << "--tags ~@old " unless Middleman::VERSION.start_with?("3.0")
|
12
12
|
t.cucumber_opts = "--color #{exempt_tags.join(" ")} --strict --format #{ENV['CUCUMBER_FORMAT'] || 'Fivemat'}"
|
13
13
|
end
|
14
14
|
|
@@ -21,6 +21,19 @@ task :doc do
|
|
21
21
|
sh 'bundle exec yard'
|
22
22
|
end
|
23
23
|
|
24
|
+
begin
|
25
|
+
require 'cane/rake_task'
|
26
|
+
|
27
|
+
desc "Run cane to check quality metrics"
|
28
|
+
Cane::RakeTask.new(:quality) do |cane|
|
29
|
+
cane.no_style = true
|
30
|
+
cane.no_doc = true
|
31
|
+
cane.abc_glob = "lib/middleman-sprockets/**/*.rb"
|
32
|
+
end
|
33
|
+
rescue LoadError
|
34
|
+
# warn "cane not available, quality task not provided."
|
35
|
+
end
|
36
|
+
|
24
37
|
desc "Destroy the sass cache from fixtures in case it messes with results"
|
25
38
|
task :destroy_sass_cache do
|
26
39
|
Dir["fixtures/*/.sass-cache"].each do |dir|
|
data/features/asset_hash.feature
CHANGED
@@ -36,7 +36,7 @@ Feature: Assets get a file hash appended to their URL and references to them are
|
|
36
36
|
Given the Server is running at "asset-hash-app"
|
37
37
|
When I go to "/"
|
38
38
|
Then I should see 'href="stylesheets/site-b7f4d02f.css"'
|
39
|
-
Then I should see 'href="stylesheets/jquery-mobile-
|
39
|
+
Then I should see 'href="stylesheets/jquery-mobile-05f64032.css"'
|
40
40
|
And I should see 'src="javascripts/application-df677242.js"'
|
41
41
|
And I should see 'src="images/100px-5fd6fb90.jpg"'
|
42
42
|
When I go to "/subdir/"
|
@@ -51,7 +51,7 @@ Feature: Assets get a file hash appended to their URL and references to them are
|
|
51
51
|
Then I should see "img.src = '/images/100px-5fd6fb90.jpg'"
|
52
52
|
When I go to "/stylesheets/site-b7f4d02f.css"
|
53
53
|
Then I should see 'background-image: url("../images/100px-5fd6fb90.jpg")'
|
54
|
-
When I go to "/stylesheets/jquery-mobile-
|
54
|
+
When I go to "/stylesheets/jquery-mobile-05f64032.css"
|
55
55
|
Then I should see 'background-image: url("../images/jquery-mobile/icons-18-white-1681b2cc.png")'
|
56
56
|
|
57
57
|
Scenario: Enabling an asset host still produces hashed files and references
|
@@ -260,7 +260,10 @@ module Middleman::Sprockets
|
|
260
260
|
# loop through all sources and the dependencies and
|
261
261
|
# output each as script tag in the correct order
|
262
262
|
sources.map do |source|
|
263
|
-
|
263
|
+
source_file_name = source.to_s
|
264
|
+
source_file_name << ".js" unless source_file_name.end_with?(".js")
|
265
|
+
|
266
|
+
dependencies_paths = sprockets[source_file_name].to_a.map do |dependency|
|
264
267
|
# if sprockets sees "?body=1" it only gives back the body
|
265
268
|
# of the script without the dependencies included
|
266
269
|
dependency.logical_path + "?body=1"
|
@@ -286,7 +289,10 @@ module Middleman::Sprockets
|
|
286
289
|
# output each as script tag in the correct order
|
287
290
|
|
288
291
|
sources.map do |source|
|
289
|
-
|
292
|
+
source_file_name = source.to_s
|
293
|
+
source_file_name << ".css" unless source_file_name.end_with?(".css")
|
294
|
+
|
295
|
+
dependencies_paths = sprockets[source_file_name].to_a.map do |dependency|
|
290
296
|
# if sprockets sees "?body=1" it only gives back the body
|
291
297
|
# of the script without the dependencies included
|
292
298
|
dependency.logical_path + "?body=1"
|
@@ -344,8 +350,10 @@ module Middleman::Sprockets
|
|
344
350
|
|
345
351
|
base_path = path.sub("#{load_path}/", '')
|
346
352
|
|
347
|
-
new_path = File.join(output_dir, base_path)
|
348
|
-
|
353
|
+
new_path = File.join(output_dir, base_path).to_s
|
354
|
+
|
355
|
+
next if @app.sitemap.find_resource_by_destination_path(new_path)
|
356
|
+
resources_list << ::Middleman::Sitemap::Resource.new(@app.sitemap, new_path, path.to_s)
|
349
357
|
end
|
350
358
|
end
|
351
359
|
end
|
data/middleman-sprockets.gemspec
CHANGED
@@ -3,26 +3,21 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
require "middleman-sprockets/version"
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
|
-
s.name
|
7
|
-
s.version
|
8
|
-
s.platform
|
9
|
-
s.authors
|
10
|
-
s.email
|
11
|
-
s.homepage
|
12
|
-
s.summary
|
6
|
+
s.name = "middleman-sprockets"
|
7
|
+
s.version = Middleman::Sprockets::VERSION
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = ["Thomas Reynolds"]
|
10
|
+
s.email = ["me@tdreyno.com"]
|
11
|
+
s.homepage = "https://github.com/middleman/middleman-sprockets"
|
12
|
+
s.summary = %q{Sprockets support for Middleman}
|
13
13
|
s.description = %q{Sprockets support for Middleman}
|
14
|
-
|
15
|
-
s.
|
16
|
-
|
17
|
-
s.files = `git ls-files -z`.split("\0")
|
18
|
-
s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0")
|
14
|
+
s.license = "MIT"
|
15
|
+
s.files = `git ls-files -z`.split("\0")
|
16
|
+
s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0")
|
19
17
|
s.require_paths = ["lib"]
|
20
|
-
|
21
18
|
s.add_dependency("middleman-core", [">= 3.0.14"])
|
19
|
+
s.add_dependency("middleman-more", [">= 3.0.14"])
|
22
20
|
s.add_dependency("sprockets", ["~> 2.1"])
|
23
21
|
s.add_dependency("sprockets-sass", ["~> 1.0.0"])
|
24
22
|
s.add_dependency("sprockets-helpers", ["~> 1.0.0"])
|
25
|
-
|
26
|
-
# We must depend on padrino-helpers so that middleman-core loads its helpers
|
27
|
-
s.add_dependency("padrino-helpers", ["0.10.7"])
|
28
|
-
end
|
23
|
+
end
|
metadata
CHANGED
@@ -1,68 +1,60 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-sprockets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
5
|
-
prerelease:
|
4
|
+
version: 3.1.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Thomas Reynolds
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-06-13 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: middleman-core
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 3.0.14
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 3.0.14
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
|
-
name:
|
28
|
+
name: middleman-more
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
33
|
+
version: 3.0.14
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
40
|
+
version: 3.0.14
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
|
-
name: sprockets
|
42
|
+
name: sprockets
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ~>
|
52
46
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1
|
47
|
+
version: '2.1'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ~>
|
60
53
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1
|
54
|
+
version: '2.1'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
|
-
name: sprockets-
|
56
|
+
name: sprockets-sass
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ~>
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,27 +62,24 @@ dependencies:
|
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ~>
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: 1.0.0
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
|
-
name:
|
70
|
+
name: sprockets-helpers
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- -
|
73
|
+
- - ~>
|
84
74
|
- !ruby/object:Gem::Version
|
85
|
-
version: 0.
|
75
|
+
version: 1.0.0
|
86
76
|
type: :runtime
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- -
|
80
|
+
- - ~>
|
92
81
|
- !ruby/object:Gem::Version
|
93
|
-
version: 0.
|
82
|
+
version: 1.0.0
|
94
83
|
description: Sprockets support for Middleman
|
95
84
|
email:
|
96
85
|
- me@tdreyno.com
|
@@ -101,9 +90,10 @@ files:
|
|
101
90
|
- .gitignore
|
102
91
|
- .travis.yml
|
103
92
|
- CHANGELOG.md
|
93
|
+
- CONTRIBUTING.md
|
104
94
|
- Gemfile
|
105
|
-
- Gemfile-3.
|
106
|
-
- LICENSE
|
95
|
+
- Gemfile-3.0
|
96
|
+
- LICENSE.md
|
107
97
|
- README.md
|
108
98
|
- Rakefile
|
109
99
|
- features/asset_hash-3.0.feature
|
@@ -204,34 +194,28 @@ files:
|
|
204
194
|
- lib/middleman_extension.rb
|
205
195
|
- middleman-sprockets.gemspec
|
206
196
|
homepage: https://github.com/middleman/middleman-sprockets
|
207
|
-
licenses:
|
197
|
+
licenses:
|
198
|
+
- MIT
|
199
|
+
metadata: {}
|
208
200
|
post_install_message:
|
209
201
|
rdoc_options: []
|
210
202
|
require_paths:
|
211
203
|
- lib
|
212
204
|
required_ruby_version: !ruby/object:Gem::Requirement
|
213
|
-
none: false
|
214
205
|
requirements:
|
215
|
-
- -
|
206
|
+
- - '>='
|
216
207
|
- !ruby/object:Gem::Version
|
217
208
|
version: '0'
|
218
|
-
segments:
|
219
|
-
- 0
|
220
|
-
hash: 2326151710291453877
|
221
209
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
222
|
-
none: false
|
223
210
|
requirements:
|
224
|
-
- -
|
211
|
+
- - '>='
|
225
212
|
- !ruby/object:Gem::Version
|
226
213
|
version: '0'
|
227
|
-
segments:
|
228
|
-
- 0
|
229
|
-
hash: 2326151710291453877
|
230
214
|
requirements: []
|
231
|
-
rubyforge_project:
|
232
|
-
rubygems_version:
|
215
|
+
rubyforge_project:
|
216
|
+
rubygems_version: 2.0.2
|
233
217
|
signing_key:
|
234
|
-
specification_version:
|
218
|
+
specification_version: 4
|
235
219
|
summary: Sprockets support for Middleman
|
236
220
|
test_files:
|
237
221
|
- features/asset_hash-3.0.feature
|
data/Gemfile-3.1
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
gem "middleman", :github => "middleman/middleman"
|
4
|
-
|
5
|
-
# Specify your gem's dependencies in middleman-sprockets.gemspec
|
6
|
-
gemspec
|
7
|
-
|
8
|
-
# Build and doc tools
|
9
|
-
gem "rake", "~> 10.0.3"
|
10
|
-
gem "yard", "~> 0.8.0"
|
11
|
-
|
12
|
-
# Test tools
|
13
|
-
gem "cucumber"
|
14
|
-
gem "fivemat"
|
15
|
-
gem "aruba"
|
16
|
-
gem "builder", "~> 3.0.0"
|
17
|
-
gem "rspec"
|
18
|
-
|
19
|
-
# For actual tests
|
20
|
-
# Make sure to lock down the versions of the asset gems
|
21
|
-
# so they don't cause asset hashes to change.
|
22
|
-
gem "jquery-rails", '2.2.1', :require => false
|
23
|
-
gem "bootstrap-sass", '2.3.1.0', :require => false
|
24
|
-
|
25
|
-
gem 'jquery_mobile_rails', '1.3.0', :require => false
|
26
|
-
gem 'sprockets', '~> 2.2.1', :require => false
|
27
|
-
gem 'rack', '1.4.5', :require => false
|
28
|
-
|
29
|
-
gem "ejs", "~> 1.1.1"
|
30
|
-
gem "eco", "~> 1.0.0"
|
31
|
-
gem "erubis", "~> 2.7.0"
|