spritely 0.3.1 → 0.3.2

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: 1aeabc56574aebd3b05f381fe8ae100158ab1fa7
4
- data.tar.gz: 6248f29cfd68142d27dc5037669ad7720d043996
3
+ metadata.gz: a37a86c16713d282bc5d617faa6ce4bc2652d66c
4
+ data.tar.gz: 82a0dddc10e04adb99a4525d15c1ecbb4ae0ab6f
5
5
  SHA512:
6
- metadata.gz: 99d976b70aea6b8d0d16bc8e08d0e0184dbc0d7581efe79825894d1b4490fc56b68c4a42fd08c80eccf0fb07bff30c095a6b919edda7246e0f4d1b2fb948db7a
7
- data.tar.gz: c3019d1f01e9b4ff07a3780b211d6cbbd5fdaddcc63d2c36b6daa33a7bb6b952c12e31fb888e135f9eaa37c8d732786913802611ed401fbe667ab1df22f5aa79
6
+ metadata.gz: ac584c201e6875fd894a8f568e3063e627f637de133d834d2d750e35db16c9532ba8c295623db08f1150629bbb6e96f6d40490daaa75fc4a0f602dcd44b510f8
7
+ data.tar.gz: a7a3991b7318105394797151922c890d31b7674bc328e5e33d4b840d24f11312f11bc1650696deb75cbcd21d7fa01def0c8e47ddb6d019166ee174efc01d9717
@@ -1,3 +1,3 @@
1
1
  module Spritely
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
@@ -1,3 +1,9 @@
1
1
  # Rails 4.2 turns on asset digest in development.
2
2
  # This turns them on for all Rails versions.
3
3
  Rails.application.config.assets.digest = true
4
+
5
+ # Rails 5.0 doesn't currently depend on sass-rails.
6
+ # Until it does, set the Sass style to `:nested` (the default) across all Rails versions.
7
+ if Rails.application.config.respond_to?(:sass)
8
+ Rails.application.config.sass.style = :nested
9
+ end
@@ -1,5 +1,4 @@
1
1
  require 'spec_helper'
2
- require 'active_support/core_ext/string'
3
2
 
4
3
  describe 'Precompilation', :integration do
5
4
  it 'should create the sprite in the right location' do
@@ -10,8 +10,7 @@ describe 'Stylesheet generation', :integration do
10
10
  it { should include(<<-CSS.strip_heredoc
11
11
  body {
12
12
  background-image: url(#{background_image_url});
13
- background-position: 0 0;
14
- }
13
+ background-position: 0 0; }
15
14
  CSS
16
15
  ) }
17
16
  end
@@ -22,8 +21,7 @@ describe 'Stylesheet generation', :integration do
22
21
  background-image: url(#{background_image_url});
23
22
  background-position: -150px -806px;
24
23
  width: 200px;
25
- height: 214px;
26
- }
24
+ height: 214px; }
27
25
  CSS
28
26
  ) }
29
27
  end
metadata CHANGED
@@ -1,49 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spritely
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Robbin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-30 00:00:00.000000000 Z
11
+ date: 2016-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: chunky_png
14
+ name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.3'
19
+ version: '4.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.3'
26
+ version: '4.1'
27
27
  - !ruby/object:Gem::Dependency
28
- name: railties
28
+ name: chunky_png
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '4.1'
34
- - - "<"
31
+ - - "~>"
35
32
  - !ruby/object:Gem::Version
36
- version: '5.0'
33
+ version: '1.3'
37
34
  type: :runtime
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
37
  requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- version: '4.1'
44
- - - "<"
38
+ - - "~>"
45
39
  - !ruby/object:Gem::Version
46
- version: '5.0'
40
+ version: '1.3'
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: sass
49
43
  requirement: !ruby/object:Gem::Requirement
@@ -86,6 +80,20 @@ dependencies:
86
80
  - - ">="
87
81
  - !ruby/object:Gem::Version
88
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: railties
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
89
97
  - !ruby/object:Gem::Dependency
90
98
  name: rake
91
99
  requirement: !ruby/object:Gem::Requirement