mail_robber 1.1.1 → 1.1.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: 753c28509f05d42f7852b14c229b341372e8e721
4
- data.tar.gz: bb2f3a5f39bcb463649b1f1deebc3ce6c9a28d0d
3
+ metadata.gz: 8088030c385c922183d5fdb692baa5665b315f2a
4
+ data.tar.gz: 897042720556d2e87d8947589bf8c4fbd762192d
5
5
  SHA512:
6
- metadata.gz: acacdee45c96598f373de465aca7b8e1175330b7917b81310882fbdb02e0fa4cf27b5e576ed31ed7c4faa4a48a297664bf70348031bb03c0ccd049b671fb2906
7
- data.tar.gz: aec755c1f052fd457f3a051d6c7a386a535c74eaecfab3c5b31176303feab547dc01fb06ee7fcd2ef25e52d5441fc3487788dcd2985c306bfe44da2ce3512c01
6
+ metadata.gz: c1dda9402ce1c79244d8b2f45b0dc5199d9edc35166788ae49e893b58743e5f9d2bb2fbb67c8f6a1025818a7b4672836c71addbffde9ff1fc295f22b9094267b
7
+ data.tar.gz: 6be2a4970f0eacd5f043e3379e4d20f1420e8bc71c65a24c7aefdfbf97498edb6a68be66c8890b5be5db315fd0582f5e4cf8b193324b568f387cf45964c8eb01
@@ -4,9 +4,7 @@
4
4
  <list default="true" id="78103ded-9bc2-4132-b2ae-f0aa61766719" name="Default" comment="Added current Rails environment to email">
5
5
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/.rakeTasks" afterPath="$PROJECT_DIR$/.idea/.rakeTasks" />
6
6
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/mail_robber.iml" afterPath="$PROJECT_DIR$/.idea/mail_robber.iml" />
7
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/mail_robber.rb" afterPath="$PROJECT_DIR$/lib/mail_robber.rb" />
8
7
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/vcs.xml" afterPath="$PROJECT_DIR$/.idea/vcs.xml" />
9
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/mail_robber/version.rb" afterPath="$PROJECT_DIR$/lib/mail_robber/version.rb" />
10
8
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
11
9
  </list>
12
10
  <ignored path="mail_robber.iws" />
@@ -341,7 +339,11 @@
341
339
  <created>1401294205619</created>
342
340
  <updated>1401294205619</updated>
343
341
  </task>
344
- <option name="localTasksCounter" value="5" />
342
+ <task id="LOCAL-00005" summary="fixed typo in request">
343
+ <created>1401353377349</created>
344
+ <updated>1401353377349</updated>
345
+ </task>
346
+ <option name="localTasksCounter" value="6" />
345
347
  <servers />
346
348
  </component>
347
349
  <component name="ToolWindowManager">
@@ -350,20 +352,20 @@
350
352
  <layout>
351
353
  <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
352
354
  <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32880846" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
353
- <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
354
- <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32862905" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
355
355
  <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
356
- <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
357
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.28434506" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
356
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32862905" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
358
357
  <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
359
- <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="true" content_ui="tabs" />
360
358
  <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="true" content_ui="tabs" />
361
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
359
+ <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="true" content_ui="tabs" />
362
360
  <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
361
+ <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3296" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
362
+ <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
363
+ <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
364
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.28434506" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
365
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
363
366
  <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
364
367
  <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
365
368
  <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
366
- <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3296" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
367
369
  <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
368
370
  <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
369
371
  <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
@@ -388,7 +390,8 @@
388
390
  <MESSAGE value="changed version to 1.0.2" />
389
391
  <MESSAGE value="added comments and changed defaults on generated initializer" />
390
392
  <MESSAGE value="Added current Rails environment to email" />
391
- <option name="LAST_COMMIT_MESSAGE" value="Added current Rails environment to email" />
393
+ <MESSAGE value="fixed typo in request" />
394
+ <option name="LAST_COMMIT_MESSAGE" value="fixed typo in request" />
392
395
  </component>
393
396
  <component name="XDebuggerManager">
394
397
  <breakpoint-manager />
@@ -38,7 +38,7 @@ module MailRobber
38
38
  end
39
39
  params[:attachments] = Marshal::dump(attachments)
40
40
 
41
- intercept_letter(params) if self.config.enabled
41
+ intercept_letter(params)
42
42
  block_delivery(message) if self.config.block_delivery
43
43
  end
44
44
 
@@ -6,7 +6,7 @@ module MailRobber
6
6
  def self.configure
7
7
  self.config ||= Configuration.new
8
8
  yield(config)
9
- ActionMailer::Base.register_interceptor(MailRobber)
9
+ ActionMailer::Base.register_interceptor(MailRobber) if config.enabled
10
10
  end
11
11
 
12
12
  class Configuration
@@ -1,3 +1,3 @@
1
1
  module MailRobber
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mail_robber
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya Gelman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-29 00:00:00.000000000 Z
11
+ date: 2014-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: launchy
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: Simple email testing for Rails
@@ -59,17 +59,17 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - .gitignore
63
- - .idea/.name
64
- - .idea/.rakeTasks
65
- - .idea/dictionaries/ilyagelman.xml
66
- - .idea/encodings.xml
67
- - .idea/mail_robber.iml
68
- - .idea/misc.xml
69
- - .idea/modules.xml
70
- - .idea/scopes/scope_settings.xml
71
- - .idea/vcs.xml
72
- - .idea/workspace.xml
62
+ - ".gitignore"
63
+ - ".idea/.name"
64
+ - ".idea/.rakeTasks"
65
+ - ".idea/dictionaries/ilyagelman.xml"
66
+ - ".idea/encodings.xml"
67
+ - ".idea/mail_robber.iml"
68
+ - ".idea/misc.xml"
69
+ - ".idea/modules.xml"
70
+ - ".idea/scopes/scope_settings.xml"
71
+ - ".idea/vcs.xml"
72
+ - ".idea/workspace.xml"
73
73
  - Gemfile
74
74
  - LICENSE.txt
75
75
  - README.md
@@ -92,12 +92,12 @@ require_paths:
92
92
  - lib
93
93
  required_ruby_version: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - '>='
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  requirements:
100
- - - '>='
100
+ - - ">="
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  requirements: []