adcopy 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.
Files changed (6) hide show
  1. data/.gitignore +2 -1
  2. data/VERSION +1 -1
  3. data/adcopy.gemspec +1 -1
  4. data/init.rb +1 -10
  5. data/lib/adcopy.rb +8 -0
  6. metadata +1 -1
data/.gitignore CHANGED
@@ -1 +1,2 @@
1
- doc
1
+ doc
2
+ pkg
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
data/adcopy.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{adcopy}
8
- s.version = "0.0.1"
8
+ s.version = "0.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Eddie Siegel"]
data/init.rb CHANGED
@@ -1,10 +1 @@
1
- # Include hook code here
2
- require 'adcopy'
3
-
4
- class ActionView::Base
5
- include AdCopy::ViewMethods
6
- end
7
-
8
- class ActionController::Base
9
- include AdCopy::ControllerMethods
10
- end
1
+ require 'adcopy'
data/lib/adcopy.rb CHANGED
@@ -17,4 +17,12 @@ module AdCopy
17
17
  raise AdCopyError, "AdCopy API keys not found. Keys can be obtained at #{SIGNUP_URL}"
18
18
  end
19
19
  end
20
+ end
21
+
22
+ class ActionView::Base
23
+ include AdCopy::ViewMethods
24
+ end
25
+
26
+ class ActionController::Base
27
+ include AdCopy::ControllerMethods
20
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adcopy
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
  - Eddie Siegel