nifty 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 144a359133c932d83555b37798b63e89b809efa0
4
+ data.tar.gz: 25c2ca02a30599c5551dd3f732421144e20ddc05
5
+ SHA512:
6
+ metadata.gz: 1438877502e061b80cf124843c1807818d47b6bb3a7967004841221487eb98a14e069bb76b6c177279fc1a0c6c0f89ebc784128aa117001e9f16eca118de09f0
7
+ data.tar.gz: e579c6241833505e0e3802cde2e21beb0bf7e0a3ba714600c849ed5bcd60434453727c8cec7187b6df5960bb92bfa42196d58d26a89e297a665c40392626dc8e
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ /vendor/
11
+ /.idea/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,46 @@
1
+ language: ruby
2
+
3
+ rvm:
4
+ - 1.9.3
5
+ - 2.0.0
6
+ - 2.1
7
+ - 2.2.1
8
+ - ruby-head
9
+ - jruby-19mode
10
+ - jruby-head
11
+
12
+ jdk:
13
+ - openjdk7
14
+ - oraclejdk7
15
+ - openjdk6
16
+
17
+ matrix:
18
+ allow_failures:
19
+ - rvm: ruby-head
20
+ - rvm: jruby-head
21
+ exclude:
22
+ - rvm: 1.9.3
23
+ jdk: openjdk7
24
+ - rvm: 1.9.3
25
+ jdk: oraclejdk7
26
+ - rvm: 2.0.0
27
+ jdk: openjdk7
28
+ - rvm: 2.0.0
29
+ jdk: oraclejdk7
30
+ - rvm: 2.1
31
+ jdk: openjdk7
32
+ - rvm: 2.1
33
+ jdk: oraclejdk7
34
+ - rvm: 2.2.1
35
+ jdk: openjdk7
36
+ - rvm: 2.2.1
37
+ jdk: oraclejdk7
38
+ - rvm: ruby-head
39
+ jdk: openjdk7
40
+ - rvm: ruby-head
41
+ jdk: oraclejdk7
42
+ fast_finish: true
43
+
44
+ branches:
45
+ only:
46
+ - master
@@ -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, 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,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Michal Kimle
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.
data/README.md ADDED
@@ -0,0 +1,53 @@
1
+ # NIFTY - openNebula Image File synchronizaTion utilitY
2
+
3
+ NIFTY is a tool for uploading and registering cloud appliances in OpenNebula.
4
+
5
+ [![Build Status](https://secure.travis-ci.org/Misenko/nifty.png)](http://travis-ci.org/Misenko/nifty)
6
+ [![Dependency Status](https://gemnasium.com/Misenko/nifty.png)](https://gemnasium.com/Misenko/nifty)
7
+ [![Gem Version](https://fury-badge.herokuapp.com/rb/nifty.png)](https://badge.fury.io/rb/nifty)
8
+ [![Code Climate](https://codeclimate.com/github/Misenko/nifty.png)](https://codeclimate.com/github/Misenko/nifty)
9
+
10
+ ##Requirements
11
+ * Ruby >= 1.9.3
12
+ * Rubygems
13
+
14
+ ## Installation
15
+ **Unfortunately, neither gem nor packages are available for NIFTY right now. To try NIFTY, please use the [From source](#from-source-dev) guide below.**
16
+
17
+ ###From source (dev)
18
+ **Installation from source should never be your first choice! Especially, if you are not
19
+ familiar with RVM, Bundler, Rake and other dev tools for Ruby!**
20
+
21
+ **However, if you wish to contribute to our project, this is the right way to start.**
22
+
23
+ To build and install the bleeding edge version from master
24
+
25
+ ```bash
26
+ git clone git://github.com/Misenko/nifty.git
27
+ cd nifty
28
+ gem install bundler
29
+ bundle install
30
+ bundle exec rake spec
31
+ ```
32
+
33
+ ##Configuration
34
+ ###Create a configuration file for NIFTY
35
+ Configuration file can be read by NIFTY from these
36
+ three locations:
37
+
38
+ * `~/.nifty/conf.yml`
39
+ * `/etc/nifty/conf.yml`
40
+ * `PATH_TO_GEM_DIR/config/conf.yml`
41
+
42
+ The example configuration file can be found at the last location
43
+ `PATH_TO_GEM_DIR/config/conf.yml`.
44
+
45
+ ## Usage
46
+ NIFTY is run with executable `nifty`.
47
+
48
+ ## Contributing
49
+ 1. Fork it ( https://github.com/[my-github-username]/nifty/fork )
50
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
51
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
52
+ 4. Push to the branch (`git push origin my-new-feature`)
53
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,24 @@
1
+ require 'rubygems'
2
+ require 'rubygems/tasks'
3
+
4
+ Gem::Tasks.new(build: { tar: true, zip: true }, sign: { checksum: true, pgp: false })
5
+
6
+ desc 'Run all tests; includes rspec and coverage reports'
7
+ task default: 'test:all'
8
+
9
+ desc 'Run all tests; includes rspec and coverage reports'
10
+ task spec: 'test:all'
11
+
12
+ namespace :test do
13
+ require 'rspec/core/rake_task'
14
+
15
+ RSpec::Core::RakeTask.new(:rspec) do |_t|
16
+ ENV['COVERAGE'] = 'true'
17
+ end
18
+
19
+ desc 'Run rspec to generate aggregated coverage'
20
+ task :all do |_t|
21
+ rm 'coverage/coverage.data' if File.exist?('coverage/coverage.data')
22
+ Rake::Task['test:rspec'].invoke
23
+ end
24
+ end
data/bin/nifty ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env ruby
2
+ require 'nifty'
@@ -0,0 +1,3 @@
1
+ module Nifty
2
+ VERSION = "0.0.1"
3
+ end
data/lib/nifty.rb ADDED
@@ -0,0 +1,3 @@
1
+ module Nifty; end
2
+
3
+ require "nifty/version"
data/nifty.gemspec ADDED
@@ -0,0 +1,34 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'nifty/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'nifty'
8
+ spec.version = Nifty::VERSION
9
+ spec.authors = ['Michal Kimle']
10
+ spec.email = ['kimle.michal@gmail.com']
11
+
12
+ spec.summary = %q{A tool for uploading and registering cloud appliances in OpenNebula.}
13
+ spec.description = %q{A tool for uploading and registering cloud appliances in OpenNebula.}
14
+ spec.homepage = 'https://github.com/Misenko/nifty'
15
+ spec.license = 'MIT'
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency 'bundler', '~> 1.7'
22
+ spec.add_development_dependency 'rake', '~> 10.0'
23
+ spec.add_development_dependency 'rspec', '~> 3.0.0'
24
+ spec.add_development_dependency 'simplecov', '~> 0.9.0'
25
+ spec.add_development_dependency 'rubygems-tasks', '~> 0.2.4'
26
+ spec.add_development_dependency 'rubocop', '~> 0.32'
27
+
28
+ spec.add_runtime_dependency 'settingslogic', '~> 2.0.9'
29
+ spec.add_runtime_dependency 'thor', '~> 0.19'
30
+ spec.add_runtime_dependency 'yell', '~> 2.0'
31
+ spec.add_runtime_dependency 'opennebula', '~> 4.12', '>= 4.12.1'
32
+
33
+ spec.required_ruby_version = '>= 1.9.3'
34
+ end
metadata ADDED
@@ -0,0 +1,203 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nifty
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Michal Kimle
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-09-15 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.7'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
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: 3.0.0
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 3.0.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: simplecov
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.9.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.9.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubygems-tasks
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.2.4
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.2.4
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.32'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.32'
97
+ - !ruby/object:Gem::Dependency
98
+ name: settingslogic
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 2.0.9
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 2.0.9
111
+ - !ruby/object:Gem::Dependency
112
+ name: thor
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0.19'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0.19'
125
+ - !ruby/object:Gem::Dependency
126
+ name: yell
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '2.0'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '2.0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: opennebula
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '4.12'
146
+ - - ">="
147
+ - !ruby/object:Gem::Version
148
+ version: 4.12.1
149
+ type: :runtime
150
+ prerelease: false
151
+ version_requirements: !ruby/object:Gem::Requirement
152
+ requirements:
153
+ - - "~>"
154
+ - !ruby/object:Gem::Version
155
+ version: '4.12'
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: 4.12.1
159
+ description: A tool for uploading and registering cloud appliances in OpenNebula.
160
+ email:
161
+ - kimle.michal@gmail.com
162
+ executables:
163
+ - nifty
164
+ extensions: []
165
+ extra_rdoc_files: []
166
+ files:
167
+ - ".gitignore"
168
+ - ".rspec"
169
+ - ".travis.yml"
170
+ - CODE_OF_CONDUCT.md
171
+ - Gemfile
172
+ - LICENSE.txt
173
+ - README.md
174
+ - Rakefile
175
+ - bin/nifty
176
+ - lib/nifty.rb
177
+ - lib/nifty/version.rb
178
+ - nifty.gemspec
179
+ homepage: https://github.com/Misenko/nifty
180
+ licenses:
181
+ - MIT
182
+ metadata: {}
183
+ post_install_message:
184
+ rdoc_options: []
185
+ require_paths:
186
+ - lib
187
+ required_ruby_version: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - ">="
190
+ - !ruby/object:Gem::Version
191
+ version: 1.9.3
192
+ required_rubygems_version: !ruby/object:Gem::Requirement
193
+ requirements:
194
+ - - ">="
195
+ - !ruby/object:Gem::Version
196
+ version: '0'
197
+ requirements: []
198
+ rubyforge_project:
199
+ rubygems_version: 2.4.8
200
+ signing_key:
201
+ specification_version: 4
202
+ summary: A tool for uploading and registering cloud appliances in OpenNebula.
203
+ test_files: []