radosgw-s3 0.9 → 0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/s3/bucket.rb +6 -1
  3. data/lib/s3/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 90b53e9071f5adccfa6148dee851ffac1fd3424e
4
- data.tar.gz: 94666c22638232a44898a49bedbcebd329f042d7
3
+ metadata.gz: 868eb028e225cbc00c66fc3ba4b9d57a8b9e38bf
4
+ data.tar.gz: 5124a81ca41786fea9801cfd6f46922a41f5466a
5
5
  SHA512:
6
- metadata.gz: bd547e5ee5f61eb57baeaf95a17f931856a33388db9b122f25239ef27c50f4f3a9bf06348aac8c0370563a337643205ef28f42e3907b25e11f101dadaa963438
7
- data.tar.gz: 727cce9bcaad626508c61d133192d59ceaa6601b8469bfd5ae05434a3ecae179274a75eb957c1dbdeb38db971528676194f5511e44f9637f07ca90229ed76ddf
6
+ metadata.gz: 49beb3af4b07623b7fd8db12cb2f65076a5be5ef073edf6b7ea05017fe0e572743b5b6a200a58e86fba87afe262a4e0107dd64fc8024ee614a50d7ee9f2e7c69
7
+ data.tar.gz: f1c76ecb3f8a08e3eb9e726a5c398c7626f8f91f22ee7ed9c52bbe48d26660a9c089d9d72e4f7476a8aebc850ddf6d012e33c70c18165220c8d39bd0b016543e
@@ -94,7 +94,12 @@ module S3
94
94
  # name. If the bucket contains characters like underscore it can't
95
95
  # be used as +VHOST+ (e.g. <tt>bucket_name.s3.amazonaws.com</tt>)
96
96
  def vhost?
97
- !service.use_ssl && service.use_vhost && "#@name.#{HOST}" =~ /\A#{URI::REGEXP::PATTERN::HOSTNAME}\Z/
97
+ #MEGAM_FIX. If this method returns true "MethodNotAllowed" exception arises. (parse_error': undefined method `text' for nil:NilClass)
98
+ #Fix for bucketname without '_'
99
+ #HOST & PATH======vhost=flase======>192.168.1.102<======>asd2/<==========
100
+ #HOST & PATH======vhost=true======>asd2.s3.amazonaws.com<======><==========
101
+ #!service.use_ssl && service.use_vhost && "#@name.#{HOST}" =~ /\A#{URI::REGEXP::PATTERN::HOSTNAME}\Z/
102
+ false
98
103
  end
99
104
 
100
105
  # Returns host name of the bucket according (see #vhost? method)
@@ -1,3 +1,3 @@
1
1
  module S3
2
- VERSION = "0.9"
2
+ VERSION = "0.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radosgw-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.9'
4
+ version: '0.10'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Alrin, Kishorekumar Neelamegam, Rajthilak, Kuba Kuźma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-06 00:00:00.000000000 Z
11
+ date: 2015-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: proxies