hocon 1.1.3 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +35 -1
  3. data/HISTORY.md +2140 -0
  4. data/README.md +125 -0
  5. data/bin/hocon +5 -0
  6. data/lib/hocon/cli.rb +225 -0
  7. data/lib/hocon/config_render_options.rb +3 -2
  8. data/lib/hocon/impl/abstract_config_value.rb +7 -10
  9. data/lib/hocon/impl/config_delayed_merge.rb +1 -1
  10. data/lib/hocon/impl/config_impl.rb +18 -0
  11. data/lib/hocon/impl/config_node_object.rb +1 -2
  12. data/lib/hocon/impl/config_node_root.rb +1 -1
  13. data/lib/hocon/impl/parseable.rb +6 -5
  14. data/lib/hocon/impl/simple_config_document.rb +1 -1
  15. data/lib/hocon/impl/simple_config_origin.rb +8 -2
  16. data/lib/hocon/version.rb +5 -0
  17. metadata +9 -50
  18. data/spec/fixtures/hocon/by_extension/cat.conf +0 -4
  19. data/spec/fixtures/hocon/by_extension/cat.test +0 -4
  20. data/spec/fixtures/hocon/by_extension/cat.test-json +0 -3
  21. data/spec/fixtures/hocon/with_substitution/subst.conf +0 -2
  22. data/spec/fixtures/parse_render/example1/input.conf +0 -21
  23. data/spec/fixtures/parse_render/example1/output.conf +0 -26
  24. data/spec/fixtures/parse_render/example1/output_nocomments.conf +0 -17
  25. data/spec/fixtures/parse_render/example2/input.conf +0 -10
  26. data/spec/fixtures/parse_render/example2/output.conf +0 -17
  27. data/spec/fixtures/parse_render/example2/output_nocomments.conf +0 -17
  28. data/spec/fixtures/parse_render/example3/input.conf +0 -2
  29. data/spec/fixtures/parse_render/example3/output.conf +0 -2
  30. data/spec/fixtures/parse_render/example4/input.json +0 -6
  31. data/spec/fixtures/parse_render/example4/output.conf +0 -6
  32. data/spec/fixtures/test_utils/resources/bom.conf +0 -2
  33. data/spec/fixtures/test_utils/resources/cycle.conf +0 -1
  34. data/spec/fixtures/test_utils/resources/file-include.conf +0 -5
  35. data/spec/fixtures/test_utils/resources/include-from-list.conf +0 -4
  36. data/spec/fixtures/test_utils/resources/subdir/bar.conf +0 -1
  37. data/spec/fixtures/test_utils/resources/subdir/baz.conf +0 -1
  38. data/spec/fixtures/test_utils/resources/subdir/foo.conf +0 -5
  39. data/spec/fixtures/test_utils/resources/test01.conf +0 -80
  40. data/spec/fixtures/test_utils/resources/test01.json +0 -4
  41. data/spec/fixtures/test_utils/resources/test03.conf +0 -36
  42. data/spec/fixtures/test_utils/resources/utf16.conf +0 -0
  43. data/spec/fixtures/test_utils/resources/utf8.conf +0 -2
  44. data/spec/fixtures/test_utils/resources//341/232/240/341/233/207/341/232/273.conf +0 -2
  45. data/spec/spec_helper.rb +0 -43
  46. data/spec/test_utils.rb +0 -757
  47. data/spec/unit/hocon/README.md +0 -7
  48. data/spec/unit/hocon/hocon_spec.rb +0 -114
  49. data/spec/unit/typesafe/config/README.md +0 -4
  50. data/spec/unit/typesafe/config/concatenation_spec.rb +0 -417
  51. data/spec/unit/typesafe/config/conf_parser_spec.rb +0 -832
  52. data/spec/unit/typesafe/config/config_document_parser_spec.rb +0 -494
  53. data/spec/unit/typesafe/config/config_document_spec.rb +0 -576
  54. data/spec/unit/typesafe/config/config_factory_spec.rb +0 -120
  55. data/spec/unit/typesafe/config/config_node_spec.rb +0 -552
  56. data/spec/unit/typesafe/config/config_value_factory_spec.rb +0 -85
  57. data/spec/unit/typesafe/config/config_value_spec.rb +0 -935
  58. data/spec/unit/typesafe/config/path_spec.rb +0 -261
  59. data/spec/unit/typesafe/config/public_api_spec.rb +0 -520
  60. data/spec/unit/typesafe/config/simple_config_spec.rb +0 -112
  61. data/spec/unit/typesafe/config/token_spec.rb +0 -188
  62. data/spec/unit/typesafe/config/tokenizer_spec.rb +0 -801
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 638d35f7a8e826220dcb4375b9f26bff467b317e
4
- data.tar.gz: 3770d5073fc07bdfa4601950cb873f69c6642591
2
+ SHA256:
3
+ metadata.gz: 40f5c20e48d381313eebc2880286cc7789ce1c5eb543f4c76878273db778d3bb
4
+ data.tar.gz: 10322d2872f2a802762a7dc2ddda1c1bb77ab289b0c6b35df21b0afcde07af76
5
5
  SHA512:
6
- metadata.gz: 5de129112ffe9e9fc0970d1075df7f0ab5581984a96bb91e84f95ba41aa70babc8351556dab354ec406c25e8accaec0725b6358799293bfbe72913941d1858ee
7
- data.tar.gz: 291f399b5bf93cdd6c4fedd597f0720956ee58baf26e7c1ab0d31a5677f5100b4d2371fe088dc5773b1864a54f2147f658f34720814dd15c8d9e1365d1e522f3
6
+ metadata.gz: ad222c73cd8ffd8b5fead526e7f8e802db8be8a882db4607d0889caf942c56bbf7d6febeed86b85f4a77b5cd423b4f938eae7944c1e4dac8e63c3b9c4c1ea788
7
+ data.tar.gz: e2d9029ed095d01d799c7757b4d11480f3bfd0fda2863b89c6d5a4b39fdc31ee4180f473973d65af7e7968a9273ac47933d7a62a2954bca175476bff2fcb46a3
@@ -1,3 +1,37 @@
1
+ ## 1.3.1
2
+ This is a bugfix release
3
+
4
+ * Fix a bug when using the library in multiple threads ([HC-105](https://tickets.puppetlabs.com/browse/HC-105))
5
+
6
+ ## 1.3.0
7
+ This is a feature release
8
+
9
+ * Support environment variable lists ([HC-104](https://tickets.puppetlabs.com/browse/HC-104))
10
+
11
+ ## 1.2.6
12
+ This is a bugfix release
13
+
14
+ * Do not ship spec folder with gem ([PA-2942](https://tickets.puppetlabs.com/browse/PA-2942))
15
+
16
+ ## 1.2.5
17
+ This is a bugfix release
18
+
19
+ * Fixed loading files with UTF-8 characters in their file paths
20
+
21
+ ## 1.2.4
22
+ This is a feature release.
23
+
24
+ * Added a cli tool called `hocon` for reading and manipulating hocon files
25
+
26
+ Note that the version numbers 1.2.0-1.2.3 were not used because of bugs in our
27
+ release pipeline we were working out
28
+
29
+ ## 1.1.3
30
+ This is a bugfix release.
31
+
32
+ * Fixed bug where Hocon.parse would throw a ConfigNotResolved error if you passed it a String
33
+ that contained values with substitutions.
34
+
1
35
  ## 1.1.2
2
36
  This is a bugfix release.
3
37
 
@@ -8,7 +42,7 @@ This is a bugfix release.
8
42
  This is a bugfix release.
9
43
 
10
44
  * Fixed a bug where an undefined method `value_type_name` error was being thrown due to
11
- improper calls to the class method.
45
+ improper calls to the class method.
12
46
 
13
47
  ## 1.1.0
14
48
  This is a bugfix/feature release
@@ -0,0 +1,2140 @@
1
+ # enterprise_ruby-hocon_bump_and_tag_master - History
2
+ ## Tags
3
+ * [LATEST - 4 Apr, 2017 (b42a72f0)](#LATEST)
4
+ * [1.2.4 - 3 Nov, 2016 (5157cc60)](#1.2.4)
5
+ * [1.2.3 - 3 Nov, 2016 (cd9a5c8d)](#1.2.3)
6
+ * [1.2.2 - 1 Nov, 2016 (4a29c034)](#1.2.2)
7
+ * [1.2.1 - 27 Oct, 2016 (b6edea48)](#1.2.1)
8
+ * [1.2.0 - 27 Oct, 2016 (1060d251)](#1.2.0)
9
+ * [1.1.3 - 12 Oct, 2016 (bf4a7d4b)](#1.1.3)
10
+ * [1.1.2 - 15 Jul, 2016 (6041a5c4)](#1.1.2)
11
+ * [1.1.1 - 6 Jul, 2016 (5b2c8baa)](#1.1.1)
12
+ * [1.1.0 - 1 Jul, 2016 (99b3145e)](#1.1.0)
13
+ * [1.0.1 - 16 Mar, 2016 (aa36b692)](#1.0.1)
14
+ * [1.0.0 - 16 Feb, 2016 (dc385fe2)](#1.0.0)
15
+ * [0.9.3 - 14 Jul, 2015 (7defef59)](#0.9.3)
16
+ * [0.9.2 - 30 Jun, 2015 (6b402bc2)](#0.9.2)
17
+ * [0.9.1 - 30 Jun, 2015 (e8c2f405)](#0.9.1)
18
+ * [0.9.0 - 10 Apr, 2015 (aeab6ab2)](#0.9.0)
19
+ * [0.1.0 - 9 Apr, 2015 (bfdb7255)](#0.1.0)
20
+ * [0.0.5 - 1 Oct, 2014 (67d264f4)](#0.0.5)
21
+ * [0.0.3 - 24 Jul, 2014 (6cd552c3)](#0.0.3)
22
+ * [0.0.2 - 24 Jul, 2014 (95dffaea)](#0.0.2)
23
+ * [0.0.1 - 16 Mar, 2014 (f7dbca52)](#0.0.1)
24
+
25
+ ## Details
26
+ ### <a name = "LATEST">LATEST - 4 Apr, 2017 (b42a72f0)
27
+
28
+ * (GEM) update hocon version to 1.2.5 (b42a72f0)
29
+
30
+ * Merge pull request #108 from jpinsonault/maint-prepare-for-1.2.5 (50b0087b)
31
+
32
+
33
+ ```
34
+ Merge pull request #108 from jpinsonault/maint-prepare-for-1.2.5
35
+
36
+ (MAINT) Change version back 1.2.5.SNAPSHOT
37
+ ```
38
+ * (MAINT) Change version back 1.2.5.SNAPSHOT (40d45c77)
39
+
40
+
41
+ ```
42
+ (MAINT) Change version back 1.2.5.SNAPSHOT
43
+
44
+ CI needs the current to be less than the next version to be released
45
+ ```
46
+ * Merge pull request #107 from jpinsonault/PE-18165-support-for-utf8-file-paths (c65941f2)
47
+
48
+
49
+ ```
50
+ Merge pull request #107 from jpinsonault/PE-18165-support-for-utf8-file-paths
51
+
52
+ (PE-18165) Support for utf-8 file paths
53
+ ```
54
+ * (MAINT) Prepare for 1.2.5 release (8edf0841)
55
+
56
+
57
+ ```
58
+ (MAINT) Prepare for 1.2.5 release
59
+
60
+ Update changelog and version
61
+ ```
62
+ * (PE-18165) Support for utf-8 file paths (a54c93b5)
63
+
64
+
65
+ ```
66
+ (PE-18165) Support for utf-8 file paths
67
+
68
+ This commit removes the dependency on Addressable and adds some comments
69
+ regarding some screwy areas in the code where we half heartedly tried to
70
+ support loading of URIs
71
+
72
+ It maintains utf-8 file support
73
+ ```
74
+ * Merge pull request #105 from mwbutcher/maint/master/PE-18165_encode_file_URIs_in_order_to_handle_utf-8_chars (e2725955)
75
+
76
+
77
+ ```
78
+ Merge pull request #105 from mwbutcher/maint/master/PE-18165_encode_file_URIs_in_order_to_handle_utf-8_chars
79
+
80
+ (PE-18165) encode file URIs to handle utf8 chars
81
+ ```
82
+ * (PE-18165) encode file URIs to handle utf8 chars (51525f43)
83
+
84
+
85
+ ```
86
+ (PE-18165) encode file URIs to handle utf8 chars
87
+
88
+ Prior to this change, the hocon parser would
89
+ error when give file names like ᚠᛇᚻ.conf or
90
+ /tmp/旗本/pe.conf.
91
+
92
+ This commit URI encodes the filenames to
93
+ avoid that issue.
94
+ ```
95
+ * Merge pull request #104 from puppetlabs/rm_cprice404 (ddb4afb2)
96
+
97
+
98
+ ```
99
+ Merge pull request #104 from puppetlabs/rm_cprice404
100
+
101
+ remove cprice404
102
+ ```
103
+ * remove cprice404 (f74fb2ca)
104
+
105
+ * Merge pull request #98 from puppetlabs/theshanx-patch-1 (c532a69e)
106
+
107
+
108
+ ```
109
+ Merge pull request #98 from puppetlabs/theshanx-patch-1
110
+
111
+ (maint) Add internal_list key to MAINTAINERS
112
+ ```
113
+ * Merge pull request #102 from jpinsonault/maint-fix-typo-in-readme (ecd2de47)
114
+
115
+
116
+ ```
117
+ Merge pull request #102 from jpinsonault/maint-fix-typo-in-readme
118
+
119
+ (MAINT) Fix typo in readme
120
+ ```
121
+ * (MAINT) Fix typo in readme (10961a98)
122
+
123
+ * Merge pull request #101 from jpinsonault/maint-update-changelog-after-1.2.4-release (c8d543ad)
124
+
125
+
126
+ ```
127
+ Merge pull request #101 from jpinsonault/maint-update-changelog-after-1.2.4-release
128
+
129
+ (MAINT) Update changelog for 1.2.4
130
+ ```
131
+ * (MAINT) Update changelog for 1.2.4 (c7a5edf1)
132
+
133
+
134
+ ```
135
+ (MAINT) Update changelog for 1.2.4
136
+
137
+ And explain missing version numbers
138
+ ```
139
+ * (maint) Add internal_list key to MAINTAINERS (e327d214)
140
+
141
+
142
+ ```
143
+ (maint) Add internal_list key to MAINTAINERS
144
+
145
+ This change adds a reference to the Google group the maintainers are associated with.
146
+ ```
147
+ ### <a name = "1.2.4">1.2.4 - 3 Nov, 2016 (5157cc60)
148
+
149
+ * (HISTORY) update ruby-hocon history for gem release 1.2.4 (5157cc60)
150
+
151
+ * (GEM) update hocon version to 1.2.4 (67ff0795)
152
+
153
+ * Merge pull request #100 from jpinsonault/maint-update-version-to-1.2.4 (3a493130)
154
+
155
+
156
+ ```
157
+ Merge pull request #100 from jpinsonault/maint-update-version-to-1.2.4
158
+
159
+ (MAINT) Update version to 1.2.4
160
+ ```
161
+ * (MAINT) Update version to 1.2.4 (958326d4)
162
+
163
+ ### <a name = "1.2.3">1.2.3 - 3 Nov, 2016 (cd9a5c8d)
164
+
165
+ * (HISTORY) update ruby-hocon history for gem release 1.2.3 (cd9a5c8d)
166
+
167
+ * (GEM) update hocon version to 1.2.3 (f2f3e235)
168
+
169
+ * Merge pull request #99 from jpinsonault/maint-update-version-to-1.2.3 (18324c6d)
170
+
171
+
172
+ ```
173
+ Merge pull request #99 from jpinsonault/maint-update-version-to-1.2.3
174
+
175
+ (MAINT) Update version 1.2.3
176
+ ```
177
+ * (MAINT) Update version 1.2.3 (e7be1d78)
178
+
179
+ ### <a name = "1.2.2">1.2.2 - 1 Nov, 2016 (4a29c034)
180
+
181
+ * (HISTORY) update ruby-hocon history for gem release 1.2.2 (4a29c034)
182
+
183
+ * (GEM) update hocon version to 1.2.2 (5cf6b037)
184
+
185
+ * Merge pull request #97 from jpinsonault/maint-update-version-for-release (e973ee34)
186
+
187
+
188
+ ```
189
+ Merge pull request #97 from jpinsonault/maint-update-version-for-release
190
+
191
+ (MAINT) Update version for release
192
+ ```
193
+ * (MAINT) Update version for release (e81fecf9)
194
+
195
+ ### <a name = "1.2.1">1.2.1 - 27 Oct, 2016 (b6edea48)
196
+
197
+ * (HISTORY) update ruby-hocon history for gem release 1.2.1 (b6edea48)
198
+
199
+ * (GEM) update hocon version to 1.2.1 (0e06af2f)
200
+
201
+ * Merge pull request #96 from jpinsonault/maint-update-version-to-1.2.1.SNAPSHOT (418d5e24)
202
+
203
+
204
+ ```
205
+ Merge pull request #96 from jpinsonault/maint-update-version-to-1.2.1.SNAPSHOT
206
+
207
+ (MAINT) Update version to 1.2.1.SNAPSHOT
208
+ ```
209
+ * (MAINT) Update version to 1.2.1.SNAPSHOT (20d34a33)
210
+
211
+ ### <a name = "1.2.0">1.2.0 - 27 Oct, 2016 (1060d251)
212
+
213
+ * (HISTORY) update ruby-hocon history for gem release 1.2.0 (1060d251)
214
+
215
+ * (GEM) update hocon version to 1.2.0 (33a9edef)
216
+
217
+ * Merge pull request #95 from jpinsonault/maint-fix-pre-release-version-string (dba994b3)
218
+
219
+
220
+ ```
221
+ Merge pull request #95 from jpinsonault/maint-fix-pre-release-version-string
222
+
223
+ (MAINT) Fix version string
224
+ ```
225
+ * (MAINT) Fix version string (622fb2ab)
226
+
227
+ * Merge pull request #94 from jpinsonault/maint-update-release-date (41673be4)
228
+
229
+
230
+ ```
231
+ Merge pull request #94 from jpinsonault/maint-update-release-date
232
+
233
+ (MAINT) Update date in gemfile for 1.2.0 release
234
+ ```
235
+ * (MAINT) Update date in gemfile for 1.2.0 release (25e834fc)
236
+
237
+ * Merge pull request #93 from jpinsonault/maint-prepare-for-1.2.0-release (c0ab30b1)
238
+
239
+
240
+ ```
241
+ Merge pull request #93 from jpinsonault/maint-prepare-for-1.2.0-release
242
+
243
+ (MAINT) Update version and changelog for 1.2.0 release
244
+ ```
245
+ * (MAINT) Update version and changelog for 1.2.0 release (d4ac81ac)
246
+
247
+ * Merge pull request #92 from jpinsonault/maint-revert-moving-version.rb (bd5a065e)
248
+
249
+
250
+ ```
251
+ Merge pull request #92 from jpinsonault/maint-revert-moving-version.rb
252
+
253
+ Revert "(MAINT) Move version.rb to work with ci"
254
+ ```
255
+ * Revert "(MAINT) Move version.rb to work with ci" (a17015fc)
256
+
257
+
258
+ ```
259
+ Revert "(MAINT) Move version.rb to work with ci"
260
+
261
+ This reverts commit 5be440a433141e7dab5534d2309282d0865adca7.
262
+ ```
263
+ * Merge pull request #90 from puppetlabs/add-issue-tracker-link (b046a116)
264
+
265
+
266
+ ```
267
+ Merge pull request #90 from puppetlabs/add-issue-tracker-link
268
+
269
+ Include link to Jira issue tracker in README
270
+ ```
271
+ * Merge pull request #91 from jpinsonault/maint-move-version.rb-for-ci (dd9753d2)
272
+
273
+
274
+ ```
275
+ Merge pull request #91 from jpinsonault/maint-move-version.rb-for-ci
276
+
277
+ (MAINT) Move version.rb to work with ci
278
+ ```
279
+ * (MAINT) Move version.rb to work with ci (5be440a4)
280
+
281
+
282
+ ```
283
+ (MAINT) Move version.rb to work with ci
284
+
285
+ Jenkins expects the version.rb file to be under lib/<github_project>/version.rb
286
+ ```
287
+ * Include link to Jira issue tracker in README (75609de4)
288
+
289
+ * Merge pull request #86 from jpinsonault/hc-92-add-cli-tool-for-hocon (ea0ddcae)
290
+
291
+
292
+ ```
293
+ Merge pull request #86 from jpinsonault/hc-92-add-cli-tool-for-hocon
294
+
295
+ [WIP] (HC-92) Add cli tool for hocon
296
+ ```
297
+ * (HC-92) Have unset throw an error on missing paths (2577e8fe)
298
+
299
+
300
+ ```
301
+ (HC-92) Have unset throw an error on missing paths
302
+
303
+ Refactor the way errors are handled. Rather than catching the hocon
304
+ parser errors, we now raise our own error to make things clearer
305
+
306
+ Add tests for new exception
307
+ ```
308
+ * (HC-92) Remove flock calls (14c548b5)
309
+
310
+ * (MAINT) Update CHANGELOG for 1.1.3 (f02b161a)
311
+
312
+ * (HC-92) Fix version require for ruby 1.9 (d21fb360)
313
+
314
+ * (HC-92) Move version string to Hocon::Version module (ca9de704)
315
+
316
+ * (HC-92) Add -f option, update docs (afe75db5)
317
+
318
+ * (HC-92) Lock files while reading/writing (6271c25e)
319
+
320
+ * (HC-92) Update readme with CLI docs (1afa6c2c)
321
+
322
+ * (HC-92) Update optparse banner with more info (2a047009)
323
+
324
+ * (HC-92) Make new render option optional (06429cac)
325
+
326
+ * (HC-92) Add tests for new render option (2762f01f)
327
+
328
+
329
+ ```
330
+ (HC-92) Add tests for new render option
331
+
332
+ Adds tests for key_value_separator render option
333
+ ```
334
+ * (HC-92) Add cli tests for setting complex types (3d548f33)
335
+
336
+ * (HC-92) Add key_value_separator render option (b12a822c)
337
+
338
+
339
+ ```
340
+ (HC-92) Add key_value_separator render option
341
+
342
+ Also updates the CLI tool to use the colon separator in the set subcommand
343
+ ```
344
+ * (HC-92) Update version to 1.2.0 (4746078e)
345
+
346
+ * (HC-92) Whitespace (b9b65fd5)
347
+
348
+ * (HC-92) Remove default space before colons in maps (12a31ca6)
349
+
350
+ * (HC-92) Add spec tests for cli functions (8b06d660)
351
+
352
+ * (HC-92) Improve modularity (846040d0)
353
+
354
+ * (HC-92) Add json output support (6a203bf3)
355
+
356
+ * (HC-92) Better error handling (88a6abca)
357
+
358
+ * (HC-92) Add --out-file support (07bdef54)
359
+
360
+ * (HC-92) Move cli code to lib dir (fb0483fc)
361
+
362
+ * (HC-92) Add STDIN support (61b872c5)
363
+
364
+ * (HC-92) Add CLI tool for hocon (21d5f01d)
365
+
366
+ ### <a name = "1.1.3">1.1.3 - 12 Oct, 2016 (bf4a7d4b)
367
+
368
+ * Merge pull request #88 from cprice404/bug/master/parse-with-substitutions (bf4a7d4b)
369
+
370
+
371
+ ```
372
+ Merge pull request #88 from cprice404/bug/master/parse-with-substitutions
373
+
374
+ Fix bug in `Hocon.parse` with substitutions
375
+ ```
376
+ * Fix bug in `Hocon.parse` with substitutions (07b265b9)
377
+
378
+
379
+ ```
380
+ Fix bug in `Hocon.parse` with substitutions
381
+
382
+ Currently, if you call `Hocon.parse` with a string that contains
383
+ substitutions, you will get a `ConfigNotResolvedError`.
384
+
385
+ We had this issue with `Hocon.load` earlier, and modified it to
386
+ include the code necessary to resolve the config object before
387
+ returning it. However, we didn't make the same changes for `parse`,
388
+ so the behavior actually diverged between the two.
389
+
390
+ This commit fixes up `parse` in the same way that we previously
391
+ fixed up `load`.
392
+ ```
393
+ * Merge pull request #85 from cprice404/maint/master/200-add-maintainers (d98ad200)
394
+
395
+
396
+ ```
397
+ Merge pull request #85 from cprice404/maint/master/200-add-maintainers
398
+
399
+ (200) Add MAINTAINERS
400
+ ```
401
+ * (200) Add MAINTAINERS (8119f366)
402
+
403
+ * Merge pull request #84 from jpinsonault/maint-add-ruby-gems-widget (a8318435)
404
+
405
+
406
+ ```
407
+ Merge pull request #84 from jpinsonault/maint-add-ruby-gems-widget
408
+
409
+ (MAINT) Add rubygems version widget
410
+ ```
411
+ * (MAINT) Add rubygems version widget (3b9bb37e)
412
+
413
+ ### <a name = "1.1.2">1.1.2 - 15 Jul, 2016 (6041a5c4)
414
+
415
+ * Merge pull request #83 from jpinsonault/maint-update-changelog-for-1.1.2 (6041a5c4)
416
+
417
+
418
+ ```
419
+ Merge pull request #83 from jpinsonault/maint-update-changelog-for-1.1.2
420
+
421
+ (MAINT) Update changelog/version for 1.1.2 release
422
+ ```
423
+ * (MAINT) Update changelog/version for 1.1.2 release (947e6aa4)
424
+
425
+ * Merge pull request #82 from Iristyle/ticket/master/HC-82-parse-files-as-utf8-with-boms (a58adc87)
426
+
427
+
428
+ ```
429
+ Merge pull request #82 from Iristyle/ticket/master/HC-82-parse-files-as-utf8-with-boms
430
+
431
+ (HC-82) Enable UTF-8 with BOM parsing
432
+ ```
433
+ * (HC-82) Add spec for UTF-8 filenames (b0d702c1)
434
+
435
+
436
+ ```
437
+ (HC-82) Add spec for UTF-8 filenames
438
+
439
+ - Hocon does not currently handle UTF-8 filenames properly
440
+ ```
441
+ * (HC-82) Remove invalid BOM spec (9a5cabea)
442
+
443
+
444
+ ```
445
+ (HC-82) Remove invalid BOM spec
446
+
447
+ - A skipped test exists for validating a string can be passed to
448
+ parse_string that starts with a UTF8 BOM \uFEFF
449
+
450
+ - However, when comparing this to the Ruby JSON parser, that parser
451
+ also doesn't handle this seemingly edge case. Arguably, by the
452
+ time a string read from a file is passed to a parsing engine, it
453
+ will be in the correct encoding, and will have leading BOMs
454
+ trimmed off.
455
+
456
+ For reference, Ruby JSON behavior:
457
+
458
+ [1] pry(main)> require 'json'
459
+ => true
460
+
461
+ [2] pry(main)> json = "\uFEFF{ \"foo\": \"bar\" }"
462
+ => "{ \"foo\": \"bar\" }"
463
+
464
+ [3] pry(main)> JSON.parse(json)
465
+ JSON::ParserError: 757: unexpected token at '{ "foo": "bar" }'
466
+ from /usr/local/opt/rbenv/versions/2.1.9/lib/ruby/2.1.0/json/common.rb:155:in `parse'
467
+ ```
468
+ * (HC-82) Add additional file encoding specs (9e04970e)
469
+
470
+
471
+ ```
472
+ (HC-82) Add additional file encoding specs
473
+
474
+ - Show that UTF-8 content is properly handled
475
+ - Show that UTF-16 content is not yet supported
476
+ ```
477
+ * (HC-82) Enable UTF-8 with BOM parsing (8ccf6625)
478
+
479
+
480
+ ```
481
+ (HC-82) Enable UTF-8 with BOM parsing
482
+
483
+ - Previously Hocon::ConfigFactory.parse_file did not specify an
484
+ encoding, and didn't allow for files with UTF-8 BOMs on Windows.
485
+
486
+ In reality, HOCON config files should be detected by their BOM and
487
+ treated as UTF-8, UTF-16LE, UTF-16BE, UTF-32LE or UTF-32BE based on
488
+ the presence of the BOM, with a fallback to UTF-8 when one is not
489
+ present, based on RFC 4627 at https://www.ietf.org/rfc/rfc4627.txt
490
+
491
+ This fix is a bit naive as it may improperly load HOCON config
492
+ files on Windows which are UCS-2 (a precursor to UTF-16LE). Its
493
+ recommended that this be addressed later in a better File parsing
494
+ scheme that peeks at the first few bytes of the file to determine
495
+ the encoding correctly.
496
+ ```
497
+ ### <a name = "1.1.1">1.1.1 - 6 Jul, 2016 (5b2c8baa)
498
+
499
+ * Merge pull request #81 from janelu2/master (5b2c8baa)
500
+
501
+
502
+ ```
503
+ Merge pull request #81 from janelu2/master
504
+
505
+ (MAINT) update CHANGELOG.md and version number for z release of 1.1.1
506
+ ```
507
+ * (MAINT) update CHANGELOG.md and version number for z release of 1.1.1 (582cd7e2)
508
+
509
+ * Merge pull request #80 from janelu2/master (17ecc8d4)
510
+
511
+
512
+ ```
513
+ Merge pull request #80 from janelu2/master
514
+
515
+ (HC-81) Fix undefined method `value_type_name' error
516
+ ```
517
+ * (HC-81) Add tests and fix value_type_name calls (466ca82a)
518
+
519
+
520
+ ```
521
+ (HC-81) Add tests and fix value_type_name calls
522
+
523
+ (MAINT) fix test to correctly call the wrong error
524
+
525
+ (MAINT) add require to config_value_type and use alias
526
+ ```
527
+ ### <a name = "1.1.0">1.1.0 - 1 Jul, 2016 (99b3145e)
528
+
529
+ * Merge pull request #78 from jpinsonault/maint-update-changelog-for-release (99b3145e)
530
+
531
+
532
+ ```
533
+ Merge pull request #78 from jpinsonault/maint-update-changelog-for-release
534
+
535
+ (MAINT) Update changelog and version for release
536
+ ```
537
+ * (MAINT) Fix changelog version (aa3fef17)
538
+
539
+ * Merge pull request #79 from janelu2/master (17d96e4b)
540
+
541
+
542
+ ```
543
+ Merge pull request #79 from janelu2/master
544
+
545
+ (MAINT) update readme
546
+ ```
547
+ * (MAINT) update readme (3123b670)
548
+
549
+ * (MAINT) Update changelog and version for release (213e10f8)
550
+
551
+
552
+ ```
553
+ (MAINT) Update changelog and version for release
554
+
555
+ Update changelog
556
+ Bump version to 1.1.0
557
+ Update gitignore with Gemfile.lock
558
+ ```
559
+ * Merge pull request #77 from cprice404/bug/master/HC-80-dont-shadow-ruby-class-module-name (61194207)
560
+
561
+
562
+ ```
563
+ Merge pull request #77 from cprice404/bug/master/HC-80-dont-shadow-ruby-class-module-name
564
+
565
+ (HC-80) Don't shadow ruby Class/Module#name method
566
+ ```
567
+ * Merge pull request #76 from cprice404/maint/master/HC-79-support-format-arg-in-load (c0c88698)
568
+
569
+
570
+ ```
571
+ Merge pull request #76 from cprice404/maint/master/HC-79-support-format-arg-in-load
572
+
573
+ (HC-79) support :syntax arg in load
574
+ ```
575
+ * (MAINT) Change variable name for readability (cd3505ed)
576
+
577
+ * (HC-80) Don't shadow ruby Class/Module#name method (4f7c8ccc)
578
+
579
+
580
+ ```
581
+ (HC-80) Don't shadow ruby Class/Module#name method
582
+
583
+ Prior to this commit, there were a few places in the code where
584
+ we'd ported over a class-or-module-level method named `name` from
585
+ the upstream library. This isn't a good idea in Ruby because it
586
+ results in shadowing of the built in Ruby methods Class#name and
587
+ Module#name. This was causing problems for some users, e.g. in
588
+ cases where reflection is being used to examine classes.
589
+
590
+ In this commit we rename all such methods to something more specific,
591
+ and replace the calls to the old names with calls to the new names.
592
+ ```
593
+ * (HC-79) support `:syntax` option in simple `load` (a5663ca6)
594
+
595
+
596
+ ```
597
+ (HC-79) support `:syntax` option in simple `load`
598
+
599
+ This commit adds support for an optional `opts` map to be passed
600
+ in to the simple `load` method. If provided, this map may contain
601
+ a `:syntax` key that explicitly specifies which config format/syntax
602
+ the user expects the file to be in.
603
+
604
+ This provides a way for users to load files whose file extension
605
+ doesn't match the built-in expectations for which file extensions
606
+ use which syntaxes.
607
+
608
+ The commit also provides some error checking for the case where
609
+ an explicit `:syntax` is not passed in, and the file extension
610
+ isn't recognized. In this case, we will throw an error now, rather
611
+ than silently returning an empty map like we did in the past.
612
+
613
+ Finally, this commit adds some notes to the docs/example usage,
614
+ indicating how to pass in an explicit syntax.
615
+ ```
616
+ * (MAINT) separate ruby tests from upstream tests (3cd0f049)
617
+
618
+ * Merge pull request #74 from karenvdv/server-1300-add-maintainers (ffc0e143)
619
+
620
+
621
+ ```
622
+ Merge pull request #74 from karenvdv/server-1300-add-maintainers
623
+
624
+ Add maintainers section
625
+ ```
626
+ * Add maintainers section (6fec1cdc)
627
+
628
+ ### <a name = "1.0.1">1.0.1 - 16 Mar, 2016 (aa36b692)
629
+
630
+ * Update for 1.0.1 release (aa36b692)
631
+
632
+ * Update date for 1.0.0 release (9cbb6175)
633
+
634
+ ### <a name = "1.0.0">1.0.0 - 16 Feb, 2016 (dc385fe2)
635
+
636
+ * Merge pull request #72 from jpinsonault/maint-bump-version-to-1.0.0 (dc385fe2)
637
+
638
+
639
+ ```
640
+ Merge pull request #72 from jpinsonault/maint-bump-version-to-1.0.0
641
+
642
+ (MAINT) bump and relabel version 0.9.4 to 1.0.0
643
+ ```
644
+ * (MAINT) Add link to readme (d6312759)
645
+
646
+ * (MAINT) Update gemfile.lock (a9b721b6)
647
+
648
+ * (MAINT) Whitespace - Cleanup README (920ffafb)
649
+
650
+ * (MAINT) Bump and relabel 0.9.4 to 1.0.0 (e129b2ee)
651
+
652
+
653
+ ```
654
+ (MAINT) Bump and relabel 0.9.4 to 1.0.0
655
+
656
+ 0.9.4 introduced changes that require some users to modify their require
657
+ statements due to bugfixes. In addition the API is stable enough to consider this a 1.0.0
658
+ release
659
+
660
+ 1.0.0 Changlog:
661
+ This is a bugfix release.
662
+ The API is stable enough and the code is being used in production, so the version is also being bumped to 1.0.0
663
+
664
+ * Fixed a bug wherein calling "Hocon.load" would not
665
+ resolve substitutions.
666
+ * Fixed a circular dependency between the Hocon and Hocon::ConfigFactory
667
+ namespaces. Using the Hocon::ConfigFactory class now requires you to
668
+ use a `require 'hocon/config_factory'` instead of `require hocon`
669
+ * Add support for hashes with keyword keys
670
+ ```
671
+ * Merge pull request #71 from fpringvaldsen/maint/changelog (2b55e3b7)
672
+
673
+
674
+ ```
675
+ Merge pull request #71 from fpringvaldsen/maint/changelog
676
+
677
+ Fix changelog for 0.9.4
678
+ ```
679
+ * Fix changelog for 0.9.4 (7e417107)
680
+
681
+
682
+ ```
683
+ Fix changelog for 0.9.4
684
+
685
+ Add changes that went into the 0.9.4 release that weren't
686
+ listed in the changelog.
687
+ ```
688
+ * (MAINT) Update Gemfile.lock (d9f1d4c8)
689
+
690
+ * (MAINT) Update for 0.9.4 release (ec909659)
691
+
692
+ * Merge pull request #70 from fpringvaldsen/maint/load-issue (1ffa268a)
693
+
694
+
695
+ ```
696
+ Merge pull request #70 from fpringvaldsen/maint/load-issue
697
+
698
+ (MAINT) Fix Hocon.load substitution issue
699
+ ```
700
+ * (MAINT) Fix Hocon.load substitution issue (31321f0b)
701
+
702
+
703
+ ```
704
+ (MAINT) Fix Hocon.load substitution issue
705
+
706
+ Previously, Hocon.load was calling into the
707
+ ConfigFactory.parse_file method. However, the `parse` methods
708
+ in ConfigFactory do not resolve substitutions, as that is the
709
+ intent of the `load` methods.
710
+
711
+ This commit updates the Hocon.load method to call into
712
+ ConfigFactory.load_file. It also updates the readme to explain
713
+ the usage of ConfigDocuments, and adds a comment to explain
714
+ that the `load` methods in ConfigFactory should be used if
715
+ substitutions are present
716
+ ```
717
+ * Merge pull request #68 from krjackso/master (f9f29a3f)
718
+
719
+
720
+ ```
721
+ Merge pull request #68 from krjackso/master
722
+
723
+ Fix typo when referencing GENERIC OriginType
724
+ ```
725
+ * Fix typo when referencing GENERIC OriginType (0d1a65fc)
726
+
727
+ * Merge pull request #66 from traylenator/addspec (c9f56235)
728
+
729
+
730
+ ```
731
+ Merge pull request #66 from traylenator/addspec
732
+
733
+ Add spec tests to gem file. Fixes #65
734
+ ```
735
+ * Add spec tests to gem file. Fixes #65 (573da794)
736
+
737
+ * Merge pull request #64 from cprice404/maint/master/fix-circular-deps (618592a1)
738
+
739
+
740
+ ```
741
+ Merge pull request #64 from cprice404/maint/master/fix-circular-deps
742
+
743
+ (HC-24) Use simple API in README, fix circular deps
744
+ ```
745
+ * (HC-24) Use simple API in README, fix circular deps (3783f305)
746
+
747
+
748
+ ```
749
+ (HC-24) Use simple API in README, fix circular deps
750
+
751
+ This commit updates the README to show the simpler version of the
752
+ API for basic read operations.
753
+
754
+ It also fixes some circular dependencies that were causing the
755
+ example code for the ConfigDocumentFactory not to work properly.
756
+ ```
757
+ * Merge pull request #62 from fpringvaldsen/improvement/TK-251/keyword-keys (0e7216c4)
758
+
759
+
760
+ ```
761
+ Merge pull request #62 from fpringvaldsen/improvement/TK-251/keyword-keys
762
+
763
+ (TK-251) Convert symbol keys to strings
764
+ ```
765
+ * (TK-251) Process nested hashes (724f792d)
766
+
767
+
768
+ ```
769
+ (TK-251) Process nested hashes
770
+
771
+ When converting a Hashes symbol keys to strings, also process
772
+ any nested hashes that are present.
773
+ ```
774
+ * (TK-251) Convert symbol keys to strings (89f57cc1)
775
+
776
+
777
+ ```
778
+ (TK-251) Convert symbol keys to strings
779
+
780
+ When parsing a Hash in ConfigValueFactory, automatically convert
781
+ all symbol keys to strings.
782
+ ```
783
+ ### <a name = "0.9.3">0.9.3 - 14 Jul, 2015 (7defef59)
784
+
785
+ * Update Changelog and Gemspec for 0.9.3 (7defef59)
786
+
787
+ * Merge pull request #61 from fpringvaldsen/bug/TK-249/bad-comments (be17f2a4)
788
+
789
+
790
+ ```
791
+ Merge pull request #61 from fpringvaldsen/bug/TK-249/bad-comments
792
+
793
+ (TK-249) Remove unnecessary comments in output
794
+ ```
795
+ * (TK-249) Remove unnecessary comments in output (e893d6fc)
796
+
797
+
798
+ ```
799
+ (TK-249) Remove unnecessary comments in output
800
+
801
+ Remove unnecessary "# hardcoded value" comments that were being
802
+ generated when inserting a hash or an array into a ConfigDocument.
803
+ ```
804
+ ### <a name = "0.9.2">0.9.2 - 30 Jun, 2015 (6b402bc2)
805
+
806
+ * Update CHANGELOG and gemspec for 0.9.2 (6b402bc2)
807
+
808
+ * Merge pull request #59 from fpringvaldsen/maint/undefined-method-fix (96499050)
809
+
810
+
811
+ ```
812
+ Merge pull request #59 from fpringvaldsen/maint/undefined-method-fix
813
+
814
+ (MAINT) Fix undefined method bug
815
+ ```
816
+ * (MAINT) Fix undefined method bug (a47ee9b0)
817
+
818
+
819
+ ```
820
+ (MAINT) Fix undefined method bug
821
+
822
+ Fix an undefined method bug that was occurring when attempting to
823
+ add a complex value into an empty root object.
824
+ ```
825
+ ### <a name = "0.9.1">0.9.1 - 30 Jun, 2015 (e8c2f405)
826
+
827
+ * Update CHANGELOG and gemspec for 0.9.1 (e8c2f405)
828
+
829
+ * Merge pull request #58 from fpringvaldsen/bug/TK-246/single-line-config (c4bfc3c0)
830
+
831
+
832
+ ```
833
+ Merge pull request #58 from fpringvaldsen/bug/TK-246/single-line-config
834
+
835
+ (TK-246) Fix single-line config bug
836
+ ```
837
+ * (TK-246) Fix single-line config bug (9305707b)
838
+
839
+
840
+ ```
841
+ (TK-246) Fix single-line config bug
842
+
843
+ Previously there was a bug wherein building out a config starting
844
+ from an empty ConfigDocument would cause the entire config to
845
+ exist on a single line. Fix this bug by modifying the addition of
846
+ new maps along a path to add multi-line maps instead of
847
+ single-line maps if the object being added to is an empty root or
848
+ a multi-line object.
849
+ ```
850
+ * Merge pull request #57 from cprice404/maint/master/improve-error-messages-for-problem-tokens (afeed2a0)
851
+
852
+
853
+ ```
854
+ Merge pull request #57 from cprice404/maint/master/improve-error-messages-for-problem-tokens
855
+
856
+ (MAINT) Improve error messages for Problem tokens
857
+ ```
858
+ * (MAINT) Improve error messages for Problem tokens (be4a9320)
859
+
860
+
861
+ ```
862
+ (MAINT) Improve error messages for Problem tokens
863
+
864
+ Prior to this commit, the `Problem` token type called
865
+ `to_s` on an internal `StringIO` object when building
866
+ up an error string to return to the user. Calling
867
+ `to_s` on a `StringIO` just causes it to print out,
868
+ basically, `#<StringIO...>`, so you don't get the
869
+ useful error message.
870
+
871
+ This patch changes the code to call `string` instead,
872
+ which returns a much more useful error message.
873
+ ```
874
+ ### <a name = "0.9.0">0.9.0 - 10 Apr, 2015 (aeab6ab2)
875
+
876
+ * Merge pull request #56 from jpinsonault/maint-update-for-0.9.0-release (aeab6ab2)
877
+
878
+
879
+ ```
880
+ Merge pull request #56 from jpinsonault/maint-update-for-0.9.0-release
881
+
882
+ (MAINT) Update for 0.9.0 release
883
+ ```
884
+ * (MAINT) Update for 0.9.0 release (a139e789)
885
+
886
+ * Merge pull request #55 from fpringvaldsen/maint/empty-doc-test (5b7b7d8f)
887
+
888
+
889
+ ```
890
+ Merge pull request #55 from fpringvaldsen/maint/empty-doc-test
891
+
892
+ (MAINT) Add empty document insertion test
893
+ ```
894
+ * (MAINT) Add additional ConfigValue insertion test (9d307477)
895
+
896
+
897
+ ```
898
+ (MAINT) Add additional ConfigValue insertion test
899
+
900
+ Add an additional test for inserting a ConfigValue into a
901
+ ConfigDocument. Fix an issue wherein this would fail as the
902
+ rendered result of ConfigValue was not having whitespace trimmed.
903
+ ```
904
+ * (MAINT) Add empty document insertion test (62394f9c)
905
+
906
+
907
+ ```
908
+ (MAINT) Add empty document insertion test
909
+
910
+ Add a test for insertion into an empty ConfigDocument.
911
+ ```
912
+ ### <a name = "0.1.0">0.1.0 - 9 Apr, 2015 (bfdb7255)
913
+
914
+ * (MAINT) Update gemspec for 0.1.0 release (bfdb7255)
915
+
916
+ * (MAINT) Remove SimpleConfigDocument require (bea56c92)
917
+
918
+
919
+ ```
920
+ (MAINT) Remove SimpleConfigDocument require
921
+
922
+ Remove the SimpleConfigDocument require from the ConfigDocument
923
+ spec, as this was causing an issue wherein Parseable would work
924
+ properly even though it needed to require SimpleConfigDocument.
925
+ ```
926
+ * (MAINT) Fix uninitialized constant error (fd2abd12)
927
+
928
+ * Merge pull request #53 from fpringvaldsen/task/TK-188/refactor-parser (30c5feee)
929
+
930
+
931
+ ```
932
+ Merge pull request #53 from fpringvaldsen/task/TK-188/refactor-parser
933
+
934
+ (TK-188) Refactor Parser
935
+ ```
936
+ * Merge pull request #54 from jpinsonault/tk-161-port-public-api-tests (0a4fcbe0)
937
+
938
+
939
+ ```
940
+ Merge pull request #54 from jpinsonault/tk-161-port-public-api-tests
941
+
942
+ (TK-161) port public api tests
943
+ ```
944
+ * Added test for load_file_with_resolve_options (7afc6053)
945
+
946
+ * Addressed PR feedback (029db783)
947
+
948
+ * Merge pull request #52 from fpringvaldsen/task/TK-187/port-ConfigDocument (73471f1b)
949
+
950
+
951
+ ```
952
+ Merge pull request #52 from fpringvaldsen/task/TK-187/port-ConfigDocument
953
+
954
+ (TK-187) Port ConfigDocument and tests
955
+ ```
956
+ * (MAINT) Fix typos (f3102ef8)
957
+
958
+
959
+ ```
960
+ (MAINT) Fix typos
961
+
962
+ Fix typos in comment and test string.
963
+ ```
964
+ * (MAINT) Fix failing ConfigValue test (9ddbc290)
965
+
966
+
967
+ ```
968
+ (MAINT) Fix failing ConfigValue test
969
+
970
+ Fix bug with the rendering of SimpleConfigList that was causing
971
+ a skipped ConfigValue test to fail.
972
+ ```
973
+ * Refactor Parser (fdc74366)
974
+
975
+
976
+ ```
977
+ Refactor Parser
978
+
979
+ Refactor the Parser class into ConfigParser, and change it to
980
+ parse ConfigNodes rather than Tokens. Change Parseable to first
981
+ parse a ConfigDocument, then use that to parse a Config.
982
+ ```
983
+ * (MAINT) Clean-up loops (5d10c6fc)
984
+
985
+
986
+ ```
987
+ (MAINT) Clean-up loops
988
+
989
+ Clean up certain loops in ConfigNode and ConfigDocument
990
+ implementations to be more ruby-esque.
991
+ ```
992
+ * (TK-187) Port ConfigDocument tests (df22b9f7)
993
+
994
+
995
+ ```
996
+ (TK-187) Port ConfigDocument tests
997
+
998
+ Port all ConfigDocument tests down to ruby-hocon and get them
999
+ passing.
1000
+ ```
1001
+ * Merge pull request #51 from fpringvaldsen/task/TK-186/port-ConfigNode (63c8907a)
1002
+
1003
+
1004
+ ```
1005
+ Merge pull request #51 from fpringvaldsen/task/TK-186/port-ConfigNode
1006
+
1007
+ (TK-186) Port ConfigNode tests
1008
+ ```
1009
+ * (TK-187) Port ConfigDocument classes/interfaces (1b8f5eea)
1010
+
1011
+
1012
+ ```
1013
+ (TK-187) Port ConfigDocument classes/interfaces
1014
+
1015
+ Port the ConfigDocument classes and interfaces from the upstream
1016
+ library, sans tests.
1017
+ ```
1018
+ * (TK-186) Update comment on AbstractConfigNodeValue (391d1c89)
1019
+
1020
+
1021
+ ```
1022
+ (TK-186) Update comment on AbstractConfigNodeValue
1023
+
1024
+ Update the comment on the AbstractConfigNodeValue to reflect that
1025
+ the module is unnecessary in Ruby and is being preserved solely
1026
+ for consistency.
1027
+ ```
1028
+ * (TK-186) Make abstract classes into modules (00a7d5dd)
1029
+
1030
+
1031
+ ```
1032
+ (TK-186) Make abstract classes into modules
1033
+
1034
+ Change all ConfigNode classes that are abstract in the upstream
1035
+ library into modules. Change the ConfigNode class to a module.
1036
+ ```
1037
+ * (TK-186) Fix typo in comment_text method name (73da7db5)
1038
+
1039
+
1040
+ ```
1041
+ (TK-186) Fix typo in comment_text method name
1042
+
1043
+ Change the commentText method to comment_text.
1044
+ ```
1045
+ * (TK-187) Port ConfigDocumentParser tests (19134ddd)
1046
+
1047
+
1048
+ ```
1049
+ (TK-187) Port ConfigDocumentParser tests
1050
+
1051
+ Port all tests for ConfigDocumentParser and ensure they are
1052
+ passing.
1053
+ ```
1054
+ * (TK-187) Port ConfigDocumentParser (18f55f46)
1055
+
1056
+
1057
+ ```
1058
+ (TK-187) Port ConfigDocumentParser
1059
+
1060
+ Port the ConfigDocumentParser class (sans tests) from the
1061
+ upstream library.
1062
+ ```
1063
+ * (TK-161) Port Public API tests to ruby-hocon (03bc79a1)
1064
+
1065
+ * (MAINT) Fix issue with concatenation tests (14615490)
1066
+
1067
+ * (TK-186) Port ConfigNode tests (f5197a2a)
1068
+
1069
+
1070
+ ```
1071
+ (TK-186) Port ConfigNode tests
1072
+
1073
+ Port all the ConfigNode tests in the upstream library. Make
1074
+ various bugfixes to get the tests passing.
1075
+ ```
1076
+ * Merge pull request #50 from KevinCorcoran/errmagerhd (798ab05a)
1077
+
1078
+
1079
+ ```
1080
+ Merge pull request #50 from KevinCorcoran/errmagerhd
1081
+
1082
+ (TK-162) enable concatenation test cases + fixes
1083
+ ```
1084
+ * (TK-186) Implement ConfigNode classes (3600a2be)
1085
+
1086
+
1087
+ ```
1088
+ (TK-186) Implement ConfigNode classes
1089
+
1090
+ Implement all the various ConfigNode classes from the upstream
1091
+ library.
1092
+ ```
1093
+ * Merge pull request #48 from jpinsonault/tk-159-round-three-config-value-tests (5e95a622)
1094
+
1095
+
1096
+ ```
1097
+ Merge pull request #48 from jpinsonault/tk-159-round-three-config-value-tests
1098
+
1099
+ (TK-159) Final round of config value tests
1100
+ ```
1101
+ * Addressed PR feedback (d5c04edc)
1102
+
1103
+ * Merge pull request #49 from cprice404/maint/master/excepton-typo (7d31e86f)
1104
+
1105
+
1106
+ ```
1107
+ Merge pull request #49 from cprice404/maint/master/excepton-typo
1108
+
1109
+ (MAINT) fix 'excepton' typo
1110
+ ```
1111
+ * (MAINT) fix 'excepton' typo (2f705314)
1112
+
1113
+ * Merge pull request #47 from cprice404/feature/master/TK-160-more-conf-parser-tests (e73f00fb)
1114
+
1115
+
1116
+ ```
1117
+ Merge pull request #47 from cprice404/feature/master/TK-160-more-conf-parser-tests
1118
+
1119
+ (TK-160) More config parser tests
1120
+ ```
1121
+ * Addressed PR feedback (a5e314da)
1122
+
1123
+ * (TK-160) Improve comments re: BOM tests (a054355b)
1124
+
1125
+ * Merge pull request #46 from KevinCorcoran/delayed-merge (c2a58a41)
1126
+
1127
+
1128
+ ```
1129
+ Merge pull request #46 from KevinCorcoran/delayed-merge
1130
+
1131
+ implement rest of CDMO + other bugfixes
1132
+ ```
1133
+ * (TK-160) Finished implementing conf parser tests (d19ea3bc)
1134
+
1135
+ * (TK-160) Port multi-field comment tests (c959e2c9)
1136
+
1137
+ * (TK-160) Port comment tests (dbea64ae)
1138
+
1139
+ * (TK-160) Port more conf parser tests (07a3f335)
1140
+
1141
+ * Merge pull request #45 from cprice404/feature/master/TK-160-more-include-parser-tests (c3b622e0)
1142
+
1143
+
1144
+ ```
1145
+ Merge pull request #45 from cprice404/feature/master/TK-160-more-include-parser-tests
1146
+
1147
+ (TK-160) fix remaining "valid conf" parser tests
1148
+ ```
1149
+ * (TK-160) Fix typos (ac6f9c44)
1150
+
1151
+ * (TK-162) enable concatenation test cases + fixes (de643885)
1152
+
1153
+
1154
+ ```
1155
+ (TK-162) enable concatenation test cases + fixes
1156
+
1157
+ Un-comment the remaining concatenation test cases that were still commented-out
1158
+ and fix bugs. Also added 'inspect' implementations and use short class names to
1159
+ make trace output match upstream, and re-wrote various bits of code to correspond
1160
+ more closely to upstream.
1161
+ ```
1162
+ * (maint) port rest of MemoKey and fix a couple bugs (7374d543)
1163
+
1164
+ * (maint) sync SimpleConfigObject.== with upstream (3f4d7fe0)
1165
+
1166
+ * (maint) sync ConfigDelayedMergeObject w/ upstream (df402953)
1167
+
1168
+ * (TK-159) Final round of config value tests (cfdaa58d)
1169
+
1170
+
1171
+ ```
1172
+ (TK-159) Final round of config value tests
1173
+
1174
+ Implemented AbstractConfigValue#at_path/at_key
1175
+ ```
1176
+ * Merge pull request #44 from KevinCorcoran/finish-concat-test-2 (a01c2214)
1177
+
1178
+
1179
+ ```
1180
+ Merge pull request #44 from KevinCorcoran/finish-concat-test-2
1181
+
1182
+ (TK-162) concat tests
1183
+ ```
1184
+ * (maint) add comment about Ruby vs. Java integers (34fca36e)
1185
+
1186
+ * (TK-160) More config parser tests (b3b48fd0)
1187
+
1188
+ * (MAINT) Remove code related to '.properties' files (69367ad0)
1189
+
1190
+ * (TK-160) Get `include` "valid conf" parser tests passing (bea8a481)
1191
+
1192
+ * (TK-162) comment-out failing concat test cases (2fdb2621)
1193
+
1194
+ * Merge pull request #43 from cprice404/feature/master/TK-160-more-valid-conf-parser-tests (1da67e76)
1195
+
1196
+
1197
+ ```
1198
+ Merge pull request #43 from cprice404/feature/master/TK-160-more-valid-conf-parser-tests
1199
+
1200
+ (TK-160) more valid conf parser tests
1201
+ ```
1202
+ * (TK-160) re-enable += tests, they are passing now (fd646c39)
1203
+
1204
+ * Merge pull request #40 from cprice404/maint/master/re-sync-parser-and-tokenizer (903c9bdd)
1205
+
1206
+
1207
+ ```
1208
+ Merge pull request #40 from cprice404/maint/master/re-sync-parser-and-tokenizer
1209
+
1210
+ (MAINT) Update Parser to match latest upstream
1211
+ ```
1212
+ * (MAINT) Fix bugs and port ConfigNode interface (efcbacea)
1213
+
1214
+ * Merge pull request #42 from KevinCorcoran/config-string (710b3f80)
1215
+
1216
+
1217
+ ```
1218
+ Merge pull request #42 from KevinCorcoran/config-string
1219
+
1220
+ (maint) sync ConfigString with upstream
1221
+ ```
1222
+ * (MAINT) Sync ConfigDelayedMerge (4e389d3b)
1223
+
1224
+ * (MAINT) re-sync `Path` class (853b447a)
1225
+
1226
+ * Merge pull request #41 from KevinCorcoran/fix-null-in-concat (146f22bf)
1227
+
1228
+
1229
+ ```
1230
+ Merge pull request #41 from KevinCorcoran/fix-null-in-concat
1231
+
1232
+ Fix null in concat
1233
+ ```
1234
+ * (maint) sync ConfigString with upstream (e13ea5a7)
1235
+
1236
+
1237
+ ```
1238
+ (maint) sync ConfigString with upstream
1239
+
1240
+ Also, replace calls to ConfigString.new with Quoted/Unquoted.
1241
+ ```
1242
+ * (TK-162) finish porting concatenation tests (7a6f8d75)
1243
+
1244
+ * Merge pull request #39 from KevinCorcoran/resolve-source-and-concat-test (b1874e34)
1245
+
1246
+
1247
+ ```
1248
+ Merge pull request #39 from KevinCorcoran/resolve-source-and-concat-test
1249
+
1250
+ port ResolveSource and concat test case
1251
+ ```
1252
+ * (maint) port concatenation tests and fix bugs (f62a49c8)
1253
+
1254
+ * (maint) small refactor to match upstream (6d2474df)
1255
+
1256
+
1257
+ ```
1258
+ (maint) small refactor to match upstream
1259
+
1260
+ Re-write a few bits of SimpleConfigObject.render_value_to_sb to
1261
+ make it more closely match the upstream version.
1262
+ ```
1263
+ * (maint) fix bad reference to self.class (f77a983d)
1264
+
1265
+ * Merge pull request #36 from KevinCorcoran/sync-up-config-concat (6ac66904)
1266
+
1267
+
1268
+ ```
1269
+ Merge pull request #36 from KevinCorcoran/sync-up-config-concat
1270
+
1271
+ (maint) sync ConfigConcatenation with upstream
1272
+ ```
1273
+ * (maint) fix typo and log message (f33e5b31)
1274
+
1275
+ * Merge pull request #37 from jpinsonault/tk-159-round-two-config-value-tests (9c6b2333)
1276
+
1277
+
1278
+ ```
1279
+ Merge pull request #37 from jpinsonault/tk-159-round-two-config-value-tests
1280
+
1281
+ (TK-159) Round Two of ConfigValue tests
1282
+ ```
1283
+ * (maint) use self.class instead of class name (d5c8046b)
1284
+
1285
+ * (maint) fix method name to match upstream (8a5b1b12)
1286
+
1287
+ * Merge pull request #35 from cprice404/maint/master/flesh-out-simple-config-list (517ac3a3)
1288
+
1289
+
1290
+ ```
1291
+ Merge pull request #35 from cprice404/maint/master/flesh-out-simple-config-list
1292
+
1293
+ (MAINT) Flesh out SimpleConfigList
1294
+ ```
1295
+ * Addressed PR feedback (a142e824)
1296
+
1297
+ * (MAINT) Fix immutable exception type, bugs in SCOrigin (c1696790)
1298
+
1299
+
1300
+ ```
1301
+ (MAINT) Fix immutable exception type, bugs in SCOrigin
1302
+
1303
+ This commit does the following:
1304
+
1305
+ * Changes the exception type for the `we_are_immutable` cases
1306
+ to use a new `UnsupportedOperationError`, to make the behavior
1307
+ model the Java version more closely.
1308
+ * Fix a couple of bugs in the ==/hash methods of SimpleConfigOrigin
1309
+ ```
1310
+ * (MAINT) Update Parser to match latest upstream (f4b4ee62)
1311
+
1312
+ * (TK-162) additional concatenation test case (2650e4b2)
1313
+
1314
+
1315
+ ```
1316
+ (TK-162) additional concatenation test case
1317
+
1318
+ ... and the changes to the production code required for it to pass.
1319
+ ```
1320
+ * (maint) sync ResolveSource with upstream version (153c91e3)
1321
+
1322
+ * (MAINT) Flesh out SimpleConfigOrigin (8179f4e5)
1323
+
1324
+ * Merge pull request #34 from cprice404/maint/master/flesh-out-simple-config-object (1b4976c4)
1325
+
1326
+
1327
+ ```
1328
+ Merge pull request #34 from cprice404/maint/master/flesh-out-simple-config-object
1329
+
1330
+ (MAINT) flesh out simple config object
1331
+ ```
1332
+ * (MAINT) Flesh out SimpleConfigList (35ec6306)
1333
+
1334
+ * (maint) sync ConfigConcatenation with upstream (ef2dbdff)
1335
+
1336
+ * (MAINT) Change `RuntimeError` to `ConfigError`. (e805e83c)
1337
+
1338
+ * (TK-160) Get most 'valid conf' parser tests passing (7c93a5b3)
1339
+
1340
+
1341
+ ```
1342
+ (TK-160) Get most 'valid conf' parser tests passing
1343
+
1344
+ This commit fixes a ton of bugs and syncs some classes necessary
1345
+ to get most of the 'valid conf' parser tests passing.
1346
+ ```
1347
+ * (MAINT) Another fix to a bad line in SCO (3b638f5c)
1348
+
1349
+ * (MAINT) fix bad line of port of SimpleConfigObject (c24850e3)
1350
+
1351
+ * (TK-160) Add `it` block for test counts (af7cfc2e)
1352
+
1353
+
1354
+ ```
1355
+ (TK-160) Add `it` block for test counts
1356
+
1357
+ Adding this `it` block causes rspec to correctly update the
1358
+ test counts based on these invalid configuration parsing tests.
1359
+ ```
1360
+ * (MAINT) Finish porting / clean up AbstractConfigObject (bad5d034)
1361
+
1362
+ * Merge pull request #33 from cprice404/feature/master/TK-160-port-conf-parser-tests (f980ff46)
1363
+
1364
+
1365
+ ```
1366
+ Merge pull request #33 from cprice404/feature/master/TK-160-port-conf-parser-tests
1367
+
1368
+ (TK-160) Port minimal `include` functionality
1369
+ ```
1370
+ * (TK-160) fix whitespace, add cause to MalformedUrlError (0d9afb51)
1371
+
1372
+ * (MAINT) Finish porting / clean up AbstractConfigValue (ee244518)
1373
+
1374
+ * (MAINT) Finish porting / clean up SimpleConfigObject (659bbcda)
1375
+
1376
+ * (TK-160) Fix config parse tests related to config_reference (d7f35022)
1377
+
1378
+ * Merge pull request #32 from jpinsonault/tk-159-partial-set-of-config-value-tests (82648f63)
1379
+
1380
+
1381
+ ```
1382
+ Merge pull request #32 from jpinsonault/tk-159-partial-set-of-config-value-tests
1383
+
1384
+ (TK-159) Partial set of ConfigValue tests implemented
1385
+ ```
1386
+ * Added another include_all? test, fixed description typo (60c5f83a)
1387
+
1388
+ * (TK-160) Got most of the `reference` tests passing. (4ce36feb)
1389
+
1390
+ * (TK-160) Port minimal `include` functionality (04989412)
1391
+
1392
+
1393
+ ```
1394
+ (TK-160) Port minimal `include` functionality
1395
+
1396
+ This commit re-enables some disabled config parser tests that
1397
+ had been failing due to missing functionality around HOCON's
1398
+ `include` capabilities. It also includes a minimal port
1399
+ of all of the `include` functionality that was required
1400
+ to get the tests passing.
1401
+ ```
1402
+ * Addressed PR comments (16ccac67)
1403
+
1404
+
1405
+ ```
1406
+ Addressed PR comments
1407
+
1408
+ Implemented and added test for SimpleConfigList#include_all?
1409
+ Made ConfigReference#not_resolved private and not static
1410
+ Fixed typo in ConfigReference#relativized
1411
+ ConfigDelayedMergeObject#unwrapped now throws not_resolved
1412
+ Made various methods private to match Java version
1413
+ SimpleConfigObject#map_equals: got rid of confusing ugly lambda, uses sorted keys now
1414
+ No longer flay the ConfigDelayedMerge objects
1415
+ ```
1416
+ * Using self in test_utils (efa3151b)
1417
+
1418
+ * (TK-159) More ConfigValue tests (5d60b6d0)
1419
+
1420
+
1421
+ ```
1422
+ (TK-159) More ConfigValue tests
1423
+
1424
+ Another set of tests for config_value_spec. There will be at least one more after this one.
1425
+
1426
+ Added a few methods to AbstractConfigObject
1427
+ Made the definitions of merge_origins static to match the java
1428
+ Implemented render/render_to_sb methods for ConfigDelayedMerge
1429
+
1430
+ Fixed DefaultTransformer::transform method to actually compare the value type
1431
+
1432
+ Made SimpleConfigObject::indent static
1433
+
1434
+ SimpleConfigOrigin::merge_origins handles merging more than two tokens correctly
1435
+
1436
+ Implemented SimpleConfigOrigin#filename to use Chris's Url class
1437
+
1438
+ A couple methods in tokens.rb
1439
+ get_substitution_path_expression
1440
+ get_substitution_optional
1441
+
1442
+ Commented out some failing tests in conf_parser_spec until some missing functionality is implmented
1443
+ ```
1444
+ * Merge pull request #31 from cprice404/feature/master/TK-160-port-conf-parser-tests (f28f78ea)
1445
+
1446
+
1447
+ ```
1448
+ Merge pull request #31 from cprice404/feature/master/TK-160-port-conf-parser-tests
1449
+
1450
+ (TK-160) Initial scaffolding for conf parser tests
1451
+ ```
1452
+ * (MAINT) add missing newline at end of file (ee375afb)
1453
+
1454
+ * (TK-160) Change `t` to `invalid` to match upstream (012dac77)
1455
+
1456
+ * (TK-160) Initial scaffolding for conf parser tests (04d56c9e)
1457
+
1458
+
1459
+ ```
1460
+ (TK-160) Initial scaffolding for conf parser tests
1461
+
1462
+ This commit ports over the first few ConfParser tests, and fixes
1463
+ a few bugs to get them passing.
1464
+ ```
1465
+ * Merge pull request #29 from KevinCorcoran/with--vs-set (08ca846a)
1466
+
1467
+
1468
+ ```
1469
+ Merge pull request #29 from KevinCorcoran/with--vs-set
1470
+
1471
+ (maint) rename methods to match upstream
1472
+ ```
1473
+ * Merge pull request #30 from cprice404/maint/master/add-utf8-encoding-pragma (0f3ceb58)
1474
+
1475
+
1476
+ ```
1477
+ Merge pull request #30 from cprice404/maint/master/add-utf8-encoding-pragma
1478
+
1479
+ (MAINT) Add utf-8 encoding pragma to all source files
1480
+ ```
1481
+ * (MAINT) Add utf-8 encoding pragma to all source files (1e3b1a84)
1482
+
1483
+
1484
+ ```
1485
+ (MAINT) Add utf-8 encoding pragma to all source files
1486
+
1487
+ Because ruby--
1488
+ ```
1489
+ * (maint) rename methods to match upstream (7ed85816)
1490
+
1491
+
1492
+ ```
1493
+ (maint) rename methods to match upstream
1494
+
1495
+ Rename methods whose names start with "set_" or "with_" to match
1496
+ the names of these methods in the upstream Java project.
1497
+ ```
1498
+ * Merge pull request #28 from KevinCorcoran/concatenation (212f6b7c)
1499
+
1500
+
1501
+ ```
1502
+ Merge pull request #28 from KevinCorcoran/concatenation
1503
+
1504
+ (TK-162) implement concatenation and substitution
1505
+ ```
1506
+ * (maint) fix bugs identified during PR review (d608f4a5)
1507
+
1508
+ * (TK-162) implement concatenation and substitution (bc71ba0f)
1509
+
1510
+
1511
+ ```
1512
+ (TK-162) implement concatenation and substitution
1513
+
1514
+ Initial implementation of concatenation and substitution. Ported the first test case
1515
+ in ConcatenationTest and as much of the production code as it took to get it to pass.
1516
+ ```
1517
+ * Merge pull request #27 from KevinCorcoran/add-test-util (65e3ab85)
1518
+
1519
+
1520
+ ```
1521
+ Merge pull request #27 from KevinCorcoran/add-test-util
1522
+
1523
+ (maint) add TestUtils.parse_config
1524
+ ```
1525
+ * (maint) add TestUtils.parse_config (1b47f6b4)
1526
+
1527
+ * Merge pull request #24 from jpinsonault/tk-169-setup-travis (6e5e8698)
1528
+
1529
+
1530
+ ```
1531
+ Merge pull request #24 from jpinsonault/tk-169-setup-travis
1532
+
1533
+ (TK-169) Add travis support
1534
+ ```
1535
+ * Updated Gemfile.lock (d8bd873e)
1536
+
1537
+ * Removed rake dependency and Rakefile, changed .travis.yml to run rspec instead of rake (9c36b479)
1538
+
1539
+ * Merge pull request #26 from jmccure/port-lossless-tokens (a7018fd9)
1540
+
1541
+
1542
+ ```
1543
+ Merge pull request #26 from jmccure/port-lossless-tokens
1544
+
1545
+ Add lossless comment tokens
1546
+ ```
1547
+ * Amend lossless token test name after feedback (9b94c6a9)
1548
+
1549
+ * Add lossless comment tokens (f14161f3)
1550
+
1551
+ * Merge pull request #22 from jpinsonault/tk-158-port-path-tests (005a8b6f)
1552
+
1553
+
1554
+ ```
1555
+ Merge pull request #22 from jpinsonault/tk-158-port-path-tests
1556
+
1557
+ (TK-158) Port Path tests to ruby hocon
1558
+ ```
1559
+ * Merge pull request #25 from KevinCorcoran/TK-128/fix-for-IP-addresses (1feaba32)
1560
+
1561
+
1562
+ ```
1563
+ Merge pull request #25 from KevinCorcoran/TK-128/fix-for-IP-addresses
1564
+
1565
+ (TK-128) fix tokenization of unquoted strings
1566
+ ```
1567
+ * Merge pull request #23 from KevinCorcoran/update-gemspec (c4da445a)
1568
+
1569
+
1570
+ ```
1571
+ Merge pull request #23 from KevinCorcoran/update-gemspec
1572
+
1573
+ (maint) update gemspec with new URL and authors
1574
+ ```
1575
+ * Changed command to use rake spec (5ae8b396)
1576
+
1577
+ * Addressed PR feedback (bd80a3ef)
1578
+
1579
+
1580
+ ```
1581
+ Addressed PR feedback
1582
+
1583
+ Implemented Path#from_path_iterator as a constructor
1584
+
1585
+ Fixed typos
1586
+
1587
+ Implemented TokenIterator#to_list
1588
+
1589
+ Fleshed out BadPath exception message handling logic
1590
+ ```
1591
+ * (TK-128) fix tokenization of unquoted strings (224c4dfd)
1592
+
1593
+
1594
+ ```
1595
+ (TK-128) fix tokenization of unquoted strings
1596
+
1597
+ This commit fixes the tokenization of unquoted strings which might be
1598
+ numbers. In particular, this affects IP addresses.
1599
+
1600
+ The tokenizer aggressively attempts to parse such strings as
1601
+ either a Float or Integer and relies on an error being raised to
1602
+ indicate when the string is not actually a valid number. However,
1603
+ `to_i` and `to_f` never raise execptions, so the constructors must be
1604
+ used instead.
1605
+ ```
1606
+ * Changed script command (06fc855a)
1607
+
1608
+ * Changed rspec command (37d581cc)
1609
+
1610
+ * (TK-169) Add travis support (3fc140da)
1611
+
1612
+ * (maint) update gemspec with new URL and authors (d6561e42)
1613
+
1614
+ * (TK-159) Partial set of ConfigValue tests implemented (c4abaf2e)
1615
+
1616
+
1617
+ ```
1618
+ (TK-159) Partial set of ConfigValue tests implemented
1619
+ This is a partial set of the tests for ConfigValueTest.scala
1620
+ We're going to get whatever functionality I've implemented in this PR so others can use it and
1621
+ avoid creating merge conflicts.
1622
+
1623
+ The rest of the PRs will come as much smaller chunks of effort
1624
+
1625
+ This branch was rebased on top of Kevin's tk-162 PR, and hopefully I merged my changes into it without breaking the tests didn't catch.
1626
+
1627
+ Implemented parts of:
1628
+ ConfigDelayedMerge
1629
+ ConfigDelayedMergeObject
1630
+ ConfigReference
1631
+ ReplaceableMergeStack module
1632
+
1633
+ SimpleConfigList/Object now behave like arrays/hashes by delegating required functions to their @value attribute
1634
+
1635
+ Implemented ==() and hash() for a bunch of classes
1636
+
1637
+ Many other small changes
1638
+ ```
1639
+ * Merge pull request #21 from jpinsonault/tk-157-port-token-tests (45414478)
1640
+
1641
+
1642
+ ```
1643
+ Merge pull request #21 from jpinsonault/tk-157-port-token-tests
1644
+
1645
+ Tk 157 port token tests
1646
+ ```
1647
+ * Moved shared examples into test_utils.rb and extracted out the random object examples (95a0db9b)
1648
+
1649
+ * Extracted shared examples into separate file for reuse in other tests (f9fe3386)
1650
+
1651
+ * (TK-158) Port Path tests to ruby hocon (bd832af6)
1652
+
1653
+ * Removed unused TestUtils method (8d7af9ec)
1654
+
1655
+ * (TK-157) Port Token tests to ruby hocon (921f9883)
1656
+
1657
+
1658
+ ```
1659
+ (TK-157) Port Token tests to ruby hocon
1660
+
1661
+ Ported the Token tests
1662
+ This involved implementing various == and hash functions for Token subclasses and Config types
1663
+ ```
1664
+ * Merge pull request #20 from jpinsonault/tk-155-port-tokenizer-tests (5ebd16eb)
1665
+
1666
+
1667
+ ```
1668
+ Merge pull request #20 from jpinsonault/tk-155-port-tokenizer-tests
1669
+
1670
+ (TK-155) Port tokenizer tests to ruby hocon
1671
+ ```
1672
+ * Lots of fixes for PR (039d6f42)
1673
+
1674
+
1675
+ ```
1676
+ Lots of fixes for PR
1677
+
1678
+ Used single quotes where appropriate
1679
+ Extracted tokenize function
1680
+ Changed TokenIterator.problem occurances to self.class.problem
1681
+ ```
1682
+ * Implemented == method for token subtypes (e6a4b56b)
1683
+
1684
+ * (TK-155) Port tokenizer tests to ruby hocon (6a2e3f83)
1685
+
1686
+
1687
+ ```
1688
+ (TK-155) Port tokenizer tests to ruby hocon
1689
+
1690
+ Ported all the java tests from the hocon library to ruby-hocon
1691
+ Added a few more here and there
1692
+
1693
+ Implemented misc missing functions from the java library to get the tests passing
1694
+
1695
+ Fixed bug in tokenizer that ignored whitespace between tokens
1696
+ ```
1697
+ * Update gemspec for 0.0.7 release (71f475fe)
1698
+
1699
+ * Merge pull request #18 from fpringvaldsen/json-patch (74e6ed8d)
1700
+
1701
+
1702
+ ```
1703
+ Merge pull request #18 from fpringvaldsen/json-patch
1704
+
1705
+ Allow gem to parse JSON files
1706
+ ```
1707
+ * Merge pull request #16 from fpringvaldsen/readme-disclaimer (df334bd8)
1708
+
1709
+
1710
+ ```
1711
+ Merge pull request #16 from fpringvaldsen/readme-disclaimer
1712
+
1713
+ Add disclaimer to README
1714
+ ```
1715
+ * Merge pull request #17 from fpringvaldsen/implement-end-token (b28b2909)
1716
+
1717
+
1718
+ ```
1719
+ Merge pull request #17 from fpringvaldsen/implement-end-token
1720
+
1721
+ Fix NameError when parsing {\n}
1722
+ ```
1723
+ * Allow gem to parse JSON files (b72cae0b)
1724
+
1725
+
1726
+ ```
1727
+ Allow gem to parse JSON files
1728
+
1729
+ Allow the ruby hocon gem to parse JSON files. Previously,
1730
+ attempting to parse a JSON file would lead to an uninitialized
1731
+ constant error.
1732
+ ```
1733
+ * Fix NameError when parsing {\n} (b1781fee)
1734
+
1735
+
1736
+ ```
1737
+ Fix NameError when parsing {\n}
1738
+
1739
+ Fix a NameError that would occur when a string containing
1740
+ {\n} was parsed.
1741
+ ```
1742
+ * Add disclaimer to README (9f4b8df1)
1743
+
1744
+
1745
+ ```
1746
+ Add disclaimer to README
1747
+
1748
+ Add a disclaimer to the README explaining that this library is in
1749
+ an experimental state and some features may not work properly.
1750
+ ```
1751
+ * Update gemspec for 0.0.6 release (1613e233)
1752
+
1753
+ * Merge pull request #15 from waynr/maint (b25f64f7)
1754
+
1755
+
1756
+ ```
1757
+ Merge pull request #15 from waynr/maint
1758
+
1759
+ (MAINT) Fix spec tests such that they work on ruby-1.8.7-p352
1760
+ ```
1761
+ * Fix unecessarily strict test case. (3ed91425)
1762
+
1763
+
1764
+ ```
1765
+ Fix unecessarily strict test case.
1766
+
1767
+ As it turns out, hocon does not actually require that the output be
1768
+ rendered in the same order by every implementation so when running with
1769
+ ruby-1.9.x vs ruby-1.8.7-p352 for instance the rendered string may not have
1770
+ variables specified in the same order.
1771
+
1772
+ However, hocon does require that comments be matched to their variables. This
1773
+ patch validates that behavior by creating a hash of config-lines mapped to lists
1774
+ of preceding comments and verifies that this hash is the same before and after
1775
+ rendering regardless of which hocon implementation created the "original" output
1776
+ file.
1777
+
1778
+ Also, I find the input vs output semantics and the way variables with these
1779
+ names are used just a little confusing but whatever.
1780
+
1781
+ Signed-off-by: Wayne <wayne@puppetlabs.com>
1782
+ ```
1783
+ * Remove unnecessary brackets in regex. (f0a72925)
1784
+
1785
+
1786
+ ```
1787
+ Remove unnecessary brackets in regex.
1788
+
1789
+ Signed-off-by: Wayne <wayne@puppetlabs.com>
1790
+ ```
1791
+ * Minor rspec testcase code cleanup. (a95cff41)
1792
+
1793
+
1794
+ ```
1795
+ Minor rspec testcase code cleanup.
1796
+
1797
+ Signed-off-by: Wayne <wayne@puppetlabs.com>
1798
+ ```
1799
+ * Fix re-parsed output test cases. (e5c4d884)
1800
+
1801
+
1802
+ ```
1803
+ Fix re-parsed output test cases.
1804
+
1805
+ This testcase should not care about the rendered form of the re-parsed output
1806
+ since A) the hocon spec does not guarantee exact output similarity and B)
1807
+ testing that comments remain above the variables they describe is taken care of
1808
+ in the previous test case.
1809
+
1810
+ Signed-off-by: Wayne <wayne@puppetlabs.com>
1811
+ ```
1812
+ * Fix uninitialized constant error in ruby-1.8.7-p352 (53151934)
1813
+
1814
+
1815
+ ```
1816
+ Fix uninitialized constant error in ruby-1.8.7-p352
1817
+
1818
+ Signed-off-by: Wayne <wayne@puppetlabs.com>
1819
+ ```
1820
+ * Fix tokenizer for ruby-1.8.7-p352 (00fe96e2)
1821
+
1822
+
1823
+ ```
1824
+ Fix tokenizer for ruby-1.8.7-p352
1825
+
1826
+ Signed-off-by: Wayne <wayne@puppetlabs.com>
1827
+ ```
1828
+ * Fix default Rake task for ruby-1.8.7-p352 (f3bb2240)
1829
+
1830
+
1831
+ ```
1832
+ Fix default Rake task for ruby-1.8.7-p352
1833
+
1834
+ Signed-off-by: Wayne <wayne@puppetlabs.com>
1835
+ ```
1836
+ * Merge pull request #13 from cprice404/maint/master/clean-up-requires (9868fd6f)
1837
+
1838
+
1839
+ ```
1840
+ Merge pull request #13 from cprice404/maint/master/clean-up-requires
1841
+
1842
+ Clean up require statements
1843
+ ```
1844
+ * Merge pull request #14 from fpringvaldsen/error-handling (8be042e6)
1845
+
1846
+
1847
+ ```
1848
+ Merge pull request #14 from fpringvaldsen/error-handling
1849
+
1850
+ Improve Error Handling with invalid config
1851
+ ```
1852
+ * Improve Error Handling with invalid config (64d6166f)
1853
+
1854
+
1855
+ ```
1856
+ Improve Error Handling with invalid config
1857
+
1858
+ Implement Error Handling when an invalid config is parsed.
1859
+ ```
1860
+ * Clean up require statements (f866d790)
1861
+
1862
+ ### <a name = "0.0.5">0.0.5 - 1 Oct, 2014 (67d264f4)
1863
+
1864
+ * Update gemspec for 0.0.5 release (67d264f4)
1865
+
1866
+ * Merge pull request #12 from fpringvaldsen/add-methods-for-puppet (78c7afb9)
1867
+
1868
+
1869
+ ```
1870
+ Merge pull request #12 from fpringvaldsen/add-methods-for-puppet
1871
+
1872
+ Add methods required for puppet .conf module
1873
+ ```
1874
+ * Remove commented line (d704cda2)
1875
+
1876
+
1877
+ ```
1878
+ Remove commented line
1879
+
1880
+ Delete commented constant in the Path class that was no longer
1881
+ needed.
1882
+ ```
1883
+ * Move requires into Hocon module (935b2cc5)
1884
+
1885
+
1886
+ ```
1887
+ Move requires into Hocon module
1888
+
1889
+ Move requires for all files in the Hocon module into
1890
+ the module itself to eliminate uninitialized constant errors.
1891
+ ```
1892
+ * Fix ConfigImpl bug and add more tests (c892c0f4)
1893
+
1894
+
1895
+ ```
1896
+ Fix ConfigImpl bug and add more tests
1897
+
1898
+ Fix bug in ConfigImpl wherein a boolean would be converted into
1899
+ a ConfigBoolean with value true even if the boolean is false.
1900
+ Increase test coverage for ConfigValueFactory tests by adding
1901
+ a test to ensure this bug is no longer happening, and increase
1902
+ test coverage of SimpleConfig spec tests by ensuring that
1903
+ data structures can be added to a config.
1904
+ ```
1905
+ * Add without_path method (d23fdcde)
1906
+
1907
+
1908
+ ```
1909
+ Add without_path method
1910
+
1911
+ Port without_path method from the Java HOCON library into the
1912
+ SimpleConfig class.
1913
+ ```
1914
+ * Add at_key and at_path methods (8323c2a6)
1915
+
1916
+
1917
+ ```
1918
+ Add at_key and at_path methods
1919
+
1920
+ Port the at_key and at_path methods from the Java HOCON library
1921
+ into the AbstractConfigValue class.
1922
+ ```
1923
+ * Add "add" method to TokenWithComments (3430c3b7)
1924
+
1925
+
1926
+ ```
1927
+ Add "add" method to TokenWithComments
1928
+
1929
+ Port the "add" method to the TokenWithComments class.
1930
+ ```
1931
+ * Fix requires in ConfigValueFactory (a4074d71)
1932
+
1933
+
1934
+ ```
1935
+ Fix requires in ConfigValueFactory
1936
+
1937
+ Fix the require statements so that ConfigValueFactory can be
1938
+ required without requiring other files.
1939
+ ```
1940
+ * Add ConfigValueFactory (ae88610e)
1941
+
1942
+
1943
+ ```
1944
+ Add ConfigValueFactory
1945
+
1946
+ This commit adds a basic implementation of the ConfigValueFactory
1947
+ class. This class contains only one method, with_any_ref, which
1948
+ takes an object and transforms it into a ConfigObject.
1949
+ ```
1950
+ * Add with_value method to SimpleConfig (760f7743)
1951
+
1952
+
1953
+ ```
1954
+ Add with_value method to SimpleConfig
1955
+
1956
+ Port the with_value method in the SimpleConfig class from
1957
+ the Java HOCON library.
1958
+ ```
1959
+ * Add has_path method (655c1beb)
1960
+
1961
+
1962
+ ```
1963
+ Add has_path method
1964
+
1965
+ Port the has_path method in the SimpleConfig class from the
1966
+ Java HOCON library.
1967
+ ```
1968
+ * Put get_value tests into their own file (9339f606)
1969
+
1970
+
1971
+ ```
1972
+ Put get_value tests into their own file
1973
+
1974
+ Move the tests of the SimpleConfig get_value method into a new
1975
+ file, simple_config_spec.rb
1976
+ ```
1977
+ * Add get_value method to SimpleConfig (bfb63a35)
1978
+
1979
+
1980
+ ```
1981
+ Add get_value method to SimpleConfig
1982
+
1983
+ Add the get_value method to SimpleConfig, which allows the user
1984
+ to get a value from a configuration file. Add tests for this
1985
+ method.
1986
+ ```
1987
+ * Merge pull request #8 from dakatsuka/add-bundler-and-rake (d204b344)
1988
+
1989
+
1990
+ ```
1991
+ Merge pull request #8 from dakatsuka/add-bundler-and-rake
1992
+
1993
+ Add bundler and rake
1994
+ ```
1995
+ * Merge pull request #9 from dakatsuka/support-boolean (f584904f)
1996
+
1997
+
1998
+ ```
1999
+ Merge pull request #9 from dakatsuka/support-boolean
2000
+
2001
+ Support boolean
2002
+ ```
2003
+ * Add tests for Hocon::Impl::ConfigBoolean (31fd73b6)
2004
+
2005
+ * Implement Hocon::Impl::ConfigBoolean (927d64b7)
2006
+
2007
+ * Add bundler and rake (c0f77be8)
2008
+
2009
+ ### <a name = "0.0.3">0.0.3 - 24 Jul, 2014 (6cd552c3)
2010
+
2011
+ * Merge pull request #6 from waynr/maint (6cd552c3)
2012
+
2013
+
2014
+ ```
2015
+ Merge pull request #6 from waynr/maint
2016
+
2017
+ Maint
2018
+ ```
2019
+ * spec_helper: Fix EXAMPLE1 w/ empty list. (775098d9)
2020
+
2021
+
2022
+ ```
2023
+ spec_helper: Fix EXAMPLE1 w/ empty list.
2024
+
2025
+ Signed-off-by: Wayne <wayne@puppetlabs.com>
2026
+ ```
2027
+ * Hocon: Fix spec tests by adding `load` and `parse` (702146cc)
2028
+
2029
+
2030
+ ```
2031
+ Hocon: Fix spec tests by adding `load` and `parse`
2032
+
2033
+ Signed-off-by: Wayne <wayne@puppetlabs.com>
2034
+ ```
2035
+ * spec: Add spec tests or Hocon module. (5b65bbef)
2036
+
2037
+
2038
+ ```
2039
+ spec: Add spec tests or Hocon module.
2040
+
2041
+ The goal here is to provide an interface similar to what the JSON ruby module
2042
+ provides, even though this doesn't include a dump method yet.
2043
+
2044
+ Signed-off-by: Wayne <wayne@puppetlabs.com>
2045
+ ```
2046
+ * hocon.gemspec: Update gemspec for new gem release. (95d46911)
2047
+
2048
+
2049
+ ```
2050
+ hocon.gemspec: Update gemspec for new gem release.
2051
+
2052
+ Signed-off-by: Wayne <wayne@puppetlabs.com>
2053
+ ```
2054
+ * parser: Don't convert anything to symbols. (0ca29caf)
2055
+
2056
+
2057
+ ```
2058
+ parser: Don't convert anything to symbols.
2059
+
2060
+ Signed-off-by: Wayne <wayne@puppetlabs.com>
2061
+ ```
2062
+ * Fix Hocon::Impl::SimpleConfigList (3f77504f)
2063
+
2064
+
2065
+ ```
2066
+ Fix Hocon::Impl::SimpleConfigList
2067
+
2068
+ Chokes without this `new_copy` method.
2069
+
2070
+ Signed-off-by: Wayne <wayne@puppetlabs.com>
2071
+ ```
2072
+ * spec: Add new examples, reorganize specs. (4a9cfb1b)
2073
+
2074
+
2075
+ ```
2076
+ spec: Add new examples, reorganize specs.
2077
+
2078
+ Reorganize specs to allow for the addition of more examples.
2079
+
2080
+ Signed-off-by: Wayne <wayne@puppetlabs.com>
2081
+ ```
2082
+ * Merge pull request #5 from waynr/fix-settings-in-hocon-gemspec (14e4ed32)
2083
+
2084
+
2085
+ ```
2086
+ Merge pull request #5 from waynr/fix-settings-in-hocon-gemspec
2087
+
2088
+ gemspec: Fix settings in hocon.gemspec.
2089
+ ```
2090
+ * Merge pull request #3 from jmccure/fix_issue_2 (38fdfc37)
2091
+
2092
+
2093
+ ```
2094
+ Merge pull request #3 from jmccure/fix_issue_2
2095
+
2096
+ Fixed error when conf file had empty array. Issue #2
2097
+ ```
2098
+ * Merge pull request #4 from waynr/implement-hocon-configfactory-parsestring (464d5704)
2099
+
2100
+
2101
+ ```
2102
+ Merge pull request #4 from waynr/implement-hocon-configfactory-parsestring
2103
+
2104
+ Implement hocon configfactory parsestring
2105
+ ```
2106
+ * Fixed error when conf file had empty array. Issue #2 (fb1248eb)
2107
+
2108
+ ### <a name = "0.0.2">0.0.2 - 24 Jul, 2014 (95dffaea)
2109
+
2110
+ * gemspec: Fix settings in hocon.gemspec. (95dffaea)
2111
+
2112
+
2113
+ ```
2114
+ gemspec: Fix settings in hocon.gemspec.
2115
+
2116
+ Signed-off-by: Wayne <wayne@puppetlabs.com>
2117
+ ```
2118
+ * Implement Hocon.ConfigFactory.parse_string (430442e4)
2119
+
2120
+
2121
+ ```
2122
+ Implement Hocon.ConfigFactory.parse_string
2123
+
2124
+ Also fixes a number of typos an previously untested code paths.
2125
+
2126
+ Signed-off-by: Wayne <wayne@puppetlabs.com>
2127
+ ```
2128
+ * spec: Add Hocon::ConfigFactory.parse_string test. (1cec69f2)
2129
+
2130
+
2131
+ ```
2132
+ spec: Add Hocon::ConfigFactory.parse_string test.
2133
+
2134
+ Signed-off-by: Wayne <wayne@puppetlabs.com>
2135
+ ```
2136
+ * Update README.md (9ce283b1)
2137
+
2138
+ ### <a name = "0.0.1">0.0.1 - 16 Mar, 2014 (f7dbca52)
2139
+
2140
+ * Initial release.