middleman-s3_redirect 3.0.2 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6fba30466432df1f1fc4b02c84b31f3f87c0d860
4
+ data.tar.gz: aa584c64af0b5f15b9b4ef1c22eae65290e6d779
5
+ SHA512:
6
+ metadata.gz: 18dacefd83dbf3b4eae1ebb6199c8581691ea4b84ff3971cfcefd94d47cfb939f400b3de6be73bc65f5eda7775ad107e270224e0c03974d525abee501bd306f4
7
+ data.tar.gz: 1753ef083ae0f4538e22f0351e6c405d431243c8cd835327cad47372cae73a53d739a05f85a479e4dd9ba03503da3cd093b6606c2afa64070e3d5cfcbb756feb
@@ -7,6 +7,7 @@ module Middleman
7
7
  :public_path,
8
8
  :bucket,
9
9
  :region,
10
+ :path_style,
10
11
  :aws_access_key_id,
11
12
  :aws_secret_access_key,
12
13
  :after_build
@@ -55,6 +56,7 @@ module Middleman
55
56
  app.send :include, Helpers
56
57
 
57
58
  options.public_path ||= "build"
59
+ options.path_style = true if options.path_style.nil?
58
60
 
59
61
  app.after_configuration do |config|
60
62
  after_build do |builder|
@@ -82,7 +84,8 @@ module Middleman
82
84
  :provider => 'AWS',
83
85
  :aws_access_key_id => options.aws_access_key_id,
84
86
  :aws_secret_access_key => options.aws_secret_access_key,
85
- :region => options.region
87
+ :region => options.region,
88
+ :path_style => options.path_style
86
89
  })
87
90
  end
88
91
 
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module S3Redirect
3
- VERSION = "3.0.2"
3
+ VERSION = "3.0.3"
4
4
  end
5
5
  end
@@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
19
19
 
20
20
 
21
21
  gem.add_runtime_dependency 'middleman-core', '>= 3.0.0'
22
- gem.add_runtime_dependency 'fog'
22
+ gem.add_runtime_dependency 'fog', '>= 1.10.1'
23
23
  gem.add_runtime_dependency 'parallel'
24
24
 
25
25
  gem.add_development_dependency 'rake'
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-s3_redirect
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
5
- prerelease:
4
+ version: 3.0.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Frederic Jean
@@ -10,70 +9,62 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-05-15 00:00:00.000000000 Z
12
+ date: 2014-01-15 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: middleman-core
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - '>='
21
19
  - !ruby/object:Gem::Version
22
20
  version: 3.0.0
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - '>='
29
26
  - !ruby/object:Gem::Version
30
27
  version: 3.0.0
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: fog
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - '>='
37
33
  - !ruby/object:Gem::Version
38
- version: '0'
34
+ version: 1.10.1
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - '>='
45
40
  - !ruby/object:Gem::Version
46
- version: '0'
41
+ version: 1.10.1
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: parallel
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
- - - ! '>='
46
+ - - '>='
53
47
  - !ruby/object:Gem::Version
54
48
  version: '0'
55
49
  type: :runtime
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
- - - ! '>='
53
+ - - '>='
61
54
  - !ruby/object:Gem::Version
62
55
  version: '0'
63
56
  - !ruby/object:Gem::Dependency
64
57
  name: rake
65
58
  requirement: !ruby/object:Gem::Requirement
66
- none: false
67
59
  requirements:
68
- - - ! '>='
60
+ - - '>='
69
61
  - !ruby/object:Gem::Version
70
62
  version: '0'
71
63
  type: :development
72
64
  prerelease: false
73
65
  version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
66
  requirements:
76
- - - ! '>='
67
+ - - '>='
77
68
  - !ruby/object:Gem::Version
78
69
  version: '0'
79
70
  description: Generates redirects via S3 API.
@@ -95,32 +86,25 @@ files:
95
86
  - middleman-s3_redirect.gemspec
96
87
  homepage: https://github.com/fredjean/middleman-s3_redirect
97
88
  licenses: []
89
+ metadata: {}
98
90
  post_install_message:
99
91
  rdoc_options: []
100
92
  require_paths:
101
93
  - lib
102
94
  required_ruby_version: !ruby/object:Gem::Requirement
103
- none: false
104
95
  requirements:
105
- - - ! '>='
96
+ - - '>='
106
97
  - !ruby/object:Gem::Version
107
98
  version: '0'
108
- segments:
109
- - 0
110
- hash: -3283689620941817955
111
99
  required_rubygems_version: !ruby/object:Gem::Requirement
112
- none: false
113
100
  requirements:
114
- - - ! '>='
101
+ - - '>='
115
102
  - !ruby/object:Gem::Version
116
103
  version: '0'
117
- segments:
118
- - 0
119
- hash: -3283689620941817955
120
104
  requirements: []
121
105
  rubyforge_project:
122
- rubygems_version: 1.8.23
106
+ rubygems_version: 2.0.14
123
107
  signing_key:
124
- specification_version: 3
108
+ specification_version: 4
125
109
  summary: Nothing to see here... Move along.
126
110
  test_files: []