Skip to content

Commit

Permalink
Merge pull request #1 from toddysm/master
Browse files Browse the repository at this point in the history
Updated dependency to Azure Storage SDK
  • Loading branch information
toddysm committed Jan 12, 2017
2 parents f8b96f4 + 6b7f831 commit 92cca96
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
@@ -1,8 +1,6 @@
language: ruby

rvm:
- 1.9.3
- 2.0
- 2.1
- 2.2.0
- rbx
Expand Down
4 changes: 2 additions & 2 deletions fluent-plugin-azurestorage.gemspec
Expand Up @@ -17,8 +17,8 @@ Gem::Specification.new do |gem|
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
gem.require_paths = ['lib']

gem.add_dependency "fluentd", [">= 0.10.58", "< 2"]
gem.add_dependency "azure", "0.6.4"
gem.add_dependency "fluentd", [">= 0.12.0", "< 2"]
gem.add_dependency "azure", [">= 0.7.1", "<= 0.7.7"]
gem.add_dependency "fluent-mixin-config-placeholders", ">= 0.3.0"
gem.add_development_dependency "rake", ">= 0.9.2"
gem.add_development_dependency "test-unit", ">= 3.0.8"
Expand Down
2 changes: 1 addition & 1 deletion lib/fluent/plugin/out_azurestorage.rb
Expand Up @@ -81,7 +81,7 @@ def start
config.storage_access_key = @azure_storage_access_key
end
end
@bs = Azure::BlobService.new
@bs = Azure::Blob::BlobService.new
@bs.extend UploadService

ensure_container
Expand Down
6 changes: 3 additions & 3 deletions test/test_out_azurestorage.rb
Expand Up @@ -21,7 +21,7 @@ def setup
]

def create_driver(conf = CONFIG)
Fluent::Test::BufferedOutputTestDriver.new(Fluent::AzureStorageOutput) do
Fluent::Test::TimeSlicedOutputTestDriver.new(Fluent::AzureStorageOutput) do
def write(chunk)
chunk.read
end
Expand Down Expand Up @@ -197,8 +197,8 @@ def test_chunk_to_write
# AzureStorageOutputTest#write returns chunk.read
data = d.run

assert_equal %[2011-01-02T13:14:15Z\ttest\t{"a":1}\n] +
%[2011-01-02T13:14:15Z\ttest\t{"a":2}\n],
assert_equal [%[2011-01-02T13:14:15Z\ttest\t{"a":1}\n] +
%[2011-01-02T13:14:15Z\ttest\t{"a":2}\n]],
data
end

Expand Down

0 comments on commit 92cca96

Please sign in to comment.