rundown 0.0.5 → 0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e54ef59d983a7d1f98f55bcc4fbf694d7e7769c
4
- data.tar.gz: 096954c27519ba7beba4c869aebaba0e6d6b101b
3
+ metadata.gz: 0998d436ea905e8e3bd054a56a94d9e458314597
4
+ data.tar.gz: 78f19c99cbd6f34a4677da36f75d2a3f8fe81473
5
5
  SHA512:
6
- metadata.gz: ce18b0c8c376fd9dc1f5ea669666654f96fcde8e20f6aefa60fada8322bf1baf96c26123e3adfbde9c68edf3fae2f1357054406dca7664da6e527c1769905c95
7
- data.tar.gz: e81780b0f744a42b73b5a1e4217276643c98083b7f4ea03df91b0204138a822f9ee17a6dd413fccbee84efb5b603b8e0f7a70ac546dc074f6172b88be913963f
6
+ metadata.gz: 96b9619a4388e1046fb46398275032ad5f7285db909230d8c8c94bb99f13b8d0a420fae1960cb66fadceb6d771b311994b75d586ec242560fee9c17656e232db
7
+ data.tar.gz: 8723aa11a0a4e14893e211287d517ed4131ecb25c752826eb4c9ff3362808b18fd691979cc9ec529e2c37743c9a32ea8418e85e3be8c98c094a321c9decb2d18
data/lib/rundown.rb CHANGED
@@ -6,8 +6,9 @@ require 'sentiment_parser'
6
6
 
7
7
  require 'rundown/parser'
8
8
  require 'rundown/processor'
9
- require 'rundown/processors/email'
10
9
  require 'rundown/processors/dates'
10
+ require 'rundown/processors/email'
11
+ require 'rundown/processors/hashtags'
11
12
  require 'rundown/processors/links'
12
13
  require 'rundown/processors/phone'
13
14
  require 'rundown/processors/reading_time'
@@ -1,3 +1,3 @@
1
1
  module Rundown
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
data/spec/rundown_spec.rb CHANGED
@@ -3,7 +3,7 @@ require 'spec_helper'
3
3
  describe Rundown do
4
4
  subject {
5
5
  "I'm sorry, I'm extremely busy right now. I just looked at the clock, and it's 12:54 AM, I've still got a lot of work to do. Don't worry about the event tomorrow, it's been moved ahead a week, the 28th of december. Remember though, you've got to call to get a ticket soon, their # is 1-212-323-1239. Their website says it costs $23 per person.
6
- If you've got enough time, they have some more information on their website, http://theevent.com. @modsognir has tickets already.
6
+ If you've got enough time, they have some more information on their website, http://theevent.com. @modsognir has tickets already. #prepared
7
7
  Regards,
8
8
  David (david32@gmail.com)"
9
9
  }
@@ -34,6 +34,10 @@ David (david32@gmail.com)"
34
34
  it { expect(Rundown::Processors::Links.new(subject).process.first).to eql('http://theevent.com') }
35
35
  end
36
36
 
37
+ describe 'hashtags' do
38
+ it { expect(Rundown::Processors::Hashtags.new(subject).process.first).to eql('#prepared') }
39
+ end
40
+
37
41
  context 'basic string' do
38
42
  subject { Rundown.parse("I'll see you on the 18th, give me a ring on 07912 345 678. - Jerertt, me@example.com") }
39
43
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rundown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jared Fraser