codeleaf 0.0.2 → 0.0.3

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.
@@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
12
12
  gem.summary = %q{Contains basic helper methods and partials that are commonly used in webprojects, which will speed up development.}
13
13
  gem.homepage = "http://www.codeleaf.se"
14
14
 
15
- gem.add_dependency('active_support', '>= 0')
15
+ gem.add_development_dependency('active_support')
16
16
 
17
17
  gem.files = `git ls-files`.split($/)
18
18
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -1,7 +1,3 @@
1
- ActiveSupport.on_load(:action_view) do
2
- include Codeleaf::DummyContentHelper
3
- end
4
-
5
1
  module Codeleaf
6
2
  module DummyContentHelper
7
3
  def placeholder_img(width = 100, height = 100, color = "", kitten = false)
@@ -18,4 +14,9 @@ module Codeleaf
18
14
  end
19
15
  end
20
16
  end
17
+ end
18
+
19
+
20
+ ActiveSupport.on_load(:action_view) do
21
+ include Codeleaf::DummyContentHelper
21
22
  end
@@ -1,3 +1,3 @@
1
1
  module Codeleaf
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codeleaf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -19,7 +19,7 @@ dependencies:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
21
  version: '0'
22
- type: :runtime
22
+ type: :development
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  none: false