artichoke 0.0.1 → 0.0.2

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: a9c35daad5742135d314847c64df4ee0c44b1caf
4
- data.tar.gz: 34cdaf8a43bcaa5b28fe374615fff4294e398725
3
+ metadata.gz: d3dcb93100a759eb97487d95700f6614f47303fb
4
+ data.tar.gz: e5939165b71ab1c3d4e74c3ef7243c58de15b2d5
5
5
  SHA512:
6
- metadata.gz: 4b405cdf7b2781f4473e7db93bcd25a384e75a593eb42aa7fa9634a9f9c0632cd40a0c8c0a5746795f5e04d86b2aab65c2c5be286892122e0da2e6c63ec8bc6d
7
- data.tar.gz: 3b7fe0e9c0d8f43cc54e177251fc6c05b4964e98964f3086384d9986cd950e48e3486324f168aa8c5626a501be4c191cdbe03d544f4a729fd943496c73a6e5cb
6
+ metadata.gz: 6706eec0d8ad3929e79bd17584ee3574318c70189f067676c4674a0c629257665d5a2121841896f40f51ff3729d5c6e68b4376e03430cb6ffb0ea0dbcf203d95
7
+ data.tar.gz: 16d592d40d824f22e093cbf543e9bf94b5f8e4033f2f2c96cbcdaad78640cfe240daf7cd38c9c48bc60209ecfb8f091c63a201b2e256b54d59243e7c9d9c2ce7
@@ -0,0 +1 @@
1
+ *.gem
data/README.md CHANGED
@@ -15,7 +15,7 @@ Or install it yourself as:
15
15
 
16
16
  ## Configuration
17
17
 
18
- Add this to intializer:
18
+ Add this to an initializer:
19
19
 
20
20
  Artichoke::Connection.configure do |config|
21
21
  config.username = 'ninja@gmail.com'
@@ -56,7 +56,7 @@ This is best used prior to an action that should trigger the email you want to e
56
56
  # By default, the poller raises an error if no email was found
57
57
  # within the determined timeout. However, you can pass the skip_error parameter
58
58
  # in order to silence the error, so that you can assert no email was sent.
59
- email = @poller.find({message_subject: "I wear Kimonos on weekends", timeout: 30, skip_error: false})
59
+ email = @poller.find({message_subject: "I wear Kimonos on weekends", timeout: 30, skip_error: true})
60
60
  email.should be_nil
61
61
 
62
62
  ### Evaluating and Manipulating the returned Message object
@@ -28,7 +28,7 @@ module Artichoke
28
28
  Timeout::timeout(options[:timeout]|| 75) do
29
29
  while true do
30
30
  client do
31
- gm_string = "newer:#{@gmail_start_time.to_i} subject:"+options[:message_subject]
31
+ gm_string = "newer:#{@gmail_start_time.to_i} subject:"+options[:message_subject]+" "
32
32
  if options[:attachments]
33
33
  options[:attachments].each{|attachment| gm_string += attachment+" "}
34
34
  gm_string+= " has:attachment"
@@ -1,3 +1,3 @@
1
1
  module Artichoke
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: artichoke
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathaniel Ritholtz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-29 00:00:00.000000000 Z
11
+ date: 2015-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-gmail-nritholtz
@@ -46,6 +46,7 @@ executables: []
46
46
  extensions: []
47
47
  extra_rdoc_files: []
48
48
  files:
49
+ - ".gitignore"
49
50
  - README.md
50
51
  - artichoke.gemspec
51
52
  - lib/artichoke.rb