TwitterOfBabel 0.1.1 → 0.2.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: 42293055a5567b2ee5f80b6ad81562db370a2e49bdfc9e0ca2cdfcb4470b36dd
4
- data.tar.gz: 579f660cf4eeed8075383847ceb0c3983e12a4776e0f66d3dc7d9bbeba465345
3
+ metadata.gz: e8e6754ba1a200a6a48a38ff39c08a5d47237b384f20875399ac0ade48d6ed24
4
+ data.tar.gz: d8d73bbd787150a90f4d3bfc044d37c961a2fdf4f02ff1121e6ed5580bca44f9
5
5
  SHA512:
6
- metadata.gz: f6f58b87e6b85c3a1f00f9eabe354af5600065495d85f156bf39e517d87ee478a725ac61c738c8744df8b763ff60faac92bef4a37aa7bd50d359d25a0f13d344
7
- data.tar.gz: ea4d4f7259274d71b312bd28c449078609725a40cf349ef7f4d89dca6f90f3500477965cb10e587265a8e121d33a3c1111b75588485428b3162f529d341715d7
6
+ metadata.gz: 10ed5c57e192c9ce7d66517c8312bae9a84b34c03197315eafaa4b09a3e60e27d1e6098ee12bebc7e4283f72a0225808743dc8d3ea0c2aa3a5986fadd0328317
7
+ data.tar.gz: bacecc3299008806c961eb998b0ec4ae2884cdb867e9a1a5fa490997875127e4105607a8199e1b23cef5588a9ad5f65a8e4a6bcf9fbb421ceb5b4c29dc779837
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## [0.2.0]
2
+
3
+ * All tweets now lead with mention of the person who initially tweeted
4
+ * All tweets now are replies to an earlier tweet
5
+
1
6
  ## [0.1.1]
2
7
 
3
8
  * Add options for various necessary bits
@@ -12,7 +12,7 @@ module TwitterOfBabel
12
12
  end
13
13
 
14
14
  def response_to(username)
15
- "#{self.to_s}\n@#{username} #TwitterOfBabel"
15
+ "@#{username}\n#{self.to_s}\n#TwitterOfBabel"
16
16
  end
17
17
 
18
18
  def to_s
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TwitterOfBabel
4
- VERSION = "0.1.1"
4
+ VERSION = "0.2.0"
5
5
  end
@@ -27,7 +27,7 @@ module TwitterOfBabel
27
27
  }
28
28
 
29
29
  tweets.each do |t|
30
- twitter_client.update(t[:tweet_text])
30
+ twitter_client.update(t[:tweet_text], in_reply_to_status_id: t[:tweet].id)
31
31
  previous_tweets << t[:tweet].id
32
32
  end
33
33
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: TwitterOfBabel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andre LaFleur
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-13 00:00:00.000000000 Z
11
+ date: 2021-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: twitter