backblaze 0.1.0.pre.alpha

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 068ed971b2bfb14ba4c2723d0ed6a8ab6e532028
4
+ data.tar.gz: d318da137e35f01461104b7b80532944fcc362c5
5
+ SHA512:
6
+ metadata.gz: 03c6c97c22963300e0deb4bfda498fbeef9e946a793a8897a21638da5a173154400ef715fd1b16f726198ee2a46bbd2f45c9c5752801c1ee25fc4b0c667fd550
7
+ data.tar.gz: 37b8599f0d5b54152efd63e54c55ed4b1002dafcb68de058e17ee0c8200cbff2f7ed438e76d53e05f936f9aa21a6fc86360e65d04a88bf8d474c3e9610025a6c
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ .DS_Store
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.2
4
+ before_install: gem install bundler -v 1.10.5
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in backblaze.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Winston Durand
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,38 @@
1
+ # Backblaze
2
+
3
+ The Backblaze ruby gem is an implementation of the [Backblaze B2 Cloud Storage API](https://www.backblaze.com/b2/docs/). In addition to simplifying calls, it also implements an object oriented structure for dealing with files.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'backblaze'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install backblaze
20
+
21
+ ## Usage
22
+
23
+ TODO: Write usage instructions here
24
+
25
+ ## Development
26
+
27
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
28
+
29
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
30
+
31
+ ## Contributing
32
+
33
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/backblaze. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
34
+
35
+
36
+ ## License
37
+
38
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,30 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'backblaze/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "backblaze"
8
+ spec.version = Backblaze::VERSION
9
+ spec.authors = ["Winston Durand"]
10
+ spec.email = ["me@winstondurand.com"]
11
+
12
+ spec.summary = %q{Interface for teh Backblaze B2 Cloud}
13
+ spec.description = %q{Intended to offer a way to interact with Backblaze B2 Cloud Storage without touching the API directly.}
14
+ spec.homepage = "https://github.com/R167/backblaze"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_development_dependency "bundler", "~> 1.10"
23
+ spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "rspec"
25
+ spec.add_development_dependency "yard"
26
+ spec.add_development_dependency "pry"
27
+ spec.add_development_dependency "webmock"
28
+
29
+ spec.add_dependency "httparty"
30
+ end
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "backblaze"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ require "pry"
11
+ Pry.start
12
+
13
+ # require "irb"
14
+ # IRB.start
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,9 @@
1
+ require "httparty"
2
+
3
+ require "backblaze/version"
4
+ require "backblaze/utils"
5
+ require "backblaze/errors"
6
+ require "backblaze/b2"
7
+
8
+ module Backblaze
9
+ end
@@ -0,0 +1,33 @@
1
+ require "backblaze/b2/base"
2
+ require "backblaze/b2/bucket"
3
+ require "backblaze/b2/file"
4
+
5
+ module Backblaze::B2
6
+ class << self
7
+ attr_reader :account_id, :token, :api_url, :download_url
8
+
9
+ ##
10
+ # Authenticates with the server to get the authorization data. Raises an error if there is a problem
11
+ #
12
+ # @param [#to_s] account_id the account id
13
+ # @param [#to_s] application_key the private app key
14
+ # @raise [Backblaze::AuthError] when unable to authenticate
15
+ # @return [void]
16
+ def login(account_id:, application_key:, api_path: '/b2api/v1/')
17
+ options = {
18
+ basic_auth: {username: account_id, password: application_key}
19
+ }
20
+ response = HTTParty.get("https://api.backblaze.com/b2api/v1/b2_authorize_account", options)
21
+ raise Backblaze::AuthError.new(response) unless response.code == 200
22
+
23
+ @account_id = response['accountId']
24
+ @token = response['authorizationToken']
25
+ @api_url = response['apiUrl']
26
+ @download_url = response['downloadUrl']
27
+ @api_path = api_path
28
+
29
+ Backblaze::B2::Base.base_uri "#{@api_url}#{api_path}"
30
+ Backblaze::B2::Base.headers 'Authorization' => @token, 'Content-Type' => 'application/json'
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,27 @@
1
+ module Backblaze::B2
2
+ class Base
3
+ include HTTParty
4
+ include Backblaze::Utils
5
+
6
+ format :json
7
+
8
+ # @!method get(path, options={}, &block)
9
+ # Calls the class level equivalent from HTTParty
10
+ # @see http://www.rubydoc.info/github/jnunemaker/httparty/HTTParty/ClassMethods HTTParty::ClassMethods
11
+
12
+ # @!method head(path, options={}, &block)
13
+ # (see #get)
14
+
15
+ # @!method post(path, options={}, &block)
16
+ # (see #get)
17
+
18
+ # @!method put(path, options={}, &block)
19
+ # (see #get)
20
+
21
+ [:get, :head, :post, :put].each do |req|
22
+ define_method(req) do |path, options={}, &block|
23
+ self.class.send(req, path, options, &block)
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,156 @@
1
+ module Backblaze::B2
2
+
3
+ ##
4
+ # A class to represent the online buckets. Mostly used for file access
5
+ class Bucket < Base
6
+
7
+ ##
8
+ # Creates a bucket from all of the possible parameters. This sould be rarely used and instead use a finder or creator
9
+ # @param [#to_s] bucket_name the bucket name
10
+ # @param [#to_s] bucket_id the bucket id
11
+ # @param [#to_s] bucket_type the bucket publicity type
12
+ # @param [#to_s] account_id the account to which this bucket belongs
13
+ def initialize(bucket_name:, bucket_id:, bucket_type:, account_id:)
14
+ @bucket_name = bucket_name
15
+ @bucket_id = bucket_id
16
+ @bucket_type = bucket_type
17
+ @account_id = account_id
18
+ end
19
+
20
+ # @return [String] bucket name
21
+ def bucket_name
22
+ @bucket_name
23
+ end
24
+
25
+ # @return [String] bucket id
26
+ def bucket_id
27
+ @bucket_id
28
+ end
29
+
30
+ # @return [Boolean] is the bucket public
31
+ def public?
32
+ @bucket_type == 'allPublic'
33
+ end
34
+
35
+ # @return [Boolean] is the bucket private
36
+ def private?
37
+ !public?
38
+ end
39
+
40
+ # @return [String] account id
41
+ def account_id
42
+ @account_id
43
+ end
44
+
45
+ # @return [String] bucket type
46
+ def bucket_type
47
+ @bucket_type
48
+ end
49
+
50
+ # Check if eqivalent. Takes advantage of globally unique names
51
+ # @return [Boolean] equality
52
+ def ==(other)
53
+ bucket_name == other.bucket_name
54
+ end
55
+
56
+ ##
57
+ # Lists all files that are in the bucket. This is the basic building block for the search.
58
+ # @param [Integer] limit max number of files to retreive. Set to `-1` to get all files.
59
+ # This is not exact as it mainly just throws the limit into max param on the request
60
+ # so it will try to grab at least `limit` files, unless there aren't enoungh in the bucket
61
+ # @param [Boolean] cache if there is no cache, create one. If there is a cache, use it.
62
+ # Will check if the previous cache had the same size limit and convert options
63
+ # @param [Boolean] convert convert the files to Backblaze::B2::File objects
64
+ # @param [Integer] double_check_server whether or not to assume the server returns the most files possible
65
+ # @return [Array<Backblaze::B2::File>] when convert is true
66
+ # @return [Array<Hash>] when convert is false
67
+ # @note many of these methods are for the recusion
68
+ def file_names(limit: 100, cache: false, convert: true, double_check_server: false)
69
+ if cache && !@file_cache.nil?
70
+ if limit <= @file_cache[:limit] && convert == @file_cache[:convert]
71
+ return @file_cache[:files]
72
+ end
73
+ end
74
+
75
+ retreive_count = (double_check_server ? 0 : -1)
76
+ files = file_list(limit: limit, retreived: retreive_count, first_file: nil, start_field: 'startFileName'.freeze)
77
+
78
+ files.map! do |f|
79
+ Backblaze::B2::File.new(f)
80
+ end if convert
81
+ if cache
82
+ @file_name_cache = {limit: limit, convert: convert, files: files}
83
+ end
84
+ files
85
+ end
86
+
87
+ class << self
88
+ ##
89
+ # Create a bucket
90
+ # @param [String] name name of the new bucket
91
+ # must be no more than 50 character and only contain letters, digits, "-", and "_".
92
+ # must be globally unique
93
+ # @param [:public, :private] type determines the type of bucket
94
+ # @raise [Backblaze::BucketError] unable to create the specified bucket
95
+ def create(name:, type:)
96
+ body = {
97
+ accountId: Backblaze::B2.account_id,
98
+ bucketName: name,
99
+ bucketType: (type == :public ? 'allPublic' : 'allPrivate')
100
+ }
101
+ response = post('/b2_create_bucket', body: body.to_json)
102
+
103
+ raise Backblaze::BucketError.new(response) unless response.code / 100 == 2
104
+
105
+ params = %w(account_id bucket_id bucket_name bucket_type).map {|e| [e.to_sym, response[camelize(e)]]}.to_h
106
+
107
+ new(params)
108
+ end
109
+ end
110
+
111
+ private
112
+
113
+ def file_list(limit:, retreived:, first_file:, start_field:)
114
+ params = {'bucketId' => bucket_id}
115
+ if limit == -1
116
+ params['maxFileCount'.freeze] = 1000
117
+ elsif limit > 1000
118
+ params['maxFileCount'.freeze] = 1000
119
+ elsif limit > 0
120
+ params['maxFileCount'.freeze] = limit
121
+ else
122
+ return []
123
+ end
124
+ unless first_file.nil?
125
+ params[start_field] = first_file
126
+ end
127
+
128
+ response = post("/b2_list_file_#{start_field == 'startFileName' ? 'names' : 'versions'}", body: params.to_json)
129
+
130
+ files = response['files']
131
+ files.map! do |f|
132
+ f.map {|k, v| [underscore(k).to_sym, v]}.to_h
133
+ end
134
+
135
+ retreived = retreived + files.size if retreived >= 0
136
+ if limit > 0
137
+ limit = limit - (retreived >= 0 ? files.size : 1000)
138
+ limit = 0 if limit < 0
139
+ end
140
+
141
+ next_item = response[start_field.sub('start', 'next')]
142
+
143
+ if (limit > 0 || limit == -1) && !!next_item
144
+ files.concat file_list(
145
+ first_file: next_item,
146
+ limit: limit,
147
+ convert: convert,
148
+ retreived: retreived,
149
+ start_field: start_field
150
+ )
151
+ else
152
+ files
153
+ end
154
+ end
155
+ end
156
+ end
@@ -0,0 +1,8 @@
1
+ module Backblaze::B2
2
+ class File < Base
3
+ def initialize(file_id:, file_name:, size:, account_id:)
4
+ @versions = []
5
+
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,5 @@
1
+ module Backblaze::B2
2
+ class FileVersion < Base
3
+
4
+ end
5
+ end
@@ -0,0 +1,63 @@
1
+ module Backblaze
2
+ ##
3
+ # Base Backblaze error class
4
+ # @abstract
5
+ class Error < StandardError
6
+ end
7
+
8
+ ##
9
+ # Basic needs for error messages.
10
+ # @note this could be abstract, but just keeps things simple.
11
+ class RequestError < Error
12
+ ##
13
+ # Creates the Error
14
+ # @param [HTTParty::Response] response the json response
15
+ def initialize(response)
16
+ @response = response
17
+ end
18
+
19
+ ##
20
+ # The response from the server
21
+ # @return [HTTParty::Response] the response
22
+ def response
23
+ @response
24
+ end
25
+
26
+ ##
27
+ # The Backblaze B2 error code
28
+ # @return [String] error code
29
+ def code
30
+ self['code']
31
+ end
32
+
33
+ ##
34
+ # The Backblaze B2 request status
35
+ # @return [Integer] status code
36
+ def status
37
+ self['status']
38
+ end
39
+
40
+ ##
41
+ # The Backblaze B2 error message which is a human explanation
42
+ # @return [String] the problem in human words
43
+ def message
44
+ self['message']
45
+ end
46
+
47
+
48
+ ##
49
+ # Shortcut to access the response keys
50
+ # @return [Object] the object stored at `key` in the response
51
+ def [](key)
52
+ @response[key]
53
+ end
54
+ end
55
+
56
+ ##
57
+ # Error class for authentication errors
58
+ class AuthError < RequestError; end
59
+
60
+ ##
61
+ # Error class for bucket errors
62
+ class BucketError < RequestError; end
63
+ end
@@ -0,0 +1,26 @@
1
+ module Backblaze::Utils
2
+ def underscore(word)
3
+ word.to_s.
4
+ gsub(/([A-Z\d]+)([A-Z][a-z])/,'\1_\2').
5
+ gsub(/([a-z\d])([A-Z])/,'\1_\2').
6
+ tr("-", "_").
7
+ downcase
8
+ end
9
+
10
+ def camelize(word, capitalize=false)
11
+ word = word.to_s
12
+ "#{capitalize ? word[0, 1].upcase : word[0, 1].downcase}#{word.split('_').map(&:capitalize).join('')[1..-1]}"
13
+ end
14
+
15
+ def self.included(base)
16
+ base.extend(ClassMethods)
17
+ end
18
+
19
+ module ClassMethods
20
+ include Backblaze::Utils
21
+ end
22
+
23
+ class << self
24
+ include Backblaze::Utils
25
+ end
26
+ end
@@ -0,0 +1,3 @@
1
+ module Backblaze
2
+ VERSION = "0.1.0-alpha"
3
+ end
metadata ADDED
@@ -0,0 +1,164 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: backblaze
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0.pre.alpha
5
+ platform: ruby
6
+ authors:
7
+ - Winston Durand
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-10-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.10'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.10'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: yard
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: webmock
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: httparty
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: Intended to offer a way to interact with Backblaze B2 Cloud Storage without
112
+ touching the API directly.
113
+ email:
114
+ - me@winstondurand.com
115
+ executables: []
116
+ extensions: []
117
+ extra_rdoc_files: []
118
+ files:
119
+ - ".gitignore"
120
+ - ".rspec"
121
+ - ".travis.yml"
122
+ - CODE_OF_CONDUCT.md
123
+ - Gemfile
124
+ - LICENSE.txt
125
+ - README.md
126
+ - Rakefile
127
+ - backblaze.gemspec
128
+ - bin/console
129
+ - bin/setup
130
+ - lib/backblaze.rb
131
+ - lib/backblaze/b2.rb
132
+ - lib/backblaze/b2/base.rb
133
+ - lib/backblaze/b2/bucket.rb
134
+ - lib/backblaze/b2/file.rb
135
+ - lib/backblaze/b2/file_version.rb
136
+ - lib/backblaze/errors.rb
137
+ - lib/backblaze/utils.rb
138
+ - lib/backblaze/version.rb
139
+ homepage: https://github.com/R167/backblaze
140
+ licenses:
141
+ - MIT
142
+ metadata: {}
143
+ post_install_message:
144
+ rdoc_options: []
145
+ require_paths:
146
+ - lib
147
+ required_ruby_version: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
152
+ required_rubygems_version: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - ">"
155
+ - !ruby/object:Gem::Version
156
+ version: 1.3.1
157
+ requirements: []
158
+ rubyforge_project:
159
+ rubygems_version: 2.4.5
160
+ signing_key:
161
+ specification_version: 4
162
+ summary: Interface for teh Backblaze B2 Cloud
163
+ test_files: []
164
+ has_rdoc: