edn_turbo 0.7.4 → 0.8.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
2
  SHA256:
3
- metadata.gz: e4f2cc5531962887077e75e79cc1d42d37f2f8143165d9ee7df0818734cb1022
4
- data.tar.gz: 5dcd8570be3b75ace36eed047e27b97fd519dcd367bf467a46e9006a34776644
3
+ metadata.gz: c1f65f5310e96d3499d0399693a666beabec89267a1d9b24208975838a798975
4
+ data.tar.gz: 99f6e84ff441c7011b7d565086e94202b9d559e344b32a131c3f6c22efb8321f
5
5
  SHA512:
6
- metadata.gz: f10e96bbe9017ccfcc8dd2564c1b69682859c9ab6a2be6853bea8b4fda571b03f4308fcf4c23536867e6bb29ba63bbbd4f51ce3e01c4fddaef58448b7b525d44
7
- data.tar.gz: eaa77242fb9557d18a76069d99b0ae4339fd32dd7474d7da7c3a9399b6db4cfec4fd53d1dced027372a21f2c93da99815bbb5867acc657ad19d069e4d57d6d34
6
+ metadata.gz: 79fb42952469ab2a60549f15237020a989e6dda70e251dee8888b14f5274788b2fc6b467a02c758bade4bbb7429983341d9eb7bce5bc2937172b80f42a8c7c34
7
+ data.tar.gz: a194eb08824f20c2f42e991269afd54e159fb3038d26184e3b192e5ace56a8463af40a1c209967d938a0da8d925367ae2b7604bbdf4fbe19a58dad3e732129a4
@@ -19,6 +19,7 @@ jobs:
19
19
  - '2.7'
20
20
  - '3.0'
21
21
  - '3.1'
22
+ - '3.2'
22
23
  runs-on: ${{ matrix.os }}
23
24
  steps:
24
25
  - run: sudo apt-get install -y libicu-dev libreadline-dev ragel
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).
3
3
 
4
+ ## [0.8.0] - 2023-03-12
5
+ ### Changed
6
+ * switch edn-ruby dependency to use edn2023.
7
+
4
8
  ## [0.7.4] - 2022-05-03
5
9
  ### Fixed
6
10
  * empty strings should use utf-8 encoding (#11).
@@ -56,7 +60,8 @@ All notable changes to this project will be documented in this file. This change
56
60
  ### Added
57
61
  * initial version of docker configs for testing on Ubuntu.
58
62
 
59
- [Unreleased]: https://github.com/edporras/edn_turbo/-/compare/0.7.4...main
63
+ [Unreleased]: https://github.com/edporras/edn_turbo/-/compare/0.8.0...main
64
+ [0.8.0]: https://github.com/edporras/edn_turbo/-/compare/0.7.4...0.8.0
60
65
  [0.7.4]: https://github.com/edporras/edn_turbo/-/compare/0.7.3...0.7.4
61
66
  [0.7.3]: https://github.com/edporras/edn_turbo/-/compare/0.7.2...0.7.3
62
67
  [0.7.2]: https://github.com/edporras/edn_turbo/-/compare/0.7.1...0.7.2
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2015-2022 Ed Porras
3
+ Copyright (c) 2015-2023 Ed Porras
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,13 +1,12 @@
1
- edn_turbo 0.7.4
1
+ edn_turbo 0.8.0
2
2
  ===============
3
3
 
4
4
  Fast [Ragel](http://www.colm.net/open-source/ragel/)-based EDN parser for Ruby.
5
5
 
6
- `edn_turbo` can be used as a parser plugin for
7
- [edn](https://github.com/relevance/edn-ruby). With a few exceptions
8
- `edn_turbo` provides the same functionality as the edn gem, but since
9
- the `edn_turbo` parser is implemented in C++, it is an order of
10
- magnitude faster.
6
+ `edn_turbo` can be used as a parser plugin for [edn-ruby]. With a few
7
+ exceptions `edn_turbo` provides the same functionality as the edn gem,
8
+ but since the `edn_turbo` parser is implemented in C++, it is an order
9
+ of magnitude faster.
11
10
 
12
11
  Some quick sample runs comparing time output of file reads using `edn`
13
12
  and `edn_turbo` (see [issue 12](https://github.com/relevance/edn-ruby/issues/12)):
@@ -38,8 +37,8 @@ Ruby 2.6 or greater.
38
37
 
39
38
  - ruby gems:
40
39
  - [rake](http://rake.rubyforge.org)
41
- - [rake-compiler 1.0](http://rake-compiler.rubyforge.org)
42
- - [edn 1.1](https://github.com/relevance/edn-ruby)
40
+ - [rake-compiler](http://rake-compiler.rubyforge.org)
41
+ - [edn2023]
43
42
  - a C++-11 capable compiler.
44
43
  - [icu4c](http://icu-project.org/apiref/icu4c/)
45
44
 
@@ -48,6 +47,11 @@ Notes:
48
47
 
49
48
  - `edn_turbo` uses a ragel-based parser but the generated .cc file is
50
49
  bundled so ragel should not need to be installed.
50
+ - If your system updates the installed version of icu4c, you'll likely
51
+ get symbol errors when trying to use `edn_turbo` as the libraries it
52
+ was linked against when first installed will no longer exist. To
53
+ resolve this, reinstall the gem so it is built against the new icu4c
54
+ libraries.
51
55
 
52
56
  Usage
53
57
  =====
@@ -114,3 +118,10 @@ calls into the ruby side.
114
118
  `Float::INFINITY` and `##NaN` as `Float::NAN`.
115
119
 
116
120
  - As of v0.7.1, `edn_turbo` requires ruby 2.5 or greater.
121
+
122
+ - As of v0.7.4, `edn_turbo` requires ruby 2.6 or greater.
123
+
124
+ - As of v0.8.0, `edn_turbo` replaces its [edn-ruby] with [edn2023].
125
+
126
+ [edn-ruby]: https://github.com/relevance/edn-ruby
127
+ [edn2023]: https://github.com/edn2023/edn2023
data/Rakefile CHANGED
@@ -50,8 +50,8 @@ task :graph, %i[machine] do |_t, args|
50
50
  machine = args[:machine]
51
51
 
52
52
  # assumes graphviz is installed
53
- sh "ragel -Vp -S #{machine} -o #{tmpfile} #{EXT_PATH}/#{RAGEL_PARSER_SRC} && "\
54
- "dot -Tpng #{tmpfile} -o #{machine}.png"
53
+ sh "ragel -Vp -S #{machine} -o #{tmpfile} #{EXT_PATH}/#{RAGEL_PARSER_SRC} && " \
54
+ "dot -Tpng #{tmpfile} -o #{machine}.png"
55
55
  end
56
56
 
57
57
  task build: %i[clean ragel compile chmod]
@@ -2,7 +2,7 @@
2
2
  #line 1 "edn_parser.rl"
3
3
  // The MIT License (MIT)
4
4
 
5
- // Copyright (c) 2015-2022 Ed Porras
5
+ // Copyright (c) 2015-2023 Ed Porras
6
6
 
7
7
  // Permission is hereby granted, free of charge, to any person obtaining a copy
8
8
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  // The MIT License (MIT)
2
2
 
3
- // Copyright (c) 2015-2022 Ed Porras
3
+ // Copyright (c) 2015-2023 Ed Porras
4
4
 
5
5
  // Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  // of this software and associated documentation files (the "Software"), to deal
@@ -2,7 +2,7 @@
2
2
 
3
3
  # The MIT License (MIT)
4
4
 
5
- # Copyright (c) 2015-2022 Ed Porras
5
+ # Copyright (c) 2015-2023 Ed Porras
6
6
  #
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
8
8
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  // The MIT License (MIT)
2
2
 
3
- // Copyright (c) 2015-2022 Ed Porras
3
+ // Copyright (c) 2015-2023 Ed Porras
4
4
 
5
5
  // Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  // The MIT License (MIT)
2
2
 
3
- // Copyright (c) 2015-2022 Ed Porras
3
+ // Copyright (c) 2015-2023 Ed Porras
4
4
 
5
5
  // Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  // The MIT License (MIT)
2
2
 
3
- // Copyright (c) 2015-2022 Ed Porras
3
+ // Copyright (c) 2015-2023 Ed Porras
4
4
 
5
5
  // Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  // The MIT License (MIT)
2
2
 
3
- // Copyright (c) 2015-2022 Ed Porras
3
+ // Copyright (c) 2015-2023 Ed Porras
4
4
 
5
5
  // Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  // of this software and associated documentation files (the "Software"), to deal
data/ext/edn_turbo/util.h CHANGED
@@ -1,6 +1,6 @@
1
1
  // The MIT License (MIT)
2
2
 
3
- // Copyright (c) 2015-2022 Ed Porras
3
+ // Copyright (c) 2015-2023 Ed Porras
4
4
 
5
5
  // Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  // The MIT License (MIT)
2
2
 
3
- // Copyright (c) 2015-2022 Ed Porras
3
+ // Copyright (c) 2015-2023 Ed Porras
4
4
 
5
5
  // Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  // of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  // The MIT License (MIT)
2
2
 
3
- // Copyright (c) 2015-2022 Ed Porras
3
+ // Copyright (c) 2015-2023 Ed Porras
4
4
 
5
5
  // Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  // of this software and associated documentation files (the "Software"), to deal
@@ -2,7 +2,7 @@
2
2
 
3
3
  # The MIT License (MIT)
4
4
  #
5
- # Copyright (c) 2015-2022 Ed Porras
5
+ # Copyright (c) 2015-2023 Ed Porras
6
6
  #
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
8
8
  # of this software and associated documentation files (the "Software"), to deal
@@ -2,7 +2,7 @@
2
2
 
3
3
  # The MIT License (MIT)
4
4
  #
5
- # Copyright (c) 2015-2022 Ed Porras
5
+ # Copyright (c) 2015-2023 Ed Porras
6
6
  #
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
8
8
  # of this software and associated documentation files (the "Software"), to deal
@@ -23,6 +23,6 @@
23
23
  # THE SOFTWARE.
24
24
 
25
25
  module EDNT
26
- VERSION = '0.7.4'
27
- RELEASE_DATE = '2022-05-03'
26
+ VERSION = '0.8.0'
27
+ RELEASE_DATE = '2023-03-12'
28
28
  end
data/lib/edn_turbo.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # The MIT License (MIT)
4
4
  #
5
- # Copyright (c) 2015-2022 Ed Porras
5
+ # Copyright (c) 2015-2023 Ed Porras
6
6
  #
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
8
8
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2015-2022 Ed Porras
3
+ # Copyright (c) 2015-2023 Ed Porras
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edn_turbo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ed Porras
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-03 00:00:00.000000000 Z
11
+ date: 2023-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: edn
14
+ name: edn2023
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
@@ -154,8 +154,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  - !ruby/object:Gem::Version
155
155
  version: '0'
156
156
  requirements: []
157
- rubygems_version: 3.2.22
157
+ rubygems_version: 3.3.7
158
158
  signing_key:
159
- specification_version: 3
159
+ specification_version: 4
160
160
  summary: Read EDN files
161
161
  test_files: []