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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: db466ccb87d28350391ce2adebba44b94dc71e2e
4
- data.tar.gz: 4f98b24ed4c00d7f6f024504b5d5ec7f7155d914
2
+ SHA256:
3
+ metadata.gz: 7217f1f455f5e167c6bf9ed3cd02d3056a7fab2324980090701e764cdeac00a7
4
+ data.tar.gz: 7cac8767f3ce11275d1eb6ae64e3314c691e08a882bd71933e60596911473ccb
5
5
  SHA512:
6
- metadata.gz: d552ed05cde6aadea4249bf1ef6f0a8509266dea4a7307157c597159aba2db0ae6da7ba1b89f9a256418ff52fdb3823239c5a73c4ac940ab7120bd9d8db44b90
7
- data.tar.gz: d3fad67b9dd9197fba278b4e65961f0b3d4a540cbb9dbceafeeb9dd66a0f28096d23f5c371026ad67b3e7af3fc03cd4b266fd2a7ce084d5655b627627adb7e57
6
+ metadata.gz: 913af8cbb0d1238ba8ed618d644a03859cf6ce88375c62d56bed2ec4779247a21878c7981fe69b81fd554c6b0b267aae70db96bbe32e8a2932b6f57a80aff733
7
+ data.tar.gz: 4f7e3cc5d8c8d6ea9d570254527a52cc2a28f92c86ed7454f84ad97f16f7b3614049790d5a3fd848d183703da051198c26c2f3c55b1a1679ae3c772d00684589
data/ChangeLog CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  = Revision history for cyclops
4
4
 
5
+ == 0.3.0 [2018-06-16]
6
+
7
+ * <b>Dropped support for Ruby 2.0.</b>
8
+ * Dropped +safe_yaml+ dependency in favour of standard library.
9
+
5
10
  == 0.2.0 [2015-10-02]
6
11
 
7
12
  * Extracted Cyclops#open_file and Cyclops#open_std from
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to cyclops version 0.2.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-2015 Jens Wille
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 safe_yaml],
16
+ dependencies: %w[highline],
17
17
 
18
- required_ruby_version: '>= 1.9.3'
18
+ required_ruby_version: '>= 2.1'
19
19
  }
20
20
  }}
21
21
  rescue LoadError => err
@@ -3,7 +3,7 @@
3
3
  # #
4
4
  # cyclops -- A command-line option parser #
5
5
  # #
6
- # Copyright (C) 2014-2015 Jens Wille #
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 = SafeYAML.load_file(file, deserialize_symbols: true)
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
@@ -3,7 +3,7 @@ class Cyclops
3
3
  module Version
4
4
 
5
5
  MAJOR = 0
6
- MINOR = 2
6
+ MINOR = 3
7
7
  TINY = 0
8
8
 
9
9
  class << self
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.2.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: 2015-10-02 00:00:00.000000000 Z
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.3
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.3
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.2.0 [2015-10-02]:
83
+ cyclops-0.3.0 [2018-06-16]:
98
84
 
99
- * Extracted Cyclops#open_file and Cyclops#open_std from
100
- Cyclops#open_file_or_std so they can be overwritten in subclasses.
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.2.0)
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.9.3
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.4.8
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.