sprockets-media_query_combiner 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,8 +1,12 @@
1
1
  # Sprockets::MediaQueryCombiner
2
2
 
3
3
  Combines all matching media queries while compiling your assets with
4
- sprockets/Rails asset pipeline. For example:
4
+ sprockets/Rails asset pipeline.
5
5
 
6
+ If you're not using
7
+ Rails 3.1+ or Sprockets, you should use [sass-media_query_combiner](https://github.com/aaronjensen/sass-media_query_combiner)
8
+
9
+ For example:
6
10
  ```css
7
11
  h3 {
8
12
  color: orange
@@ -56,6 +60,8 @@ randomly throughout your file.
56
60
 
57
61
  ## Installation
58
62
 
63
+ Requires Ruby >= 1.9.2.
64
+
59
65
  Add this line to your application's Gemfile:
60
66
 
61
67
  gem 'sprockets-media_query_combiner'
@@ -1,5 +1,5 @@
1
1
  module Sprockets
2
2
  module MediaQueryCombiner
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -3,7 +3,7 @@ require 'sprockets/media_query_combiner/processor'
3
3
 
4
4
  module Sprockets::MediaQueryCombiner
5
5
  describe Processor do
6
- it "should with pretty css" do
6
+ it "should work with pretty css" do
7
7
  combiner = Processor.new do
8
8
  <<CSS
9
9
  h3 {
@@ -15,6 +15,8 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = Sprockets::MediaQueryCombiner::VERSION
17
17
 
18
+ gem.required_ruby_version = '>= 1.9.2'
19
+
18
20
  gem.add_runtime_dependency "sprockets", "~>2.1.3"
19
21
 
20
22
  gem.add_development_dependency "rspec"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprockets-media_query_combiner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-05 00:00:00.000000000 Z
12
+ date: 2012-10-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sprockets
@@ -74,7 +74,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - ! '>='
76
76
  - !ruby/object:Gem::Version
77
- version: '0'
77
+ version: 1.9.2
78
78
  required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  none: false
80
80
  requirements: