twitter_ebooks 2.0.5 → 2.0.6

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.
@@ -95,7 +95,7 @@ module Ebooks
95
95
  mless = ev[:text]
96
96
  begin
97
97
  ev.attrs[:entities][:user_mentions].reverse.each do |entity|
98
- mless = mless[0...entity[:indices][0]] + mless[entity[:indices][1]+1..-1]
98
+ mless = mless[0...entity[:indices][0]] + mless[entity[:indices][1]...-1]
99
99
  end
100
100
  rescue Exception
101
101
  p ev.attrs[:entities][:user_mentions]
@@ -1,3 +1,3 @@
1
1
  module Ebooks
2
- VERSION = "2.0.5"
2
+ VERSION = "2.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter_ebooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5
4
+ version: 2.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: