vagrant-profitbricks 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +25 -0
  3. data/Appraisals +35 -0
  4. data/CHANGELOG.md +3 -0
  5. data/Gemfile +18 -0
  6. data/LICENSE +202 -0
  7. data/README.md +268 -0
  8. data/RELEASE.md +15 -0
  9. data/Rakefile +21 -0
  10. data/Vagrantfile +30 -0
  11. data/bootstrap.cmd +16 -0
  12. data/dummy.box +36 -0
  13. data/example_box/README.md +13 -0
  14. data/example_box/metadata.json +3 -0
  15. data/features/provision.feature +36 -0
  16. data/features/steps/sdk_steps.rb +13 -0
  17. data/features/steps/server_steps.rb +25 -0
  18. data/features/support/env.rb +35 -0
  19. data/features/support/fog_mock.rb +17 -0
  20. data/features/vagrant-profitbricks.feature +66 -0
  21. data/lib/vagrant-profitbricks.rb +53 -0
  22. data/lib/vagrant-profitbricks/action.rb +166 -0
  23. data/lib/vagrant-profitbricks/action/connect_profitbricks.rb +39 -0
  24. data/lib/vagrant-profitbricks/action/create_image.rb +53 -0
  25. data/lib/vagrant-profitbricks/action/create_server.rb +194 -0
  26. data/lib/vagrant-profitbricks/action/delete_server.rb +43 -0
  27. data/lib/vagrant-profitbricks/action/is_created.rb +16 -0
  28. data/lib/vagrant-profitbricks/action/list_flavors.rb +20 -0
  29. data/lib/vagrant-profitbricks/action/list_images.rb +20 -0
  30. data/lib/vagrant-profitbricks/action/list_keypairs.rb +20 -0
  31. data/lib/vagrant-profitbricks/action/list_networks.rb +20 -0
  32. data/lib/vagrant-profitbricks/action/list_servers.rb +21 -0
  33. data/lib/vagrant-profitbricks/action/message_already_created.rb +16 -0
  34. data/lib/vagrant-profitbricks/action/message_not_created.rb +16 -0
  35. data/lib/vagrant-profitbricks/action/read_ssh_info.rb +49 -0
  36. data/lib/vagrant-profitbricks/action/read_state.rb +39 -0
  37. data/lib/vagrant-profitbricks/action/run_init_script.rb +28 -0
  38. data/lib/vagrant-profitbricks/command/create_image.rb +21 -0
  39. data/lib/vagrant-profitbricks/command/flavors.rb +21 -0
  40. data/lib/vagrant-profitbricks/command/images.rb +33 -0
  41. data/lib/vagrant-profitbricks/command/keypairs.rb +21 -0
  42. data/lib/vagrant-profitbricks/command/list_images.rb +21 -0
  43. data/lib/vagrant-profitbricks/command/networks.rb +21 -0
  44. data/lib/vagrant-profitbricks/command/root.rb +79 -0
  45. data/lib/vagrant-profitbricks/command/servers.rb +21 -0
  46. data/lib/vagrant-profitbricks/config.rb +152 -0
  47. data/lib/vagrant-profitbricks/errors.rb +39 -0
  48. data/lib/vagrant-profitbricks/plugin.rb +44 -0
  49. data/lib/vagrant-profitbricks/provider.rb +50 -0
  50. data/lib/vagrant-profitbricks/version.rb +5 -0
  51. data/locales/en.yml +124 -0
  52. data/spec/spec_helper.rb +20 -0
  53. data/spec/vagrant-profitbricks/actions/list_flavors_spec.rb +48 -0
  54. data/spec/vagrant-profitbricks/actions/list_images_spec.rb +48 -0
  55. data/spec/vagrant-profitbricks/config_spec.rb +150 -0
  56. data/vagrant-profitbricks.gemspec +25 -0
  57. metadata +164 -0
@@ -0,0 +1,25 @@
1
+ # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'vagrant-profitbricks/version'
5
+
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "vagrant-profitbricks"
8
+ gem.version = VagrantPlugins::ProfitBricks::VERSION
9
+ gem.authors = ["Matt Baldwin"]
10
+ gem.email = ["baldwin@stackpointcloud.com"]
11
+ gem.description = "Enables Vagrant to manage machines in a ProfitBricks Virtual Data Center."
12
+ gem.summary = "Enables Vagrant to manage machines in a ProfitBricks Virtual Data Center."
13
+ gem.homepage = "https://devops.proftibricks.com"
14
+
15
+ gem.add_runtime_dependency "fog-profitbricks", "~> 3.0"
16
+
17
+ gem.add_development_dependency "rake"
18
+ gem.add_development_dependency "rspec", "~> 2.14.0"
19
+ gem.add_development_dependency "aruba", "~> 0.5.4"
20
+
21
+ gem.files = `git ls-files`.split($/)
22
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
23
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
24
+ gem.require_paths = ["lib"]
25
+ end
metadata ADDED
@@ -0,0 +1,164 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: vagrant-profitbricks
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Matt Baldwin
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-11-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: fog-profitbricks
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '3.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '3.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '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: 2.14.0
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 2.14.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: aruba
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 0.5.4
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: 0.5.4
69
+ description: Enables Vagrant to manage machines in a ProfitBricks Virtual Data Center.
70
+ email:
71
+ - baldwin@stackpointcloud.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - .gitignore
77
+ - Appraisals
78
+ - CHANGELOG.md
79
+ - Gemfile
80
+ - LICENSE
81
+ - README.md
82
+ - RELEASE.md
83
+ - Rakefile
84
+ - Vagrantfile
85
+ - bootstrap.cmd
86
+ - dummy.box
87
+ - example_box/README.md
88
+ - example_box/metadata.json
89
+ - features/provision.feature
90
+ - features/steps/sdk_steps.rb
91
+ - features/steps/server_steps.rb
92
+ - features/support/env.rb
93
+ - features/support/fog_mock.rb
94
+ - features/vagrant-profitbricks.feature
95
+ - lib/vagrant-profitbricks.rb
96
+ - lib/vagrant-profitbricks/action.rb
97
+ - lib/vagrant-profitbricks/action/connect_profitbricks.rb
98
+ - lib/vagrant-profitbricks/action/create_image.rb
99
+ - lib/vagrant-profitbricks/action/create_server.rb
100
+ - lib/vagrant-profitbricks/action/delete_server.rb
101
+ - lib/vagrant-profitbricks/action/is_created.rb
102
+ - lib/vagrant-profitbricks/action/list_flavors.rb
103
+ - lib/vagrant-profitbricks/action/list_images.rb
104
+ - lib/vagrant-profitbricks/action/list_keypairs.rb
105
+ - lib/vagrant-profitbricks/action/list_networks.rb
106
+ - lib/vagrant-profitbricks/action/list_servers.rb
107
+ - lib/vagrant-profitbricks/action/message_already_created.rb
108
+ - lib/vagrant-profitbricks/action/message_not_created.rb
109
+ - lib/vagrant-profitbricks/action/read_ssh_info.rb
110
+ - lib/vagrant-profitbricks/action/read_state.rb
111
+ - lib/vagrant-profitbricks/action/run_init_script.rb
112
+ - lib/vagrant-profitbricks/command/create_image.rb
113
+ - lib/vagrant-profitbricks/command/flavors.rb
114
+ - lib/vagrant-profitbricks/command/images.rb
115
+ - lib/vagrant-profitbricks/command/keypairs.rb
116
+ - lib/vagrant-profitbricks/command/list_images.rb
117
+ - lib/vagrant-profitbricks/command/networks.rb
118
+ - lib/vagrant-profitbricks/command/root.rb
119
+ - lib/vagrant-profitbricks/command/servers.rb
120
+ - lib/vagrant-profitbricks/config.rb
121
+ - lib/vagrant-profitbricks/errors.rb
122
+ - lib/vagrant-profitbricks/plugin.rb
123
+ - lib/vagrant-profitbricks/provider.rb
124
+ - lib/vagrant-profitbricks/version.rb
125
+ - locales/en.yml
126
+ - spec/spec_helper.rb
127
+ - spec/vagrant-profitbricks/actions/list_flavors_spec.rb
128
+ - spec/vagrant-profitbricks/actions/list_images_spec.rb
129
+ - spec/vagrant-profitbricks/config_spec.rb
130
+ - vagrant-profitbricks.gemspec
131
+ homepage: https://devops.proftibricks.com
132
+ licenses: []
133
+ metadata: {}
134
+ post_install_message:
135
+ rdoc_options: []
136
+ require_paths:
137
+ - lib
138
+ required_ruby_version: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - '>='
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
143
+ required_rubygems_version: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - '>='
146
+ - !ruby/object:Gem::Version
147
+ version: '0'
148
+ requirements: []
149
+ rubyforge_project:
150
+ rubygems_version: 2.0.14
151
+ signing_key:
152
+ specification_version: 4
153
+ summary: Enables Vagrant to manage machines in a ProfitBricks Virtual Data Center.
154
+ test_files:
155
+ - features/provision.feature
156
+ - features/steps/sdk_steps.rb
157
+ - features/steps/server_steps.rb
158
+ - features/support/env.rb
159
+ - features/support/fog_mock.rb
160
+ - features/vagrant-profitbricks.feature
161
+ - spec/spec_helper.rb
162
+ - spec/vagrant-profitbricks/actions/list_flavors_spec.rb
163
+ - spec/vagrant-profitbricks/actions/list_images_spec.rb
164
+ - spec/vagrant-profitbricks/config_spec.rb