clone.io 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.md +20 -0
- data/README.md +89 -0
- data/bin/clone.io +8 -0
- data/lib/clone.io.rb +5 -0
- data/lib/clone.io/cli.rb +40 -0
- data/lib/clone.io/identity.rb +28 -0
- data/lib/tasks/console.rake +7 -0
- data/lib/tasks/rspec.rake +6 -0
- data/lib/tasks/rubocop.rake +6 -0
- metadata +266 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c4e64bf7795272763f23f330ec652b6b91e73dfd
|
4
|
+
data.tar.gz: 85fa578c352ba5e7e971aebc44e8ae09101e4c08
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 3a2917b7b8330a2f2cb104166f51bab92cf24a94a10f92faa78760dc38e2d7ed3295488e5d648e9c5d2f7a029cfa486cb36e3c627fac2be42ab64866dfab4f6d
|
7
|
+
data.tar.gz: fecb45e3abfa3c00b0f21b513e225c8366242971e929c6cfc6af38dfa390b1ad657722a7c726979142e9ee3945f3f3e19c2da1dd561299859de2700a1afca821
|
data/LICENSE.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2016 [Stefano Harding](https://github.com/riddopic/clone.io).
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,89 @@
|
|
1
|
+
# CloneIo
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/clone.io.svg)](http://badge.fury.io/rb/clone.io)
|
4
|
+
[![Code Climate GPA](https://codeclimate.com/github//clone.io.svg)](https://codeclimate.com/github//clone.io)
|
5
|
+
[![Code Climate Coverage](https://codeclimate.com/github//clone.io/coverage.svg)](https://codeclimate.com/github//clone.io)
|
6
|
+
[![Gemnasium Status](https://gemnasium.com//clone.io.svg)](https://gemnasium.com//clone.io)
|
7
|
+
[![Travis CI Status](https://secure.travis-ci.org//clone.io.svg)](https://travis-ci.org//clone.io)
|
8
|
+
[![Patreon](https://img.shields.io/badge/patreon-donate-brightgreen.svg)](https://www.patreon.com/)
|
9
|
+
|
10
|
+
<!-- Tocer[start]: Auto-generated, don't remove. -->
|
11
|
+
|
12
|
+
# Table of Contents
|
13
|
+
|
14
|
+
- [Features](#features)
|
15
|
+
- [Screencasts](#screencasts)
|
16
|
+
- [Requirements](#requirements)
|
17
|
+
- [Setup](#setup)
|
18
|
+
- [Usage](#usage)
|
19
|
+
- [Tests](#tests)
|
20
|
+
- [Versioning](#versioning)
|
21
|
+
- [Code of Conduct](#code-of-conduct)
|
22
|
+
- [Contributions](#contributions)
|
23
|
+
- [License](#license)
|
24
|
+
- [History](#history)
|
25
|
+
- [Credits](#credits)
|
26
|
+
|
27
|
+
<!-- Tocer[finish]: Auto-generated, don't remove. -->
|
28
|
+
|
29
|
+
# Features
|
30
|
+
|
31
|
+
# Screencasts
|
32
|
+
|
33
|
+
# Requirements
|
34
|
+
|
35
|
+
0. [MRI 2.3.1](https://www.ruby-lang.org)
|
36
|
+
|
37
|
+
# Setup
|
38
|
+
|
39
|
+
For a secure install, type the following (recommended):
|
40
|
+
|
41
|
+
gem cert --add <(curl --location --silent /gem-public.pem)
|
42
|
+
gem install clone.io --trust-policy MediumSecurity
|
43
|
+
|
44
|
+
NOTE: A HighSecurity trust policy would be best but MediumSecurity enables signed gem verification while
|
45
|
+
allowing the installation of unsigned dependencies since they are beyond the scope of this gem.
|
46
|
+
|
47
|
+
For an insecure install, type the following (not recommended):
|
48
|
+
|
49
|
+
gem install clone.io
|
50
|
+
|
51
|
+
|
52
|
+
# Usage
|
53
|
+
|
54
|
+
# Tests
|
55
|
+
|
56
|
+
To test, run:
|
57
|
+
|
58
|
+
bundle exec rake
|
59
|
+
|
60
|
+
# Versioning
|
61
|
+
|
62
|
+
Read [Semantic Versioning](http://semver.org) for details. Briefly, it means:
|
63
|
+
|
64
|
+
- Patch (x.y.Z) - Incremented for small, backwards compatible bug fixes.
|
65
|
+
- Minor (x.Y.z) - Incremented for new, backwards compatible public API enhancements and/or bug fixes.
|
66
|
+
- Major (X.y.z) - Incremented for any backwards incompatible public API changes.
|
67
|
+
|
68
|
+
# Code of Conduct
|
69
|
+
|
70
|
+
Please note that this project is released with a [CODE OF CONDUCT](CODE_OF_CONDUCT.md). By participating in this project
|
71
|
+
you agree to abide by its terms.
|
72
|
+
|
73
|
+
# Contributions
|
74
|
+
|
75
|
+
Read [CONTRIBUTING](CONTRIBUTING.md) for details.
|
76
|
+
|
77
|
+
# License
|
78
|
+
|
79
|
+
Copyright (c) 2016 []().
|
80
|
+
Read the [LICENSE](LICENSE.md) for details.
|
81
|
+
|
82
|
+
# History
|
83
|
+
|
84
|
+
Read the [CHANGELOG](CHANGELOG.md) for details.
|
85
|
+
Built with [Gemsmith](https://github.com/bkuhlmann/gemsmith).
|
86
|
+
|
87
|
+
# Credits
|
88
|
+
|
89
|
+
Developed by [Stefano Harding](https://github.com/riddopic) at []().
|
data/bin/clone.io
ADDED
data/lib/clone.io.rb
ADDED
data/lib/clone.io/cli.rb
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
3
|
+
# frozen_string_literal: true
|
4
|
+
|
5
|
+
require 'yaml'
|
6
|
+
require 'thor'
|
7
|
+
require 'thor/actions'
|
8
|
+
require 'thor_plus/actions'
|
9
|
+
|
10
|
+
module CloneIo
|
11
|
+
# The Command Line Interface (CLI) for the gem.
|
12
|
+
class CLI < Thor
|
13
|
+
include Thor::Actions
|
14
|
+
include ThorPlus::Actions
|
15
|
+
|
16
|
+
package_name CloneIo::Identity.version_label
|
17
|
+
|
18
|
+
def initialize args = [], options = {}, config = {}
|
19
|
+
super args, options, config
|
20
|
+
end
|
21
|
+
|
22
|
+
desc '-e, [--edit]', 'Edit gem settings in default editor.'
|
23
|
+
map %w[-e --edit] => :edit
|
24
|
+
def edit
|
25
|
+
`#{editor} $HOME/#{CloneIo::Identity.file_name}`
|
26
|
+
end
|
27
|
+
|
28
|
+
desc '-v, [--version]', 'Show gem version.'
|
29
|
+
map %w[-v --version] => :version
|
30
|
+
def version
|
31
|
+
say CloneIo::Identity.version_label
|
32
|
+
end
|
33
|
+
|
34
|
+
desc '-h, [--help=HELP]', 'Show this message or get help for a command.'
|
35
|
+
map %w[-h --help] => :help
|
36
|
+
def help task = nil
|
37
|
+
say and super
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
3
|
+
# frozen_string_literal: true
|
4
|
+
|
5
|
+
module CloneIo
|
6
|
+
# Gem identity information.
|
7
|
+
module Identity
|
8
|
+
def self.name
|
9
|
+
'clone.io'
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.label
|
13
|
+
'CloneIo'
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.version
|
17
|
+
'0.1.0'
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.version_label
|
21
|
+
"#{label} #{version}"
|
22
|
+
end
|
23
|
+
|
24
|
+
def self.file_name
|
25
|
+
".#{name}rc"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
metadata
ADDED
@@ -0,0 +1,266 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: clone.io
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Stefano Harding
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-05-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: thor
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.19'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.19'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: thor_plus
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.1'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.1'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.12'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.12'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '11.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '11.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: gemsmith
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '7.7'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '7.7'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: pry
|
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: pry-byebug
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: pry-state
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rspec
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '3.4'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '3.4'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rb-fsevent
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: guard-rspec
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: terminal-notifier
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: terminal-notifier-guard
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: rubocop
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0.40'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0.40'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: codeclimate-test-reporter
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
description: Genetically identical images that reproduce asexually.
|
224
|
+
email:
|
225
|
+
- riddopic@gmail.com
|
226
|
+
executables:
|
227
|
+
- clone.io
|
228
|
+
extensions: []
|
229
|
+
extra_rdoc_files:
|
230
|
+
- README.md
|
231
|
+
- LICENSE.md
|
232
|
+
files:
|
233
|
+
- LICENSE.md
|
234
|
+
- README.md
|
235
|
+
- bin/clone.io
|
236
|
+
- lib/clone.io.rb
|
237
|
+
- lib/clone.io/cli.rb
|
238
|
+
- lib/clone.io/identity.rb
|
239
|
+
- lib/tasks/console.rake
|
240
|
+
- lib/tasks/rspec.rake
|
241
|
+
- lib/tasks/rubocop.rake
|
242
|
+
homepage: https://github.com/riddopic/clone.io
|
243
|
+
licenses:
|
244
|
+
- MIT
|
245
|
+
metadata: {}
|
246
|
+
post_install_message:
|
247
|
+
rdoc_options: []
|
248
|
+
require_paths:
|
249
|
+
- lib
|
250
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
251
|
+
requirements:
|
252
|
+
- - ">="
|
253
|
+
- !ruby/object:Gem::Version
|
254
|
+
version: '0'
|
255
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
256
|
+
requirements:
|
257
|
+
- - ">="
|
258
|
+
- !ruby/object:Gem::Version
|
259
|
+
version: '0'
|
260
|
+
requirements: []
|
261
|
+
rubyforge_project:
|
262
|
+
rubygems_version: 2.5.1
|
263
|
+
signing_key:
|
264
|
+
specification_version: 4
|
265
|
+
summary: A clone builder for images to make Goldstein happy.
|
266
|
+
test_files: []
|