cyclops 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ChangeLog +5 -0
- data/README +2 -2
- data/Rakefile +2 -2
- data/lib/cyclops.rb +4 -4
- data/lib/cyclops/version.rb +1 -1
- metadata +10 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7217f1f455f5e167c6bf9ed3cd02d3056a7fab2324980090701e764cdeac00a7
|
4
|
+
data.tar.gz: 7cac8767f3ce11275d1eb6ae64e3314c691e08a882bd71933e60596911473ccb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 913af8cbb0d1238ba8ed618d644a03859cf6ce88375c62d56bed2ec4779247a21878c7981fe69b81fd554c6b0b267aae70db96bbe32e8a2932b6f57a80aff733
|
7
|
+
data.tar.gz: 4f7e3cc5d8c8d6ea9d570254527a52cc2a28f92c86ed7454f84ad97f16f7b3614049790d5a3fd848d183703da051198c26c2f3c55b1a1679ae3c772d00684589
|
data/ChangeLog
CHANGED
data/README
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
== VERSION
|
4
4
|
|
5
|
-
This documentation refers to cyclops version 0.
|
5
|
+
This documentation refers to cyclops version 0.3.0
|
6
6
|
|
7
7
|
|
8
8
|
== DESCRIPTION
|
@@ -25,7 +25,7 @@ RubyGem:: https://rubygems.org/gems/cyclops
|
|
25
25
|
|
26
26
|
== LICENSE AND COPYRIGHT
|
27
27
|
|
28
|
-
Copyright (C) 2014-
|
28
|
+
Copyright (C) 2014-2018 Jens Wille
|
29
29
|
|
30
30
|
cyclops is free software: you can redistribute it and/or modify it
|
31
31
|
under the terms of the GNU Affero General Public License as published by
|
data/Rakefile
CHANGED
@@ -13,9 +13,9 @@ begin
|
|
13
13
|
email: %q{jens.wille@gmail.com},
|
14
14
|
license: %q{AGPL-3.0},
|
15
15
|
homepage: :blackwinter,
|
16
|
-
dependencies: %w[highline
|
16
|
+
dependencies: %w[highline],
|
17
17
|
|
18
|
-
required_ruby_version: '>= 1
|
18
|
+
required_ruby_version: '>= 2.1'
|
19
19
|
}
|
20
20
|
}}
|
21
21
|
rescue LoadError => err
|
data/lib/cyclops.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# #
|
4
4
|
# cyclops -- A command-line option parser #
|
5
5
|
# #
|
6
|
-
# Copyright (C) 2014-
|
6
|
+
# Copyright (C) 2014-2018 Jens Wille #
|
7
7
|
# #
|
8
8
|
# Authors: #
|
9
9
|
# Jens Wille <jens.wille@gmail.com> #
|
@@ -24,9 +24,9 @@
|
|
24
24
|
###############################################################################
|
25
25
|
#++
|
26
26
|
|
27
|
-
require 'safe_yaml/load'
|
28
|
-
require 'optparse'
|
29
27
|
require 'highline'
|
28
|
+
require 'optparse'
|
29
|
+
require 'psych'
|
30
30
|
require 'zlib'
|
31
31
|
|
32
32
|
class Cyclops
|
@@ -199,7 +199,7 @@ class Cyclops
|
|
199
199
|
return unless file
|
200
200
|
|
201
201
|
if File.readable?(file)
|
202
|
-
@config =
|
202
|
+
@config = Psych.safe_load(File.read(file), symbolize_names: true)
|
203
203
|
else
|
204
204
|
quit "No such file: #{file}" unless default
|
205
205
|
end
|
data/lib/cyclops/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cyclops
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Wille
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: highline
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: safe_yaml
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: hen
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -47,7 +33,7 @@ dependencies:
|
|
47
33
|
version: '0.8'
|
48
34
|
- - ">="
|
49
35
|
- !ruby/object:Gem::Version
|
50
|
-
version: 0.8.
|
36
|
+
version: 0.8.7
|
51
37
|
type: :development
|
52
38
|
prerelease: false
|
53
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -57,7 +43,7 @@ dependencies:
|
|
57
43
|
version: '0.8'
|
58
44
|
- - ">="
|
59
45
|
- !ruby/object:Gem::Version
|
60
|
-
version: 0.8.
|
46
|
+
version: 0.8.7
|
61
47
|
- !ruby/object:Gem::Dependency
|
62
48
|
name: rake
|
63
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,14 +80,14 @@ licenses:
|
|
94
80
|
metadata: {}
|
95
81
|
post_install_message: |2+
|
96
82
|
|
97
|
-
cyclops-0.
|
83
|
+
cyclops-0.3.0 [2018-06-16]:
|
98
84
|
|
99
|
-
*
|
100
|
-
|
85
|
+
* <b>Dropped support for Ruby 2.0.</b>
|
86
|
+
* Dropped +safe_yaml+ dependency in favour of standard library.
|
101
87
|
|
102
88
|
rdoc_options:
|
103
89
|
- "--title"
|
104
|
-
- cyclops Application documentation (v0.
|
90
|
+
- cyclops Application documentation (v0.3.0)
|
105
91
|
- "--charset"
|
106
92
|
- UTF-8
|
107
93
|
- "--line-numbers"
|
@@ -114,7 +100,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
114
100
|
requirements:
|
115
101
|
- - ">="
|
116
102
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1
|
103
|
+
version: '2.1'
|
118
104
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
105
|
requirements:
|
120
106
|
- - ">="
|
@@ -122,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
108
|
version: '0'
|
123
109
|
requirements: []
|
124
110
|
rubyforge_project:
|
125
|
-
rubygems_version: 2.
|
111
|
+
rubygems_version: 2.7.7
|
126
112
|
signing_key:
|
127
113
|
specification_version: 4
|
128
114
|
summary: A command-line option parser based on optparse.
|