text-metrics 1.0.0.beta2 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e71911a9dd9a27cc6dcaa9eb9525cf48d73d48c5fc49526d475cb2a1f6de98c6
4
- data.tar.gz: c686dfd9cf3cdb730b27c0329b1a0ba13748dea1de1f5730cd4283cea9885de2
3
+ metadata.gz: 0aa8550e92948515979c3ddf605d9a591992f7fd855097c3a942bd4bdaa2e490
4
+ data.tar.gz: 540fd11f846a899d8a0266e53e303c879c5655fe18d674165b5a7a480332b245
5
5
  SHA512:
6
- metadata.gz: 57de157f47ac0ab6cf79956509087371d9c9e12fbdbe6d80b7314110c1d8211e831561adb1c9476199e086bb3f6d33c55c1f3e7c39dcf144e04f0766c7e1773d
7
- data.tar.gz: f7b5f77a6fba329093f3f55c38844ac8696f28c9d5bbfaf08750d464732bdf5a5484ebea57444a928ebe8a65e6fdec76a8ade187987df17cd419edc3c4f8555b
6
+ metadata.gz: ca14e801a86eee04c3633b53a5eb77d403308fe6698a111664c6eac82409977d7e697019611ed1e21dcb43f4ec7cb275048d2f9fad6e279d9613a0a73b41f982
7
+ data.tar.gz: 47218fd86626d8656217ee13cdd8d67f2eb2950a88ee18aed23bd42d73e2c4d5a1f20ff44b2650f7fb308b0dd4184682bfb5891f35f5fe9680e53878713f4ff8
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## main
4
4
 
5
+ ## 1.0.0
6
+ - First public release.
7
+ - see `UPGRADING.md` for migration details from the pre-release `0.x` API.
8
+
5
9
  ## ## 1.0.0.beta2
6
10
  - Add `gunning_fog_index` to the analyzer metrics and `#to_h` output.
7
11
 
data/README.md CHANGED
@@ -8,6 +8,8 @@ Text Metrics is a Ruby library for analysing text. It was inspired by the Python
8
8
 
9
9
  It gives you the everyday counts you need — words, characters, sentences and syllables — plus readability scores such as Flesch Reading Ease, Flesch-Kincaid Grade Level, SMOG, Gunning Fog, Coleman-Liau Index and LIX. English and French are supported.
10
10
 
11
+ It is battle-tested in production on millions of student writings at [Plume](https://plume-app.co).
12
+
11
13
  ## Accurate, dictionary-based syllable counting
12
14
 
13
15
  Readability scores such as Flesch, Flesch-Kincaid and SMOG depend heavily on syllable counts. Many libraries estimate those counts with hyphenation rules, which are fast but often wrong. Text Metrics starts from real pronunciation data instead:
@@ -52,7 +54,7 @@ Text Metrics is not published to RubyGems yet. For now, install it from GitHub:
52
54
 
53
55
  ```ruby
54
56
  # Gemfile
55
- gem "text-metrics", github: "plume-app/text-metrics", branch: "main"
57
+ gem "text-metrics", "~> 1.0.0"
56
58
  ```
57
59
 
58
60
  ### Supported Ruby versions
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TextMetrics # :nodoc:
4
- VERSION = "1.0.0.beta2"
4
+ VERSION = "1.0.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: text-metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrien POLY