fog-baggageazure 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.travis.yml +5 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +119 -0
- data/README.md +35 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/fog-baggageazure.gemspec +27 -0
- data/lib/fog/baggageazure/storage.rb +1 -0
- data/lib/fog/baggageazure/version.rb +5 -0
- data/lib/fog/baggageazure.rb +19 -0
- data/lib/fog/storage/baggageazure.rb +20 -0
- metadata +113 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 0b486047d68f18c691294f57d75e105504c77516
|
4
|
+
data.tar.gz: daaa057682d546ffda6572e9b494d9bb44123771
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 51bae27c1742217bbdc636f4213cc290eefc7e84593dc40312d87b17c63507a65f21f934993ab2bf01fcd7bd6fc67a4951b387beaebe1c80f4dccca694c403ec
|
7
|
+
data.tar.gz: e2758d57347737288bf86a9d067660cfc483d1f835bc9891a7d890ba7e9cc08511d637b4bd04a35bfe3baf5e435198a14479aad65158ede3d753cbfda18f88c0
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,119 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
fog-baggageazure (0.1.2)
|
5
|
+
fog-azure-rm (~> 0)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
azure-core (0.1.13)
|
11
|
+
faraday (~> 0.9)
|
12
|
+
faraday_middleware (~> 0.10)
|
13
|
+
nokogiri (~> 1.6)
|
14
|
+
azure-storage (0.11.5.preview)
|
15
|
+
azure-core (~> 0.1)
|
16
|
+
faraday (~> 0.9)
|
17
|
+
faraday_middleware (~> 0.10)
|
18
|
+
nokogiri (~> 1.6.0)
|
19
|
+
azure_mgmt_compute (0.9.0)
|
20
|
+
ms_rest_azure (~> 0.7.0)
|
21
|
+
azure_mgmt_dns (0.9.0)
|
22
|
+
ms_rest_azure (~> 0.7.0)
|
23
|
+
azure_mgmt_key_vault (0.9.0)
|
24
|
+
ms_rest_azure (~> 0.7.0)
|
25
|
+
azure_mgmt_network (0.9.0)
|
26
|
+
ms_rest_azure (~> 0.7.0)
|
27
|
+
azure_mgmt_resources (0.9.0)
|
28
|
+
ms_rest_azure (~> 0.7.0)
|
29
|
+
azure_mgmt_sql (0.9.0)
|
30
|
+
ms_rest_azure (~> 0.7.0)
|
31
|
+
azure_mgmt_storage (0.9.0)
|
32
|
+
ms_rest_azure (~> 0.7.0)
|
33
|
+
azure_mgmt_traffic_manager (0.9.0)
|
34
|
+
ms_rest_azure (~> 0.7.0)
|
35
|
+
bit-struct (0.16)
|
36
|
+
builder (3.2.3)
|
37
|
+
concurrent-ruby (1.0.5)
|
38
|
+
diff-lcs (1.3)
|
39
|
+
domain_name (0.5.20170404)
|
40
|
+
unf (>= 0.0.5, < 1.0.0)
|
41
|
+
excon (0.59.0)
|
42
|
+
faraday (0.13.1)
|
43
|
+
multipart-post (>= 1.2, < 3)
|
44
|
+
faraday-cookie_jar (0.0.6)
|
45
|
+
faraday (>= 0.7.4)
|
46
|
+
http-cookie (~> 1.0.0)
|
47
|
+
faraday_middleware (0.12.2)
|
48
|
+
faraday (>= 0.7.4, < 1.0)
|
49
|
+
fog-azure-rm (0.3.9)
|
50
|
+
azure-storage (= 0.11.5.preview)
|
51
|
+
azure_mgmt_compute (~> 0.9.0)
|
52
|
+
azure_mgmt_dns (~> 0.9.0)
|
53
|
+
azure_mgmt_key_vault (~> 0.9.0)
|
54
|
+
azure_mgmt_network (~> 0.9.0)
|
55
|
+
azure_mgmt_resources (~> 0.9.0)
|
56
|
+
azure_mgmt_sql (~> 0.9.0)
|
57
|
+
azure_mgmt_storage (~> 0.9.0)
|
58
|
+
azure_mgmt_traffic_manager (~> 0.9.0)
|
59
|
+
fog-core (~> 1.43)
|
60
|
+
fog-json (~> 1.0)
|
61
|
+
mime-types (= 1.25)
|
62
|
+
vhd (= 0.0.4)
|
63
|
+
fog-core (1.45.0)
|
64
|
+
builder
|
65
|
+
excon (~> 0.58)
|
66
|
+
formatador (~> 0.2)
|
67
|
+
fog-json (1.0.2)
|
68
|
+
fog-core (~> 1.0)
|
69
|
+
multi_json (~> 1.10)
|
70
|
+
formatador (0.2.5)
|
71
|
+
http-cookie (1.0.3)
|
72
|
+
domain_name (~> 0.5)
|
73
|
+
mime-types (1.25)
|
74
|
+
mini_portile2 (2.1.0)
|
75
|
+
ms_rest (0.6.4)
|
76
|
+
concurrent-ruby (~> 1.0)
|
77
|
+
faraday (~> 0.9)
|
78
|
+
timeliness (~> 0.3)
|
79
|
+
ms_rest_azure (0.7.0)
|
80
|
+
concurrent-ruby (~> 1.0)
|
81
|
+
faraday (~> 0.9)
|
82
|
+
faraday-cookie_jar (~> 0.0.6)
|
83
|
+
ms_rest (~> 0.6.3)
|
84
|
+
multi_json (1.12.2)
|
85
|
+
multipart-post (2.0.0)
|
86
|
+
nokogiri (1.6.8.1)
|
87
|
+
mini_portile2 (~> 2.1.0)
|
88
|
+
rake (10.5.0)
|
89
|
+
rspec (3.7.0)
|
90
|
+
rspec-core (~> 3.7.0)
|
91
|
+
rspec-expectations (~> 3.7.0)
|
92
|
+
rspec-mocks (~> 3.7.0)
|
93
|
+
rspec-core (3.7.0)
|
94
|
+
rspec-support (~> 3.7.0)
|
95
|
+
rspec-expectations (3.7.0)
|
96
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
97
|
+
rspec-support (~> 3.7.0)
|
98
|
+
rspec-mocks (3.7.0)
|
99
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
100
|
+
rspec-support (~> 3.7.0)
|
101
|
+
rspec-support (3.7.0)
|
102
|
+
timeliness (0.3.8)
|
103
|
+
unf (0.1.4)
|
104
|
+
unf_ext
|
105
|
+
unf_ext (0.0.7.4)
|
106
|
+
vhd (0.0.4)
|
107
|
+
bit-struct
|
108
|
+
|
109
|
+
PLATFORMS
|
110
|
+
ruby
|
111
|
+
|
112
|
+
DEPENDENCIES
|
113
|
+
bundler (~> 1.16)
|
114
|
+
fog-baggageazure!
|
115
|
+
rake (~> 10.0)
|
116
|
+
rspec (~> 3.0)
|
117
|
+
|
118
|
+
BUNDLED WITH
|
119
|
+
1.16.0
|
data/README.md
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# FogBaggageAzure
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/fog_baggage_azure`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'fog_baggage_azure'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install fog_baggage_azure
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
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).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/fog_baggage_azure.
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'fog_baggage_azure'
|
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(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'fog/baggageazure/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'fog-baggageazure'
|
8
|
+
spec.version = ::Fog::BaggageAzure::VERSION
|
9
|
+
spec.authors = ['Stuart Harland']
|
10
|
+
spec.email = ['s.harland@livelinktechnology.net']
|
11
|
+
|
12
|
+
spec.summary = 'Baggage Azure Fog connector'
|
13
|
+
spec.description = 'Connector to maintain API consistency'
|
14
|
+
spec.homepage = 'http://example.com'
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
17
|
+
f.match(%r{^(test|spec|features)/})
|
18
|
+
end
|
19
|
+
spec.bindir = 'exe'
|
20
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
|
+
spec.require_paths = ['lib']
|
22
|
+
|
23
|
+
spec.add_dependency 'fog-azure-rm', '~> 0'
|
24
|
+
spec.add_development_dependency 'bundler', '~> 1.16'
|
25
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
26
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
27
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
# Intentionally blank
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'fog/core'
|
2
|
+
require 'fileutils'
|
3
|
+
require File.expand_path('../baggageazure/version', __FILE__)
|
4
|
+
|
5
|
+
module Fog
|
6
|
+
# Storage module
|
7
|
+
#
|
8
|
+
module Storage
|
9
|
+
autoload :Baggageazure,
|
10
|
+
File.expand_path('../storage/baggageazure', __FILE__)
|
11
|
+
end
|
12
|
+
|
13
|
+
# Baggage Azure connector
|
14
|
+
module Baggageazure
|
15
|
+
extend Fog::Provider
|
16
|
+
|
17
|
+
service(:storage, 'Storage')
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require 'fog/azurerm'
|
2
|
+
module Fog
|
3
|
+
module Storage
|
4
|
+
# Connector class to ensure API Compatibility for Baggage
|
5
|
+
class Baggageazure < ::Fog::Storage::AzureRM
|
6
|
+
recognizes :azure_storage_account_name, :azure_storage_access_key
|
7
|
+
def self.new(options)
|
8
|
+
unless options[:azure_storage_account_name]
|
9
|
+
raise ArgumentError,
|
10
|
+
'Invalid azure_storage_account_name'
|
11
|
+
end
|
12
|
+
unless options[:azure_storage_access_key]
|
13
|
+
raise ArgumentError,
|
14
|
+
'Invalid azure_storage_access_key'
|
15
|
+
end
|
16
|
+
super(options)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
metadata
ADDED
@@ -0,0 +1,113 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fog-baggageazure
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Stuart Harland
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-12-06 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: fog-azure-rm
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.16'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.16'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.0'
|
69
|
+
description: Connector to maintain API consistency
|
70
|
+
email:
|
71
|
+
- s.harland@livelinktechnology.net
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- ".gitignore"
|
77
|
+
- ".rspec"
|
78
|
+
- ".travis.yml"
|
79
|
+
- Gemfile
|
80
|
+
- Gemfile.lock
|
81
|
+
- README.md
|
82
|
+
- Rakefile
|
83
|
+
- bin/console
|
84
|
+
- bin/setup
|
85
|
+
- fog-baggageazure.gemspec
|
86
|
+
- lib/fog/baggageazure.rb
|
87
|
+
- lib/fog/baggageazure/storage.rb
|
88
|
+
- lib/fog/baggageazure/version.rb
|
89
|
+
- lib/fog/storage/baggageazure.rb
|
90
|
+
homepage: http://example.com
|
91
|
+
licenses: []
|
92
|
+
metadata: {}
|
93
|
+
post_install_message:
|
94
|
+
rdoc_options: []
|
95
|
+
require_paths:
|
96
|
+
- lib
|
97
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - ">="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
|
+
requirements:
|
104
|
+
- - ">="
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: '0'
|
107
|
+
requirements: []
|
108
|
+
rubyforge_project:
|
109
|
+
rubygems_version: 2.6.13
|
110
|
+
signing_key:
|
111
|
+
specification_version: 4
|
112
|
+
summary: Baggage Azure Fog connector
|
113
|
+
test_files: []
|