dorian 2.5.1 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +0 -3
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/lib/dorian/bin.rb +1 -1
- data/samples/books.jsonl +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5be546b017e86ccac1da3edf4b8a9f5335c11aa07643923d76468ff4e654777b
|
|
4
|
+
data.tar.gz: fda136a48bba0661d9534b83d1f6eeaeedcab109169ddfdc56ddf236ce4a2033
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: abe42d9852fa499b1fb7145d6e2a8ad302da867c0ce43a63409cf5bed80a22bcc614fe1cf72920715e274de96d5d3e5442a31774a4f1c78b6d26c73801f91a77
|
|
7
|
+
data.tar.gz: b846a7389a51627f1d8701f05cd908b57e452196edf1e3905bfb41b21a30752677757547c5fbfd17621f403080dca69e999efc1a887cf2e5aa4e8f13384bcbae
|
data/Gemfile
CHANGED
|
@@ -7,14 +7,11 @@ gemspec
|
|
|
7
7
|
ruby "3.3.5"
|
|
8
8
|
|
|
9
9
|
gem "rspec"
|
|
10
|
-
|
|
11
10
|
gem "bundler-audit"
|
|
12
|
-
|
|
13
11
|
gem "rubocop-factory_bot"
|
|
14
12
|
gem "rubocop-performance"
|
|
15
13
|
gem "rubocop-rails"
|
|
16
14
|
gem "rubocop-rake"
|
|
17
15
|
gem "rubocop-rspec"
|
|
18
16
|
gem "rubocop-rspec_rails"
|
|
19
|
-
|
|
20
17
|
gem "rubocop-capybara"
|
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.6.0
|
data/lib/dorian/bin.rb
CHANGED
|
@@ -1592,7 +1592,7 @@ class Dorian
|
|
|
1592
1592
|
"#{before.lines.map { |line| JSON.parse(line).to_json }.join("\n")}\n"
|
|
1593
1593
|
when :csv
|
|
1594
1594
|
after =
|
|
1595
|
-
|
|
1595
|
+
CSV.generate { |csv| CSV.parse(before).each { |row| csv << row } }
|
|
1596
1596
|
when :yaml
|
|
1597
1597
|
after = sort(YAML.safe_load(before)).to_yaml
|
|
1598
1598
|
when :yamll
|
data/samples/books.jsonl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
{"title":"The Great Gatsby","author":"F. Scott Fitzgerald","published_year":1925,"genres":["Novel","Historical"],"available":true}
|
|
2
2
|
{"title":"To Kill a Mockingbird","author":"Harper Lee","published_year":1960,"genres":["Novel","Southern Gothic","Bildungsroman"],"available":false}
|
|
3
|
-
{"title":"1984","author":"George Orwell","published_year":1949,"genres":["Dystopian","Political Fiction"],"available":true}
|
|
3
|
+
{"title":"1984","author":"George Orwell","published_year":1949,"genres":["Dystopian","Political Fiction"],"available":true}
|