x_post_sanitizer 0.1.0 → 0.1.1

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: c1b728cf95a2693f8bb1eb632e28ce05767f2c876854db333256e561ca50b323
4
- data.tar.gz: 6b57921524d5c4f2891779184f432b8dbd215bf88452fb0eb37fa502bbb013c6
3
+ metadata.gz: befdebf7b8eb2a04c81c93992ff617a8fdd58b77690be6df2ccc886fccfc3cd2
4
+ data.tar.gz: 02ac12eb7e6b84dfb492847cf7b98bc00c3bcb0ac614e3401f33d7ee9c1c534b
5
5
  SHA512:
6
- metadata.gz: 02765f0f7e8e03d3185e4b8b56b7c07d5ace9830b0276b7fc2bc1b97d8cdf42124ad852d6bb5537a2a2b51f0b526570f9e17dcdb4567472c3fd9e55649ed2b90
7
- data.tar.gz: 3ef6a6c9c5db8bab7571d7533e4bebd038b9966e67991b7e4d8bb8240126aba492c4a4435fe9520340dfdac7eb6e14073d2fc898d9c199ed7b89345d6783f16c
6
+ metadata.gz: a26f0524e2c679a9c99609d423d781dea8e0e6b11facf645c140c26caa01067a12f610f59132f80c0485e589c48c4873b6bd479fd7278219ca68dade632d26d4
7
+ data.tar.gz: c30b0174d3bbad35b4e15f895bce9216e59e24d454a91d765951753faff66ab7bbdb78a48c7234f4a87c45d712629e3f373507b97ae92fd38c4507a22b988da1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## [Unreleased]
2
- [full changelog](http://github.com/sue445/x_post_sanitizer/compare/v0.1.0...main)
2
+ [full changelog](http://github.com/sue445/x_post_sanitizer/compare/v0.1.1...main)
3
+
4
+ ## [0.1.1](https://github.com/sue445/x_post_sanitizer/releases/tag/v0.1.1) - 2025-11-30
5
+ [full changelog](http://github.com/sue445/x_post_sanitizer/compare/v0.1.0...v0.1.1)
6
+
7
+ * Release gem from GitHub Actions
8
+ * https://github.com/sue445/x_post_sanitizer/pull/20
3
9
 
4
10
  ## [0.1.0](https://github.com/sue445/x_post_sanitizer/releases/tag/v0.1.0) - 2025-05-04
5
11
 
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # XPostSanitizer
2
2
  Sanitize X Post (formerly Twitter Tweet)
3
3
 
4
+ [![Gem Version](https://badge.fury.io/rb/x_post_sanitizer.svg)](https://badge.fury.io/rb/x_post_sanitizer)
4
5
  [![test](https://github.com/sue445/x_post_sanitizer/actions/workflows/test.yml/badge.svg)](https://github.com/sue445/x_post_sanitizer/actions/workflows/test.yml)
5
6
 
6
7
  ## Installation
@@ -19,7 +20,7 @@ gem install x_post_sanitizer
19
20
  ## Usage
20
21
  Use `XPostSanitizer.sanitize_text`
21
22
 
22
- e.g
23
+ e.g.
23
24
 
24
25
  ```ruby
25
26
  require "json"
@@ -44,14 +45,14 @@ All methods and options are followings
44
45
 
45
46
  https://sue445.github.io/x_post_sanitizer/XPostSanitizer.html
46
47
 
47
- ## vs tweet_sanitizer
48
+ ## vs. tweet_sanitizer
48
49
  This has the same features as [tweet_sanitizer](https://github.com/sue445/tweet_sanitizer) but with the following differences
49
50
 
50
51
  * tweet_sanitizer
51
- * Requires https://github.com/sferik/twitter-ruby
52
+ * Requires https://github.com/sferik/twitter-ruby
52
53
  * x_post_sanitizer
53
- * Requires only plain X API response. (`Hash` which parsed JSON string)
54
- * No requires https://github.com/sferik/twitter-ruby
54
+ * Requires only plain X API response. (`Hash` which parsed JSON string)
55
+ * No requires https://github.com/sferik/twitter-ruby
55
56
 
56
57
  ## Development
57
58
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module XPostSanitizer
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
@@ -73,7 +73,7 @@ module XPostSanitizer
73
73
 
74
74
  # @param tweet [Hash<String, Object>] Tweet object
75
75
  #
76
- # @return [Array<Hash>]
76
+ # @return [Array<Hash<String, Object>>]
77
77
  #
78
78
  # @see https://developer.x.com/en/docs/x-api/v1/data-dictionary/object-model/tweet
79
79
  def self.get_medias(tweet)
@@ -6,7 +6,7 @@ gems:
6
6
  source:
7
7
  type: git
8
8
  name: ruby/gem_rbs_collection
9
- revision: eb6867fdb70e82e3aac6b51623ed1b6760c3c072
9
+ revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
10
10
  remote: https://github.com/ruby/gem_rbs_collection.git
11
11
  repo_dir: gems
12
12
  - name: binding_of_caller
@@ -14,7 +14,7 @@ gems:
14
14
  source:
15
15
  type: git
16
16
  name: ruby/gem_rbs_collection
17
- revision: eb6867fdb70e82e3aac6b51623ed1b6760c3c072
17
+ revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
18
18
  remote: https://github.com/ruby/gem_rbs_collection.git
19
19
  repo_dir: gems
20
20
  - name: cgi
@@ -30,9 +30,13 @@ gems:
30
30
  source:
31
31
  type: git
32
32
  name: ruby/gem_rbs_collection
33
- revision: eb6867fdb70e82e3aac6b51623ed1b6760c3c072
33
+ revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
34
34
  remote: https://github.com/ruby/gem_rbs_collection.git
35
35
  repo_dir: gems
36
+ - name: erb
37
+ version: '0'
38
+ source:
39
+ type: stdlib
36
40
  - name: fileutils
37
41
  version: '0'
38
42
  source:
@@ -46,7 +50,7 @@ gems:
46
50
  source:
47
51
  type: git
48
52
  name: ruby/gem_rbs_collection
49
- revision: eb6867fdb70e82e3aac6b51623ed1b6760c3c072
53
+ revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
50
54
  remote: https://github.com/ruby/gem_rbs_collection.git
51
55
  repo_dir: gems
52
56
  - name: pp
@@ -58,7 +62,7 @@ gems:
58
62
  source:
59
63
  type: stdlib
60
64
  - name: prism
61
- version: 1.4.0
65
+ version: 1.6.0
62
66
  source:
63
67
  type: rubygems
64
68
  - name: pstore
@@ -74,7 +78,7 @@ gems:
74
78
  source:
75
79
  type: git
76
80
  name: ruby/gem_rbs_collection
77
- revision: eb6867fdb70e82e3aac6b51623ed1b6760c3c072
81
+ revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
78
82
  remote: https://github.com/ruby/gem_rbs_collection.git
79
83
  repo_dir: gems
80
84
  - name: rdoc
@@ -97,4 +101,8 @@ gems:
97
101
  version: '0'
98
102
  source:
99
103
  type: stdlib
104
+ - name: tsort
105
+ version: '0'
106
+ source:
107
+ type: stdlib
100
108
  gemfile_lock_path: Gemfile.lock
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: x_post_sanitizer
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
  - sue445