no_notifier_needed 0.1.10 → 1.0.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.
Files changed (55) hide show
  1. data/Gemfile +7 -0
  2. data/Gemfile.lock +100 -2
  3. data/README.css +0 -0
  4. data/README.rdoc +21 -3
  5. data/Rakefile +45 -0
  6. data/VERSION +1 -1
  7. data/initializers/hotpatches/{subclasses.rb.template → subclasses.rb} +0 -0
  8. data/initializers/notifier.rb +53 -0
  9. data/lib/no_notifier_needed.rb +2 -2
  10. data/lib/no_notifier_needed/railtie.rb +12 -6
  11. data/lib/no_notifier_needed/version.rb +3 -0
  12. data/lib/tasks/no_notifier_needed_tasks.rake +4 -0
  13. data/no_notifier_needed.gemspec +54 -8
  14. data/test/dummy/README.rdoc +261 -0
  15. data/test/dummy/Rakefile +7 -0
  16. data/test/dummy/app/assets/javascripts/application.js +15 -0
  17. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  18. data/test/dummy/app/controllers/application_controller.rb +3 -0
  19. data/test/dummy/app/helpers/application_helper.rb +2 -0
  20. data/test/dummy/app/mailers/.gitkeep +0 -0
  21. data/test/dummy/app/models/.gitkeep +0 -0
  22. data/test/dummy/app/models/email_template.rb +2 -0
  23. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  24. data/test/dummy/config.ru +4 -0
  25. data/test/dummy/config/application.rb +59 -0
  26. data/test/dummy/config/boot.rb +10 -0
  27. data/test/dummy/config/database.yml +25 -0
  28. data/test/dummy/config/environment.rb +5 -0
  29. data/test/dummy/config/environments/development.rb +37 -0
  30. data/test/dummy/config/environments/production.rb +67 -0
  31. data/test/dummy/config/environments/test.rb +37 -0
  32. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  33. data/test/dummy/config/initializers/inflections.rb +15 -0
  34. data/test/dummy/config/initializers/mime_types.rb +5 -0
  35. data/test/dummy/config/initializers/secret_token.rb +7 -0
  36. data/test/dummy/config/initializers/session_store.rb +8 -0
  37. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  38. data/test/dummy/config/locales/en.yml +5 -0
  39. data/test/dummy/config/routes.rb +58 -0
  40. data/test/dummy/db/test.sqlite3 +0 -0
  41. data/test/dummy/lib/assets/.gitkeep +0 -0
  42. data/test/dummy/log/.gitkeep +0 -0
  43. data/test/dummy/log/development.log +4 -0
  44. data/test/dummy/log/test.log +79 -0
  45. data/test/dummy/public/404.html +26 -0
  46. data/test/dummy/public/422.html +26 -0
  47. data/test/dummy/public/500.html +25 -0
  48. data/test/dummy/public/favicon.ico +0 -0
  49. data/test/dummy/script/rails +6 -0
  50. data/test/test_helper.rb +34 -0
  51. data/test/test_no_notifier_needed.rb +46 -3
  52. metadata +147 -106
  53. data/LICENSE.txt +0 -20
  54. data/README.md +0 -4
  55. data/test/helper.rb +0 -18
data/Gemfile CHANGED
@@ -4,11 +4,18 @@ source "http://rubygems.org"
4
4
  # gem "activesupport", ">= 2.3.5"
5
5
  gem 'haml'
6
6
  gem 'rails', '>= 3.2.11'
7
+ gem 'no_notifier_needed', :path => File.expand_path('..', __FILE__)
8
+ gem 'metric_fu'
7
9
 
10
+ group :test do
11
+ gem 'debugger'
12
+ gem 'sqlite3'
13
+ end
8
14
 
9
15
  # Add dependencies to develop your gem here.
10
16
  # Include everything needed to run rake, tests, features, etc.
11
17
  group :development do
18
+ gem 'rails-pry'
12
19
  gem "shoulda", ">= 0"
13
20
  gem "rdoc", "~> 3.12"
14
21
  gem "bundler", ">= 1.2.3"
data/Gemfile.lock CHANGED
@@ -1,3 +1,12 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ no_notifier_needed (1.0.0)
5
+ haml
6
+ metric_fu
7
+ no_notifier_needed
8
+ rails (>= 3.2.11)
9
+
1
10
  GEM
2
11
  remote: http://rubygems.org/
3
12
  specs:
@@ -29,14 +38,47 @@ GEM
29
38
  i18n (~> 0.6)
30
39
  multi_json (~> 1.0)
31
40
  arel (3.0.2)
41
+ arrayfields (4.7.4)
42
+ bluff (0.1.0)
32
43
  bourne (1.1.2)
33
44
  mocha (= 0.10.5)
34
45
  builder (3.0.4)
46
+ chronic (0.9.0)
47
+ churn (0.0.25)
48
+ chronic (>= 0.2.3)
49
+ hirb
50
+ json_pure
51
+ main
52
+ ruby_parser (~> 2.3)
53
+ sexp_processor (~> 3.0)
54
+ coderay (1.0.8)
55
+ colored (1.2)
56
+ columnize (0.3.6)
57
+ debugger (1.2.4)
58
+ columnize (>= 0.3.1)
59
+ debugger-linecache (~> 1.1.1)
60
+ debugger-ruby_core_source (~> 1.1.7)
61
+ debugger-linecache (1.1.2)
62
+ debugger-ruby_core_source (>= 1.1.1)
63
+ debugger-ruby_core_source (1.1.7)
35
64
  erubis (2.7.0)
65
+ fattr (2.2.1)
66
+ flay (1.2.1)
67
+ hoe (>= 1.11.0)
68
+ ruby_parser (>= 1.1.0)
69
+ sexp_processor (>= 3.0.0)
70
+ flog (2.3.0)
71
+ ruby_parser (~> 2.0)
72
+ sexp_processor (~> 3.0)
36
73
  git (1.2.5)
74
+ googlecharts (1.6.8)
37
75
  haml (3.1.7)
38
76
  hike (1.2.1)
77
+ hirb (0.7.1)
78
+ hoe (3.5.0)
79
+ rake (>= 0.8, < 11.0)
39
80
  i18n (0.6.1)
81
+ japgolly-Saikuro (1.1.1.0)
40
82
  jeweler (1.8.4)
41
83
  bundler (~> 1.0)
42
84
  git (>= 1.2.5)
@@ -44,17 +86,43 @@ GEM
44
86
  rdoc
45
87
  journey (1.0.4)
46
88
  json (1.7.6)
89
+ json_pure (1.7.6)
47
90
  mail (2.4.4)
48
91
  i18n (>= 0.4.0)
49
92
  mime-types (~> 1.16)
50
93
  treetop (~> 1.4.8)
94
+ main (5.1.1)
95
+ arrayfields (>= 4.7.4)
96
+ chronic (>= 0.6.2)
97
+ fattr (>= 2.2.0)
98
+ map (>= 5.1.0)
99
+ map (6.2.0)
51
100
  metaclass (0.0.1)
101
+ metric_fu (2.1.3.7.19)
102
+ activesupport (>= 2.0.0)
103
+ arrayfields (= 4.7.4)
104
+ bluff
105
+ churn (= 0.0.25)
106
+ coderay
107
+ fattr (= 2.2.1)
108
+ flay (= 1.2.1)
109
+ flog (= 2.3.0)
110
+ googlecharts
111
+ japgolly-Saikuro (>= 1.1.1.0)
112
+ map (= 6.2.0)
113
+ metric_fu-roodi (>= 2.2.0)
114
+ rails_best_practices (~> 0.10.1)
115
+ rcov (~> 0.8)
116
+ reek (= 1.2.12)
117
+ sexp_processor (~> 3.0.3)
118
+ metric_fu-roodi (2.2.0)
119
+ ruby_parser
52
120
  mime-types (1.19)
53
121
  mocha (0.10.5)
54
122
  metaclass (~> 0.0.1)
55
123
  multi_json (1.5.0)
56
124
  polyglot (0.3.3)
57
- rack (1.4.3)
125
+ rack (1.4.4)
58
126
  rack-cache (1.2)
59
127
  rack (>= 0.4)
60
128
  rack-ssl (1.3.2)
@@ -69,6 +137,15 @@ GEM
69
137
  activesupport (= 3.2.11)
70
138
  bundler (~> 1.0)
71
139
  railties (= 3.2.11)
140
+ rails-pry (0.0.1)
141
+ rails_best_practices (0.10.1)
142
+ activesupport
143
+ colored
144
+ erubis
145
+ haml
146
+ i18n
147
+ ruby-progressbar
148
+ ruby_parser
72
149
  railties (3.2.11)
73
150
  actionpack (= 3.2.11)
74
151
  activesupport (= 3.2.11)
@@ -77,8 +154,23 @@ GEM
77
154
  rdoc (~> 3.4)
78
155
  thor (>= 0.14.6, < 2.0)
79
156
  rake (10.0.3)
157
+ rcov (0.9.11)
80
158
  rdoc (3.12)
81
159
  json (~> 1.4)
160
+ reek (1.2.12)
161
+ ripper_ruby_parser (~> 0.0.7)
162
+ ruby2ruby (~> 1.2.5)
163
+ ruby_parser (~> 2.0)
164
+ sexp_processor (~> 3.0)
165
+ ripper_ruby_parser (0.0.8)
166
+ sexp_processor (~> 3.0)
167
+ ruby-progressbar (1.0.2)
168
+ ruby2ruby (1.2.5)
169
+ ruby_parser (~> 2.0)
170
+ sexp_processor (~> 3.0)
171
+ ruby_parser (2.3.1)
172
+ sexp_processor (~> 3.0)
173
+ sexp_processor (3.0.10)
82
174
  shoulda (3.3.2)
83
175
  shoulda-context (~> 1.0.1)
84
176
  shoulda-matchers (~> 1.4.1)
@@ -95,7 +187,8 @@ GEM
95
187
  multi_json (~> 1.0)
96
188
  rack (~> 1.0)
97
189
  tilt (~> 1.1, != 1.3.0)
98
- thor (0.16.0)
190
+ sqlite3 (1.3.7)
191
+ thor (0.17.0)
99
192
  tilt (1.3.3)
100
193
  treetop (1.4.12)
101
194
  polyglot
@@ -107,9 +200,14 @@ PLATFORMS
107
200
 
108
201
  DEPENDENCIES
109
202
  bundler (>= 1.2.3)
203
+ debugger
110
204
  haml
111
205
  jeweler (~> 1.8.4)
206
+ metric_fu
207
+ no_notifier_needed!
112
208
  rails (>= 3.2.11)
209
+ rails-pry
113
210
  rdoc (~> 3.12)
114
211
  shoulda
115
212
  simplecov
213
+ sqlite3
data/README.css ADDED
File without changes
data/README.rdoc CHANGED
@@ -3,7 +3,7 @@
3
3
  Description goes here.
4
4
 
5
5
  == Contributing to no_notifier_needed
6
-
6
+
7
7
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
8
8
  * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
9
9
  * Fork the project.
@@ -14,6 +14,24 @@ Description goes here.
14
14
 
15
15
  == Copyright
16
16
 
17
- Copyright (c) 2013 Robert R. Meyer. See LICENSE.txt for
18
- further details.
17
+ Copyright (c) 2013 Robert R. Meyer.
18
+ Just Kidding. MIT-LICENCE
19
+
20
+ Permission is hereby granted, free of charge, to any person obtaining
21
+ a copy of this software and associated documentation files (the
22
+ "Software"), to deal in the Software without restriction, including
23
+ without limitation the rights to use, copy, modify, merge, publish,
24
+ distribute, sublicense, and/or sell copies of the Software, and to
25
+ permit persons to whom the Software is furnished to do so, subject to
26
+ the following conditions:
27
+
28
+ The above copyright notice and this permission notice shall be
29
+ included in all copies or substantial portions of the Software.
19
30
 
31
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
32
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
33
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
34
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
35
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
36
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
37
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile CHANGED
@@ -1,5 +1,48 @@
1
+ #!/usr/bin/env rake
1
2
  # encoding: utf-8
2
3
 
4
+ begin
5
+ require 'bundler/setup'
6
+ rescue LoadError
7
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
8
+ end
9
+
10
+ begin
11
+ require 'rdoc/task'
12
+ rescue LoadError
13
+ require 'rdoc/rdoc'
14
+ require 'rake/rdoctask'
15
+ RDoc::Task = Rake::RDocTask
16
+ end
17
+
18
+ require 'metric_fu'
19
+ MetricFu::Configuration.run do |config|
20
+ config.rcov[:rcov_opts] << "-Itest" # Needed to find test_helper
21
+ end
22
+
23
+ RDoc::Task.new(:rdoc) do |rdoc|
24
+ rdoc.rdoc_dir = 'rdoc'
25
+ rdoc.title = 'NoNotifierNeeded'
26
+ rdoc.options << '--line-numbers'
27
+ rdoc.rdoc_files.include('README.rdoc')
28
+ rdoc.rdoc_files.include('lib/**/*.rb')
29
+ end
30
+
31
+ Bundler::GemHelper.install_tasks
32
+
33
+ require 'rake/testtask'
34
+
35
+ Rake::TestTask.new(:test) do |t|
36
+ t.libs << 'lib'
37
+ t.libs << 'test'
38
+ t.pattern = 'test/**/test_*.rb'
39
+ t.verbose = true
40
+ end
41
+
42
+ task :default => :test
43
+
44
+ =begin
45
+
3
46
  require 'rubygems'
4
47
  require 'bundler'
5
48
  begin
@@ -10,6 +53,7 @@ rescue Bundler::BundlerError => e
10
53
  exit e.status_code
11
54
  end
12
55
  require 'rake'
56
+ =end
13
57
 
14
58
  require 'jeweler'
15
59
  Jeweler::Tasks.new do |gem|
@@ -23,6 +67,7 @@ Jeweler::Tasks.new do |gem|
23
67
  gem.authors = ["Robert R. Meyer"]
24
68
  # dependencies defined in Gemfile
25
69
  end
70
+
26
71
  Jeweler::RubygemsDotOrgTasks.new
27
72
 
28
73
  require 'rake/testtask'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.10
1
+ 1.0.0
@@ -0,0 +1,53 @@
1
+ class Notifier < ActionMailer::Base
2
+ # helper :application, :notifier
3
+
4
+ #Includes to Help with Rendering
5
+ include Rails.application.routes.url_helpers # brings ActionDispatch::Routing::UrlFor
6
+ include ActionView::Helpers::UrlHelper
7
+ include ActionView::Helpers::TextHelper
8
+ include ActionView::Helpers::TagHelper
9
+
10
+ include NoNotifierNeeded::Render
11
+ include NoNotifierNeeded::Translate
12
+ extend NoNotifierNeeded::Send
13
+
14
+ def mcp(email_name, args)
15
+ @template = EmailTemplate.find_by_name(email_name)
16
+ raise "Email Template name not found" if @template.nil?
17
+
18
+ args_to_instance_vars(args)
19
+
20
+ send_hash = get_send_hash(@template)
21
+ mail_is = mail(send_hash) do|format|
22
+ format.html { render :inline => render_template_body_type(@template) }
23
+ end
24
+
25
+ return mail_is
26
+ end
27
+
28
+ def url_for(destination)
29
+ unless destination.is_a?(Hash) || destination.match(/_path/i)
30
+ raise ArgumentError.new(" must pass something that ends with a _path. #{destination} sent.")
31
+ end
32
+ to_send = "Rails.application.routes.url_helpers.#{destination}"
33
+ instance_eval to_send
34
+ end
35
+
36
+ def email_link_to(title, link)
37
+ return title if link.blank?
38
+ if link.match(/http:\/\/[\w*\.]*\//i)
39
+ root_link = link
40
+ else
41
+ splitter = NoNotifierNeeded.send(:host).split('/').last
42
+
43
+ link_broken = link.split(splitter).last
44
+ link_broken = link_broken.split('/').reject{|e| e.blank?}.join('/')
45
+ if NoNotifierNeeded.send(:host).last == "/"
46
+ root_link = NoNotifierNeeded.send(:host) + link_broken
47
+ else
48
+ root_link = NoNotifierNeeded.send(:host) + "/" + link_broken
49
+ end
50
+ end
51
+ "<a href='#{root_link}'>#{title}</a>"
52
+ end
53
+ end
@@ -4,6 +4,7 @@ require 'no_notifier_needed/render'
4
4
  require 'no_notifier_needed/sender'
5
5
  require "no_notifier_needed/url_helper"
6
6
  require 'no_notifier_needed/config'
7
+ require 'no_notifier_needed/railtie'
7
8
 
8
9
  module NoNotifierNeeded
9
10
  extend Config
@@ -25,10 +26,9 @@ module NoNotifierNeeded
25
26
  sender.send(method, *args, &block)
26
27
  end
27
28
 
28
- # Delegate to Instagram::Client
29
29
  def self.respond_to?(method)
30
30
  return sender.respond_to?(method) || super
31
31
  end
32
32
  end
33
33
 
34
- require 'no_notifier_needed/railtie.rb' if defined?(Rails)
34
+ #require 'no_notifier_needed/railtie.rb' if defined?(Rails)
@@ -1,16 +1,22 @@
1
1
  module NoNotifierNeeded
2
2
  class Railtie < Rails::Railtie
3
3
  initializer "Include code in controller" do
4
+ ActiveSupport.on_load(:active_record) do
5
+ require File.expand_path('../../../initializers/hotpatches/subclasses', __FILE__)
6
+ end
7
+
4
8
  ActiveSupport.on_load(:action_controller) do
9
+ require File.expand_path('../../../initializers/notifier', __FILE__)
5
10
 
6
- #TODO
7
11
  #Pass defaults to allow for this to work
8
- #::ActionMailer::Base.send(:include, ActionView::Helpers::)
9
- NoNotifierNeeded::Send.send(:include, Rails.application.routes.url_helpers) # brings ActionDispatch::Routing::UrlFor
10
- NoNotifierNeeded::Send.send(:include, ActionView::Helpers::UrlHelper)
11
- NoNotifierNeeded::Send.send(:include, ActionView::Helpers::TextHelper)
12
- NoNotifierNeeded::Send.send(:include, ActionView::Helpers::TagHelper)
12
+ Notifier.send(:include, Rails.application.routes.url_helpers) # brings ActionDispatch::Routing::UrlFor
13
+ Notifier.send(:include, ActionView::Helpers::UrlHelper)
14
+ Notifier.send(:include, ActionView::Helpers::TextHelper)
15
+ Notifier.send(:include, ActionView::Helpers::TagHelper)
13
16
 
17
+ Notifier.send(:include, NoNotifierNeeded::Render)
18
+ Notifier.send(:include, NoNotifierNeeded::Translate)
19
+ Notifier.send(:extend, NoNotifierNeeded::Send)
14
20
  end
15
21
  end
16
22
  end
@@ -0,0 +1,3 @@
1
+ module NoNotifierNeeded
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :no_notifier_needed do
3
+ # # Task goes here
4
+ # end
@@ -5,16 +5,15 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "no_notifier_needed"
8
- s.version = "0.1.10"
8
+ s.version = "1.0.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Robert R. Meyer"]
12
- s.date = "2013-01-25"
12
+ s.date = "2013-01-27"
13
13
  s.description = "A work in progress"
14
14
  s.email = "Blue.Dog.Archolite@gmail.com"
15
15
  s.extra_rdoc_files = [
16
- "LICENSE.txt",
17
- "README.md",
16
+ "README.css",
18
17
  "README.rdoc"
19
18
  ]
20
19
  s.files = [
@@ -22,12 +21,12 @@ Gem::Specification.new do |s|
22
21
  ".rvmrc",
23
22
  "Gemfile",
24
23
  "Gemfile.lock",
25
- "LICENSE.txt",
26
- "README.md",
24
+ "README.css",
27
25
  "README.rdoc",
28
26
  "Rakefile",
29
27
  "VERSION",
30
- "initializers/hotpatches/subclasses.rb.template",
28
+ "initializers/hotpatches/subclasses.rb",
29
+ "initializers/notifier.rb",
31
30
  "lib/no_notifier_needed.rb",
32
31
  "lib/no_notifier_needed/config.rb",
33
32
  "lib/no_notifier_needed/railtie.rb",
@@ -36,8 +35,46 @@ Gem::Specification.new do |s|
36
35
  "lib/no_notifier_needed/sender.rb",
37
36
  "lib/no_notifier_needed/translate.rb",
38
37
  "lib/no_notifier_needed/url_helper.rb",
38
+ "lib/no_notifier_needed/version.rb",
39
+ "lib/tasks/no_notifier_needed_tasks.rake",
39
40
  "no_notifier_needed.gemspec",
40
- "test/helper.rb",
41
+ "test/dummy/README.rdoc",
42
+ "test/dummy/Rakefile",
43
+ "test/dummy/app/assets/javascripts/application.js",
44
+ "test/dummy/app/assets/stylesheets/application.css",
45
+ "test/dummy/app/controllers/application_controller.rb",
46
+ "test/dummy/app/helpers/application_helper.rb",
47
+ "test/dummy/app/mailers/.gitkeep",
48
+ "test/dummy/app/models/.gitkeep",
49
+ "test/dummy/app/models/email_template.rb",
50
+ "test/dummy/app/views/layouts/application.html.erb",
51
+ "test/dummy/config.ru",
52
+ "test/dummy/config/application.rb",
53
+ "test/dummy/config/boot.rb",
54
+ "test/dummy/config/database.yml",
55
+ "test/dummy/config/environment.rb",
56
+ "test/dummy/config/environments/development.rb",
57
+ "test/dummy/config/environments/production.rb",
58
+ "test/dummy/config/environments/test.rb",
59
+ "test/dummy/config/initializers/backtrace_silencers.rb",
60
+ "test/dummy/config/initializers/inflections.rb",
61
+ "test/dummy/config/initializers/mime_types.rb",
62
+ "test/dummy/config/initializers/secret_token.rb",
63
+ "test/dummy/config/initializers/session_store.rb",
64
+ "test/dummy/config/initializers/wrap_parameters.rb",
65
+ "test/dummy/config/locales/en.yml",
66
+ "test/dummy/config/routes.rb",
67
+ "test/dummy/db/test.sqlite3",
68
+ "test/dummy/lib/assets/.gitkeep",
69
+ "test/dummy/log/.gitkeep",
70
+ "test/dummy/log/development.log",
71
+ "test/dummy/log/test.log",
72
+ "test/dummy/public/404.html",
73
+ "test/dummy/public/422.html",
74
+ "test/dummy/public/500.html",
75
+ "test/dummy/public/favicon.ico",
76
+ "test/dummy/script/rails",
77
+ "test/test_helper.rb",
41
78
  "test/test_no_notifier_needed.rb"
42
79
  ]
43
80
  s.homepage = "http://github.com/Blue-Dog-Archolit/no_notifier_needed"
@@ -52,6 +89,9 @@ Gem::Specification.new do |s|
52
89
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
53
90
  s.add_runtime_dependency(%q<haml>, [">= 0"])
54
91
  s.add_runtime_dependency(%q<rails>, [">= 3.2.11"])
92
+ s.add_runtime_dependency(%q<no_notifier_needed>, [">= 0"])
93
+ s.add_runtime_dependency(%q<metric_fu>, [">= 0"])
94
+ s.add_development_dependency(%q<rails-pry>, [">= 0"])
55
95
  s.add_development_dependency(%q<shoulda>, [">= 0"])
56
96
  s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
57
97
  s.add_development_dependency(%q<bundler>, [">= 1.2.3"])
@@ -60,6 +100,9 @@ Gem::Specification.new do |s|
60
100
  else
61
101
  s.add_dependency(%q<haml>, [">= 0"])
62
102
  s.add_dependency(%q<rails>, [">= 3.2.11"])
103
+ s.add_dependency(%q<no_notifier_needed>, [">= 0"])
104
+ s.add_dependency(%q<metric_fu>, [">= 0"])
105
+ s.add_dependency(%q<rails-pry>, [">= 0"])
63
106
  s.add_dependency(%q<shoulda>, [">= 0"])
64
107
  s.add_dependency(%q<rdoc>, ["~> 3.12"])
65
108
  s.add_dependency(%q<bundler>, [">= 1.2.3"])
@@ -69,6 +112,9 @@ Gem::Specification.new do |s|
69
112
  else
70
113
  s.add_dependency(%q<haml>, [">= 0"])
71
114
  s.add_dependency(%q<rails>, [">= 3.2.11"])
115
+ s.add_dependency(%q<no_notifier_needed>, [">= 0"])
116
+ s.add_dependency(%q<metric_fu>, [">= 0"])
117
+ s.add_dependency(%q<rails-pry>, [">= 0"])
72
118
  s.add_dependency(%q<shoulda>, [">= 0"])
73
119
  s.add_dependency(%q<rdoc>, ["~> 3.12"])
74
120
  s.add_dependency(%q<bundler>, [">= 1.2.3"])