mittens 0.1.0 → 0.1.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: 5685ca729c53bcfeadf2241ffecd3eb536197dcf3863efd33e9b07aac114e4dd
4
- data.tar.gz: a2a07b4b5d16a691695d1a420ef4acde948276077c9bce7cb98111b172bb71ab
3
+ metadata.gz: 4fef541b86c3211b161df2de1d51f04a233d2bfaa035cb568f80e81566934066
4
+ data.tar.gz: e14016289164fdf9dcd3e71229510a39514ac0d428f51632e9a80296642966ae
5
5
  SHA512:
6
- metadata.gz: 2b4f3abde51e786665b83c3846cf5aa0409cae5cbf91dd8f715d3aa850a4c967c951dcd1475d9c6887aa991fc7a460be6f9205196ed7c8f4389c301de38b4931
7
- data.tar.gz: b9ea741946ac5af5a27ae6685297a7416d1b1e64b0c780c8e0871332393990832a59821bed08ff21428a8c703dfd089ec89e0b376e34514f25f3f4c151620d00
6
+ metadata.gz: 489e99984f058232291cb9fe57215605ea9193557037b3d3fec64d3b4cb94dec35cd1c721066ee2eea1d45c9939921f6fb88f9ae11b49f38167b9d9de32146ec
7
+ data.tar.gz: 23bffb8f4b2d7dae4c100b1c7dafd491439b35f0db6b097eedf176429059b20c98cf55a1e4ee81b8d01eae4821a0f254604ed6145433ff0a22cfc91837310124
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.1.1 (2023-05-11)
2
+
3
+ - Fixed installation on Fedora
4
+
1
5
  ## 0.1.0 (2023-03-20)
2
6
 
3
7
  - First release
data/README.md CHANGED
@@ -25,7 +25,7 @@ stemmer = Mittens::Stemmer.new
25
25
  Stem a word
26
26
 
27
27
  ```ruby
28
- stemmer.stem("tomatos")
28
+ stemmer.stem("tomatos") # "tomato"
29
29
  ```
30
30
 
31
31
  ## Languages
@@ -2,7 +2,9 @@ require "mkmf"
2
2
  require "open3"
3
3
 
4
4
  vendor = File.expand_path("../../vendor/snowball", __dir__)
5
- output, status = Open3.capture2("make", chdir: vendor)
5
+ # CFLAGS from vendor/snowball/GNUmakefile and -fPIC
6
+ cflags = "-O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations -fPIC"
7
+ output, status = Open3.capture2("make", "CFLAGS=#{cflags}", chdir: vendor)
6
8
  puts output
7
9
  raise "Command failed" unless status.success?
8
10
 
@@ -1,3 +1,3 @@
1
1
  module Mittens
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/mittens.rb CHANGED
@@ -1,5 +1,7 @@
1
+ # ext
2
+ require "mittens/ext"
3
+
1
4
  # modules
2
- require_relative "mittens/ext"
3
5
  require_relative "mittens/version"
4
6
 
5
7
  module Mittens
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mittens
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-21 00:00:00.000000000 Z
11
+ date: 2023-05-12 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: andrew@ankane.org
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
171
  - !ruby/object:Gem::Version
172
172
  version: '0'
173
173
  requirements: []
174
- rubygems_version: 3.4.6
174
+ rubygems_version: 3.4.10
175
175
  signing_key:
176
176
  specification_version: 4
177
177
  summary: Stemming for Ruby, powered by Snowball