drain 0.5 → 0.5.1

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
2
  SHA256:
3
- metadata.gz: d31dbf8873c5769a2f758b783609b0b593a0991b8aa7711756ccb196fa4d3f39
4
- data.tar.gz: 29dfad85aa000d62587676bc0ae64bb0a13d84d4b239f78575e00f7a6082a835
3
+ metadata.gz: 6705260fddd5fa51a51c2985c143400b89527c0ee0d2bffcc326f5fe2bbff6f3
4
+ data.tar.gz: 744ca23e60895094238628160e1dc3c3dfccdaa58d757013880835e96f3de21f
5
5
  SHA512:
6
- metadata.gz: 21f21f6b9da3da37e89766eaf44291f4d2d75d5392867051e664659deaeeef54e30cbdd3f158e37ae9218b8cd42205a88118c837480662c74f1fcf0960892ebc
7
- data.tar.gz: 79f1917f7626dfd13b083e8f9f7be32bbbf619e36d18e4e69cc8e3e9586f9057dfe9547d92666d768388f88b8a5c4ac2e13c3dc9de420e872a7e7bcc435c0f82
6
+ metadata.gz: b3fe3cfd0ea0d9f9bd10df890a97b958bc8652e33b0993692188481d4759e242a5603dedcb696f244cc2f1b2dd835ba0520e2620d9ab2490339f028c0bb504b5
7
+ data.tar.gz: e61a5c90fb6f6bd515fa101667f53e53ad780f712196f5db8418800e8bc8c00697196188cb6efde4f2ec2ceffd962c9be63280350eb37c9327bfac26ac91248d
@@ -1,4 +1,143 @@
1
- ### 0.1.0 / 2015-02-24
1
+ == Release v0.5.1 (2020-02-18) ==
2
2
 
3
- * Initial release:
3
+ * DR::URI -> DR::URIEscape
4
+
5
+ == Release v0.5 (2020-02-18) ==
6
+
7
+ * Bump version
8
+ * DR::URI.escape
9
+ * Fixes for ruby 2.7
10
+ * URI.encode is obsolete
11
+
12
+ == Release v0.4 (2019-09-13) ==
13
+
14
+ * Bump version
15
+ * Delegator.access_methods
16
+ * delegate: add missing require
17
+ * Delegator.delegate_h
18
+ * Fix a bug in deep_merge
19
+ * Utils: pretty = true means color by default
20
+ * Utils: PPHelper and pretty_print colors
21
+ * time_parse: do not load active_support/time
22
+ * Fix test failures
23
+ * Update Rakefile
24
+ * Update Rakefile
25
+ * Comments
26
+ * graph: to_s and inspect
27
+ * Doc: add warning
28
+
29
+ == Release v0.3.0 (2018-09-07) ==
30
+
31
+ * Bump version
32
+ * test_date_parse.rb: set TZ to GMT to get test working on travis
33
+ * Update travis
34
+ * Utils.rsplit
35
+ * Formatter: clean ups
36
+ * simple_formatter: ability to expand messages
37
+ * Fix test
38
+ * Ad formatter/simple_formatter
39
+ * simple_keywords: strip by default + can now change delims
40
+ * simple_keywords: switch from a Module to a Class
41
+ * parse/simple_keywords
42
+ * URI: rename to_s to to_ssh
43
+ * URI::Ssh.parse: handle empty string
44
+ * SSH Uri: allow non standard hosts
45
+ * Hash#has_keys: bug fix
46
+ * URIWrapper::Ssh
47
+ * Hash#has_keys?
48
+ * Hash#add_to_key: configure behavior via keywords
49
+ * Hash#add_to_key, Hash#set_key
50
+ * Hash#deep_merge: configure how to merge arrays
51
+ * Hash#add_key
52
+ * Hash: add_key, dig_with_default
53
+ * bool.rb: allow to keep Strings/Symbols
54
+ * slice_with_default
55
+ * simple_parser: more parsing methods
56
+ * bool: bug fixes
57
+ * Copyright
58
+ * Hash#reverse_merge
59
+ * Graph#dump: be more flexible to how we dump
60
+ * Graph: allow to merge with a Hash
61
+ * to_caml_case and to_snake_case
62
+ * pretty_print: preserve options
63
+ * base: uri
64
+
65
+ == Release v0.2.0 (2018-02-01) ==
66
+
67
+ * Bump version
68
+ * Update tests
69
+ * utils: pretty_print
70
+ * eruby: add Eruby.process_eruby
71
+ * Eruby: indent Context the same way as other modules
72
+ * Move git.rb to git_helpers
73
+ * fix somg bug in refinements usage
74
+ * tests + more comments
75
+ * graph: Add Graph.build
76
+ * eruby: comments about a possible ruby bug fix in 2.4.1
77
+ * graph: allow to merge graphs
78
+ * graph: bug fixes
79
+ * Eruby: automatically wrap into unbound_instance if a block is passed
80
+ * eruby: streamline implementation and bug fixes
81
+ * eruby: more template possibilities
82
+ * eruby.rb: start adding features from Tilt
83
+ * Eruby: be uniform accross erubi/erubis/erb
84
+ * Clean up comments
85
+ * test_drain: test for Drain::VERSION
86
+ * Add drain.rb which calls dr.rb
87
+ * travis: test agains ruby HEAD
88
+ * Update drain.gemspec
89
+ * Configure travis and streamline rake and test files
90
+ * simple_parser: renders globalopts fully customisable
91
+ * I don't need bundler for travis
92
+ * travis
93
+ * gitignore
94
+ * Try to do a minimal example for ruby's segfault
95
+ * descendants/ancestors: propagate ourselves
96
+ * Correct a bug in graph.rb
97
+ * parse_string: allows to customize the splitting characters
98
+ * Remove Hash#set_keyed_value!
99
+ * Hash#set_keyed_value
100
+ * Copyright
101
+ * simple_parser: document the splitting order
102
+ * simple_parser: add tests
103
+ * Add missing require
104
+ * graph: allow ancestors and descendants on a node
105
+ * Deprecation warning
106
+ * Copyright
107
+ * tests + comments
108
+ * Still more tests for core_ext.rb
109
+ * Still more tests
110
+ * More tests
111
+ * Test Hash#deep_merge
112
+ * Add tests
113
+ * Useless use of slef
114
+ * Converter: test on recursive object
115
+ * git: get config
116
+ * Add Hash#leafs
117
+ * Add to_h to graph
118
+ * graph construction now accepts a lambda
119
+ * Add hash conversion ton graph.rb
120
+ * Add converter.rb (converts an object to an hash) and tests
121
+ * graph: add .compact in to_nodes
122
+ * graph: method to updat node attributes
123
+ * graph: show attributes
124
+ * Graph: improved unneeded, and bug fix in unneeded_descendants
125
+ * Graph#connected: bug fix
126
+ * Graph: check that children are of the same type
127
+ * Refinements: fix syntax errors
128
+ * unneeded_descendants(ancestors) is bigger than ancestors(unneeded_descendants)
129
+ * graph: bug fixes
130
+ * Use dr rather than drain for brevity
131
+ * Graph.rb
132
+ * Git: add a submodules command
133
+ * Graph#build_node
134
+ * Rework Graph#build
135
+ * Test includes_extends_host_with
136
+ * Split core_ext into two files
137
+
138
+ == Release v0.1.0 (2015-02-24) ==
139
+
140
+ * Description
141
+ * Add library files
142
+ * Initial commit.
4
143
 
@@ -86,7 +86,7 @@ module DR
86
86
  # reimplement deprecated escape and unescape methods since
87
87
  # URI.encode_www_form_component does not encode the same way
88
88
  # cf the source code of URI::DEFAULT_PARSER.escape
89
- module URI
89
+ module URIEscape
90
90
  extend self
91
91
  def escape(*arg)
92
92
  URI::DEFAULT_PARSER.escape(*arg)
@@ -184,12 +184,12 @@ module DR
184
184
  components.each do |m|
185
185
  uri.define_singleton_method(m) do
186
186
  r = super()
187
- r && r.is_a?(String) ? URI.unescape(r) : r
187
+ r && r.is_a?(String) ? URIEscape.unescape(r) : r
188
188
  # r && r.is_a?(String) ? ::URI.decode_www_form_component(r) : r
189
189
  end
190
190
  uri.define_singleton_method(:"#{m}=") do |v|
191
191
  begin
192
- super(v && v.is_a?(String) ? URI.escape(v) : v)
192
+ super(v && v.is_a?(String) ? URIEscape.escape(v) : v)
193
193
  # super(v && v.is_a?(String) ? ::URI.encode_www_form_component(v) : v)
194
194
  rescue URI::InvalidURIError => e
195
195
  warn "#{e} in (#{self}).#{m}=#{v}"
@@ -1,4 +1,4 @@
1
1
  module DR
2
2
  # drain version
3
- VERSION = "0.5"
3
+ VERSION = "0.5.1"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drain
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.5'
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damien Robert