vagrant-tiktalik 0.0.1

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.
@@ -0,0 +1,60 @@
1
+ $:.unshift File.expand_path("../lib", __FILE__)
2
+ require "vagrant-tiktalik/version"
3
+
4
+ Gem::Specification.new do |s|
5
+ s.name = "vagrant-tiktalik"
6
+ s.version = VagrantPlugins::TiktalikVagrant::VERSION
7
+ s.platform = Gem::Platform::RUBY
8
+ s.authors = "Aleksander Piotrowski"
9
+ s.email = "alek@nic.com.pl"
10
+ s.homepage = "https://www.tiktalik.com"
11
+ s.summary = "A Vagrant provider plugin that supports the management of Tiktalik.com instances."
12
+ s.description = "Enables Vagrant to manage machines in Tiktalik.com Cloud."
13
+ s.license = 'MIT'
14
+
15
+ s.required_rubygems_version = ">= 1.3.6"
16
+ s.rubyforge_project = "vagrant-tiktalik"
17
+
18
+ # s.add_runtime_dependency "fog", "~> 1.10.0"
19
+ s.add_runtime_dependency "tiktalik", "~> 1.0.3"
20
+
21
+ s.add_development_dependency "rake"
22
+ s.add_development_dependency "rspec-core", "~> 2.12.2"
23
+ s.add_development_dependency "rspec-expectations", "~> 2.12.1"
24
+ s.add_development_dependency "rspec-mocks", "~> 2.12.1"
25
+
26
+ # The following block of code determines the files that should be included
27
+ # in the gem. It does this by reading all the files in the directory where
28
+ # this gemspec is, and parsing out the ignored files from the gitignore.
29
+ # Note that the entire gitignore(5) syntax is not supported, specifically
30
+ # the "!" syntax, but it should mostly work correctly.
31
+ root_path = File.dirname(__FILE__)
32
+ all_files = Dir.chdir(root_path) { Dir.glob("**/{*,.*}") }
33
+ all_files.reject! { |file| [".", ".."].include?(File.basename(file)) }
34
+ gitignore_path = File.join(root_path, ".gitignore")
35
+ gitignore = File.readlines(gitignore_path)
36
+ gitignore.map! { |line| line.chomp.strip }
37
+ gitignore.reject! { |line| line.empty? || line =~ /^(#|!)/ }
38
+
39
+ unignored_files = all_files.reject do |file|
40
+ # Ignore any directories, the gemspec only cares about files
41
+ next true if File.directory?(file)
42
+
43
+ # Ignore any paths that match anything in the gitignore. We do
44
+ # two tests here:
45
+ #
46
+ # - First, test to see if the entire path matches the gitignore.
47
+ # - Second, match if the basename does, this makes it so that things
48
+ # like '.DS_Store' will match sub-directories too (same behavior
49
+ # as git).
50
+ #
51
+ gitignore.any? do |ignore|
52
+ File.fnmatch(ignore, file, File::FNM_PATHNAME) ||
53
+ File.fnmatch(ignore, File.basename(file), File::FNM_PATHNAME)
54
+ end
55
+ end
56
+
57
+ s.files = unignored_files
58
+ s.executables = unignored_files.map { |f| f[/^bin\/(.*)/, 1] }.compact
59
+ s.require_path = 'lib'
60
+ end
metadata ADDED
@@ -0,0 +1,145 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: vagrant-tiktalik
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Aleksander Piotrowski
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-10-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: tiktalik
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: 1.0.3
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 1.0.3
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-core
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: 2.12.2
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 2.12.2
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec-expectations
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 2.12.1
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: 2.12.1
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec-mocks
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: 2.12.1
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: 2.12.1
83
+ description: Enables Vagrant to manage machines in Tiktalik.com Cloud.
84
+ email: alek@nic.com.pl
85
+ executables: []
86
+ extensions: []
87
+ extra_rdoc_files: []
88
+ files:
89
+ - box/build.sh
90
+ - box/metadata.json
91
+ - box/tiktalik.box
92
+ - Gemfile
93
+ - lib/vagrant-tiktalik/action/is_created.rb
94
+ - lib/vagrant-tiktalik/action/message_already_created.rb
95
+ - lib/vagrant-tiktalik/action/message_not_created.rb
96
+ - lib/vagrant-tiktalik/action/message_will_not_destroy.rb
97
+ - lib/vagrant-tiktalik/action/power_off.rb
98
+ - lib/vagrant-tiktalik/action/power_on.rb
99
+ - lib/vagrant-tiktalik/action/read_ssh_info.rb
100
+ - lib/vagrant-tiktalik/action/read_state.rb
101
+ - lib/vagrant-tiktalik/action/run_instance.rb
102
+ - lib/vagrant-tiktalik/action/sync_folders.rb
103
+ - lib/vagrant-tiktalik/action/terminate_instance.rb
104
+ - lib/vagrant-tiktalik/action/timed_provision.rb
105
+ - lib/vagrant-tiktalik/action/warn_networks.rb
106
+ - lib/vagrant-tiktalik/action.rb
107
+ - lib/vagrant-tiktalik/config.rb
108
+ - lib/vagrant-tiktalik/errors.rb
109
+ - lib/vagrant-tiktalik/plugin.rb
110
+ - lib/vagrant-tiktalik/provider.rb
111
+ - lib/vagrant-tiktalik/util/timer.rb
112
+ - lib/vagrant-tiktalik/version.rb
113
+ - lib/vagrant-tiktalik.rb
114
+ - LICENSE
115
+ - locales/en.yml
116
+ - Rakefile
117
+ - README.md
118
+ - spec/vagrant-tiktalik/config_spec.rb
119
+ - vagrant-tiktalik.gemspec
120
+ - .gitignore
121
+ homepage: https://www.tiktalik.com
122
+ licenses:
123
+ - MIT
124
+ metadata: {}
125
+ post_install_message:
126
+ rdoc_options: []
127
+ require_paths:
128
+ - lib
129
+ required_ruby_version: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ required_rubygems_version: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '>='
137
+ - !ruby/object:Gem::Version
138
+ version: 1.3.6
139
+ requirements: []
140
+ rubyforge_project: vagrant-tiktalik
141
+ rubygems_version: 2.0.7
142
+ signing_key:
143
+ specification_version: 4
144
+ summary: A Vagrant provider plugin that supports the management of Tiktalik.com instances.
145
+ test_files: []