middleman-s3_redirect 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -0
- data/lib/middleman-s3_redirect/commands.rb +2 -2
- data/lib/middleman-s3_redirect/version.rb +1 -1
- data/lib/middleman-s3_redirect.rb +0 -1
- data/middleman-s3_redirect.gemspec +2 -1
- metadata +31 -14
data/README.md
CHANGED
@@ -46,6 +46,9 @@ The code is well structured and easy to understand and it was easy to
|
|
46
46
|
extend it to add my synchronization code. My gratitude goes to @karlfreeman
|
47
47
|
and is work on Middleman sync.
|
48
48
|
|
49
|
+
Many thanks to [Junya Ogura](https://github.com/juno) for multiple pull
|
50
|
+
requests improving this gem.
|
51
|
+
|
49
52
|
## Contributing
|
50
53
|
|
51
54
|
1. Fork it
|
@@ -17,8 +17,8 @@ module Middleman
|
|
17
17
|
desc "s3_redirect", "Creates redirect objects directly in S3."
|
18
18
|
def s3_redirect
|
19
19
|
shared_inst = ::Middleman::Application.server.inst
|
20
|
-
|
21
|
-
|
20
|
+
unless (shared_inst.respond_to?('s3_redirect_options') &&
|
21
|
+
shared_inst.s3_redirect_options.bucket)
|
22
22
|
raise Thor::Error.new "You need to activate this extension."
|
23
23
|
end
|
24
24
|
|
@@ -6,7 +6,7 @@ require 'middleman-s3_redirect/version'
|
|
6
6
|
Gem::Specification.new do |gem|
|
7
7
|
gem.name = "middleman-s3_redirect"
|
8
8
|
gem.version = Middleman::S3Redirect::VERSION
|
9
|
-
gem.authors = ["Frederic Jean"]
|
9
|
+
gem.authors = ["Frederic Jean", "Junya Ogura"]
|
10
10
|
gem.email = ["fred@fredjean.net"]
|
11
11
|
gem.description = %q{Generates redirects via S3 API.}
|
12
12
|
gem.summary = %q{Nothing to see here... Move along.}
|
@@ -20,6 +20,7 @@ Gem::Specification.new do |gem|
|
|
20
20
|
|
21
21
|
gem.add_runtime_dependency 'middleman-core', '>= 3.0.0'
|
22
22
|
gem.add_runtime_dependency 'fog'
|
23
|
+
gem.add_runtime_dependency 'parallel'
|
23
24
|
|
24
25
|
gem.add_development_dependency 'rake'
|
25
26
|
end
|
metadata
CHANGED
@@ -1,41 +1,51 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-s3_redirect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.0.2
|
4
5
|
prerelease:
|
5
|
-
version: 3.0.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Frederic Jean
|
9
|
+
- Junya Ogura
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2013-
|
13
|
+
date: 2013-05-15 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
|
-
|
16
|
+
name: middleman-core
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
16
18
|
none: false
|
17
19
|
requirements:
|
18
20
|
- - ! '>='
|
19
21
|
- !ruby/object:Gem::Version
|
20
22
|
version: 3.0.0
|
21
|
-
|
23
|
+
type: :runtime
|
22
24
|
prerelease: false
|
23
|
-
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
26
|
none: false
|
25
27
|
requirements:
|
26
28
|
- - ! '>='
|
27
29
|
- !ruby/object:Gem::Version
|
28
30
|
version: 3.0.0
|
29
|
-
type: :runtime
|
30
31
|
- !ruby/object:Gem::Dependency
|
31
|
-
|
32
|
+
name: fog
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
32
34
|
none: false
|
33
35
|
requirements:
|
34
36
|
- - ! '>='
|
35
37
|
- !ruby/object:Gem::Version
|
36
38
|
version: '0'
|
37
|
-
|
39
|
+
type: :runtime
|
38
40
|
prerelease: false
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: parallel
|
39
49
|
requirement: !ruby/object:Gem::Requirement
|
40
50
|
none: false
|
41
51
|
requirements:
|
@@ -43,15 +53,15 @@ dependencies:
|
|
43
53
|
- !ruby/object:Gem::Version
|
44
54
|
version: '0'
|
45
55
|
type: :runtime
|
46
|
-
|
56
|
+
prerelease: false
|
47
57
|
version_requirements: !ruby/object:Gem::Requirement
|
48
58
|
none: false
|
49
59
|
requirements:
|
50
60
|
- - ! '>='
|
51
61
|
- !ruby/object:Gem::Version
|
52
62
|
version: '0'
|
63
|
+
- !ruby/object:Gem::Dependency
|
53
64
|
name: rake
|
54
|
-
prerelease: false
|
55
65
|
requirement: !ruby/object:Gem::Requirement
|
56
66
|
none: false
|
57
67
|
requirements:
|
@@ -59,6 +69,13 @@ dependencies:
|
|
59
69
|
- !ruby/object:Gem::Version
|
60
70
|
version: '0'
|
61
71
|
type: :development
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
75
|
+
requirements:
|
76
|
+
- - ! '>='
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '0'
|
62
79
|
description: Generates redirects via S3 API.
|
63
80
|
email:
|
64
81
|
- fred@fredjean.net
|
@@ -87,19 +104,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
87
104
|
requirements:
|
88
105
|
- - ! '>='
|
89
106
|
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
90
108
|
segments:
|
91
109
|
- 0
|
92
|
-
hash: -
|
93
|
-
version: '0'
|
110
|
+
hash: -3283689620941817955
|
94
111
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
112
|
none: false
|
96
113
|
requirements:
|
97
114
|
- - ! '>='
|
98
115
|
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
99
117
|
segments:
|
100
118
|
- 0
|
101
|
-
hash: -
|
102
|
-
version: '0'
|
119
|
+
hash: -3283689620941817955
|
103
120
|
requirements: []
|
104
121
|
rubyforge_project:
|
105
122
|
rubygems_version: 1.8.23
|