mini_suffix 0.3.2 → 0.3.3

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: da562466a7635ef4abe50e473d7314be39a80487aa3d77fbb39cee066b0a5d64
4
- data.tar.gz: 963f965dbeb5b87c876a818f1e0d4fa6a53b66ec56f5a12ac4a7ae7e890aa302
3
+ metadata.gz: fccde82176bf00cfeafda11ca5155185a0dd476a6a22531289883a20d20da96d
4
+ data.tar.gz: e8e30e2c0433f05fb37338809276c909c2dcf82c9dc5075c48b2a469870e7928
5
5
  SHA512:
6
- metadata.gz: 1938b29e11700f29a1f3ca7956d1fa9513ab48a0ebd91dcb6e037fbb772744485dc30702b50ec04eab953ad3832fac8eb5c2c4d378f2dede939d933fb12b4499
7
- data.tar.gz: 0f442e1772a36e5932d6e942c8c0824da1a5b9b3c12e1c8c1ee2b488540f16452b42d7397959d5df7487f511ea62f02e2c6f489c9fa9ec53cdc364e67c83e0a8
6
+ metadata.gz: ff8f7597ce5345ce451ec496d48ff667dec1b13e86d0075af34a1f1baacf2d70c38b20648122f3adb49558a0468d5452e4647770939348cd285156fd3bf0fbf2
7
+ data.tar.gz: 203f22ca8c0da035d40291600a19d3552967e276d857edbb66dea702fc10bf4002c6c1e14c4d82c9fa04e84f8a1223df1ecd7c4e3dd552212d36049f924a0e13
@@ -5,6 +5,7 @@ on:
5
5
  push:
6
6
  branches:
7
7
  - master
8
+ - main
8
9
 
9
10
  jobs:
10
11
  build:
@@ -32,3 +33,17 @@ jobs:
32
33
  bundle install --jobs 4
33
34
  - name: Tests
34
35
  run: bundle exec rspec
36
+ publish:
37
+ if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
38
+ needs: build
39
+ runs-on: ubuntu-latest
40
+
41
+ steps:
42
+ - uses: actions/checkout@v2
43
+
44
+ - name: Release Gem
45
+ uses: discourse/publish-rubygems-action@v2
46
+ env:
47
+ RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
48
+ GIT_EMAIL: team@discourse.org
49
+ GIT_NAME: discoursebot
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.3.3
2
+
3
+ * Add libpsl shared libary for Linux aarch64
4
+
5
+ *xfalcox*
6
+
1
7
  # 0.3.2
2
8
 
3
9
  * Bump libpsl to v0.21.1, and bump binaries
@@ -1,3 +1,3 @@
1
1
  module MiniSuffix
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
data/lib/mini_suffix.rb CHANGED
@@ -5,6 +5,7 @@ module MiniSuffix
5
5
  extend FFI::Library
6
6
 
7
7
  ffi_lib [
8
+ File.join(File.dirname(File.expand_path('..', __FILE__)), 'vendor/libpsl.aarch64.so'),
8
9
  File.join(File.dirname(File.expand_path('..', __FILE__)), 'vendor/libpsl.x86_64.so'),
9
10
  File.join(File.dirname(File.expand_path('..', __FILE__)), 'vendor/libpsl.ppc64le.so'),
10
11
  File.join(File.dirname(File.expand_path('..', __FILE__)), 'vendor/libpsl.darwin-i386.dylib'),
data/mini_suffix.gemspec CHANGED
@@ -24,6 +24,6 @@ Gem::Specification.new do |spec|
24
24
  spec.add_dependency 'ffi', '~> 1.9'
25
25
 
26
26
  spec.add_development_dependency "bundler"
27
- spec.add_development_dependency "rake", "~> 10.0"
28
- spec.add_development_dependency "rspec", "~> 3.0"
27
+ spec.add_development_dependency "rake", "> 10.0"
28
+ spec.add_development_dependency "rspec", "> 3.0"
29
29
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mini_suffix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guo Xiang Tan
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-25 00:00:00.000000000 Z
11
+ date: 2021-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -42,31 +42,31 @@ dependencies:
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '10.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '10.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '3.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '3.0'
69
- description:
69
+ description:
70
70
  email:
71
71
  - tgx@discourse.org
72
72
  executables: []
@@ -89,6 +89,7 @@ files:
89
89
  - lib/mini_suffix.rb
90
90
  - lib/mini_suffix/version.rb
91
91
  - mini_suffix.gemspec
92
+ - vendor/libpsl.aarch64.so
92
93
  - vendor/libpsl.darwin-arm64.dylib
93
94
  - vendor/libpsl.darwin-i386.dylib
94
95
  - vendor/libpsl.ppc64le.so
@@ -97,7 +98,7 @@ homepage: https://github.com/discourse/mini_suffix
97
98
  licenses:
98
99
  - MIT
99
100
  metadata: {}
100
- post_install_message:
101
+ post_install_message:
101
102
  rdoc_options: []
102
103
  require_paths:
103
104
  - lib
@@ -112,8 +113,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
113
  - !ruby/object:Gem::Version
113
114
  version: '0'
114
115
  requirements: []
115
- rubygems_version: 3.1.4
116
- signing_key:
116
+ rubygems_version: 3.1.6
117
+ signing_key:
117
118
  specification_version: 4
118
119
  summary: FFI wrapper for libpsl
119
120
  test_files: []