sprockets-media_query_combiner 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -2,3 +2,7 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in sprockets-media-query-combiner.gemspec
4
4
  gemspec
5
+
6
+ group :test do
7
+ gem 'coveralls', require: false
8
+ end
data/README.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Sprockets::MediaQueryCombiner
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/sprockets-media_query_combiner.png)](http://badge.fury.io/rb/sprockets-media_query_combiner)
4
+ [![Build Status](https://travis-ci.org/aaronjensen/sprockets-media_query_combiner.png)](https://travis-ci.org/aaronjensen/sprockets-media_query_combiner)
5
+ [![Coverage Status](https://coveralls.io/repos/aaronjensen/sprockets-media_query_combiner/badge.png?branch=master)](https://coveralls.io/r/aaronjensen/sprockets-media_query_combiner)
6
+ [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/aaronjensen/sprockets-media_query_combiner)
7
+
3
8
  Combines all matching media queries while compiling your assets with
4
9
  sprockets/Rails asset pipeline.
5
10
 
@@ -1,9 +1,9 @@
1
1
  require 'sprockets/media_query_combiner/processor'
2
2
 
3
- if defined?(Rails)
3
+ if defined?(::Rails)
4
4
  module Sprockets
5
5
  module MediaQueryCombiner
6
- class Engine < Rails::Engine
6
+ class Engine < ::Rails::Engine
7
7
  initializer :setup_media_query_combiner, after: 'sprockets.environment', group: :all do |app|
8
8
  app.assets.register_postprocessor 'text/css', Sprockets::MediaQueryCombiner::Processor
9
9
  app.assets.register_bundle_processor 'text/css', Sprockets::MediaQueryCombiner::Processor
@@ -1,5 +1,5 @@
1
1
  module Sprockets
2
2
  module MediaQueryCombiner
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
@@ -1,9 +1,6 @@
1
- # This file was generated by the `rspec --init` command. Conventionally, all
2
- # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
- # Require this file using `require "spec_helper"` to ensure that it is only
4
- # loaded once.
5
- #
6
- # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
1
+ require 'coveralls'
2
+ Coveralls.wear!
3
+
7
4
  RSpec.configure do |config|
8
5
  config.treat_symbols_as_metadata_keys_with_true_values = true
9
6
  config.run_all_when_everything_filtered = true
metadata CHANGED
@@ -1,64 +1,64 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprockets-media_query_combiner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
5
4
  prerelease:
5
+ version: 0.0.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Aaron Jensen
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-10 00:00:00.000000000 Z
12
+ date: 2013-09-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sprockets
16
- prerelease: false
16
+ type: :runtime
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
21
  version: '2.1'
22
22
  none: false
23
- type: :runtime
24
23
  version_requirements: !ruby/object:Gem::Requirement
25
24
  requirements:
26
25
  - - ~>
27
26
  - !ruby/object:Gem::Version
28
27
  version: '2.1'
29
28
  none: false
29
+ prerelease: false
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: rspec
32
- prerelease: false
32
+ type: :development
33
33
  requirement: !ruby/object:Gem::Requirement
34
34
  requirements:
35
35
  - - ! '>='
36
36
  - !ruby/object:Gem::Version
37
37
  version: '0'
38
38
  none: false
39
- type: :development
40
39
  version_requirements: !ruby/object:Gem::Requirement
41
40
  requirements:
42
41
  - - ! '>='
43
42
  - !ruby/object:Gem::Version
44
43
  version: '0'
45
44
  none: false
45
+ prerelease: false
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: rake
48
- prerelease: false
48
+ type: :development
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - ! '>='
52
52
  - !ruby/object:Gem::Version
53
53
  version: '0'
54
54
  none: false
55
- type: :development
56
55
  version_requirements: !ruby/object:Gem::Requirement
57
56
  requirements:
58
57
  - - ! '>='
59
58
  - !ruby/object:Gem::Version
60
59
  version: '0'
61
60
  none: false
61
+ prerelease: false
62
62
  description: Sprockets bundle processor to combine all like media queries
63
63
  email:
64
64
  - aaronjensen@gmail.com
@@ -95,11 +95,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - ! '>='
97
97
  - !ruby/object:Gem::Version
98
+ segments:
99
+ - 0
100
+ hash: 1280964489433274080
98
101
  version: '0'
99
102
  none: false
100
103
  requirements: []
101
104
  rubyforge_project:
102
- rubygems_version: 1.8.24
105
+ rubygems_version: 1.8.25
103
106
  signing_key:
104
107
  specification_version: 3
105
108
  summary: Automatically combine media queries