middleman-svg-fallback 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NDhjMWNmNjBkNzM4MDVlYWQzZjNkYzVlY2VhM2Q3NDYxNTA3NGI0NA==
5
+ data.tar.gz: !binary |-
6
+ M2M4NzM4OTAxNGE5YjAxMTE1MzcyZWM0NzA3OWMyNDAxNTc2Y2MwMg==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ NjlmOTE4Y2ZkMDAxZTg0ZTliYmFjN2VlYjM0N2YzYjkzNjY2M2RmMGZmZmMy
10
+ OGM1MmE5NGM2Mzc4NDEzNmI0NzUyOWFhM2MwZjRjOWZlYWU3MzUwZGYyMTZk
11
+ OTAwNDY3NTgzMGIwMmQyYWEzMmY0NmRjNzg3ZjgxYjhjOTY0Nzk=
12
+ data.tar.gz: !binary |-
13
+ OGIwOWFlYWIzM2M0ZGYyMWVkOGU5Mjg2MTQwNmMwNjA1ZjZjY2E4ZTk1ZTVh
14
+ ZTIyMzc3MGI0NTE3YmFmNjAwNjk1ZmU4MjM5NTUyYWVjYWJkYTc5OTM2OTU3
15
+ YjIyZjk4ZTIyYTdkMDczM2M5ZTMzODQ3ZTkwMjYyZGM1YTVkMjI=
@@ -16,7 +16,7 @@ module Middleman
16
16
 
17
17
  files.each do |file|
18
18
  # make sure we have both an svg and an svgz version
19
- basename = file.sub(/\.svgz?$/,'')
19
+ basename = File.expand_path(file.sub(/\.svgz?$/,''))
20
20
 
21
21
  unless File.exists? "#{basename}.svg"
22
22
  `gunzip --to-stdout --suffix .svgz #{basename}.svgz > #{basename}.svg`
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module SVGFallback
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,63 +1,50 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: middleman-svg-fallback
3
- version: !ruby/object:Gem::Version
4
- hash: 27
5
- prerelease:
6
- segments:
7
- - 0
8
- - 1
9
- - 0
10
- version: 0.1.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Jan Schulz-Hofen
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2012-12-18 00:00:00 -06:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
11
+ date: 2015-05-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
22
14
  name: middleman
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 7
30
- segments:
31
- - 3
32
- - 0
33
- - 0
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ! '>='
18
+ - !ruby/object:Gem::Version
34
19
  version: 3.0.0
35
20
  type: :runtime
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: rake
39
21
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- hash: 3
46
- segments:
47
- - 0
48
- version: "0"
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ! '>='
25
+ - !ruby/object:Gem::Version
26
+ version: 3.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
49
34
  type: :runtime
50
- version_requirements: *id002
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ! '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
51
41
  description: Generate nice JPEG and PNG files from any SVG files.
52
- email:
42
+ email:
53
43
  - jan@launchco.com
54
44
  executables: []
55
-
56
45
  extensions: []
57
-
58
46
  extra_rdoc_files: []
59
-
60
- files:
47
+ files:
61
48
  - .gitignore
62
49
  - Gemfile
63
50
  - README.md
@@ -67,39 +54,27 @@ files:
67
54
  - lib/middleman-svg-fallback/version.rb
68
55
  - lib/middleman_extension.rb
69
56
  - middleman-svg-fallback.gemspec
70
- has_rdoc: true
71
57
  homepage: https://github.com/yeah/middleman-svg-fallback
72
58
  licenses: []
73
-
59
+ metadata: {}
74
60
  post_install_message:
75
61
  rdoc_options: []
76
-
77
- require_paths:
62
+ require_paths:
78
63
  - lib
79
- required_ruby_version: !ruby/object:Gem::Requirement
80
- none: false
81
- requirements:
82
- - - ">="
83
- - !ruby/object:Gem::Version
84
- hash: 3
85
- segments:
86
- - 0
87
- version: "0"
88
- required_rubygems_version: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ">="
92
- - !ruby/object:Gem::Version
93
- hash: 3
94
- segments:
95
- - 0
96
- version: "0"
64
+ required_ruby_version: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ required_rubygems_version: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ! '>='
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
97
74
  requirements: []
98
-
99
75
  rubyforge_project:
100
- rubygems_version: 1.4.2
76
+ rubygems_version: 2.4.7
101
77
  signing_key:
102
- specification_version: 3
78
+ specification_version: 4
103
79
  summary: Generate nice JPEG and PNG files from any SVG files.
104
80
  test_files: []
105
-