adcopy 0.0.0 → 0.0.1
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.
- data/README.rdoc +3 -1
- data/VERSION +1 -1
- data/adcopy.gemspec +52 -0
- data/generators/adcopy_config/USAGE +5 -0
- data/generators/adcopy_config/adcopy_config_generator.rb +7 -0
- data/generators/adcopy_config/templates/adcopy_config.yml +3 -0
- data/install.rb +2 -2
- metadata +6 -3
- data/tasks/adcopy_tasks.rake +0 -17
data/README.rdoc
CHANGED
@@ -14,7 +14,9 @@ Currently AdCopy can only be installed as a rails plugin (gem coming soon):
|
|
14
14
|
|
15
15
|
Your AdCopy API keys should be stored in <tt>config/adcopy_config.yml</tt>, which can be generated by running
|
16
16
|
|
17
|
-
|
17
|
+
script/generate adcopy_config
|
18
|
+
|
19
|
+
Don't forget to edit the generated file to contain your API keys.
|
18
20
|
|
19
21
|
== Adding An AdCopy Puzzle To A View
|
20
22
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.1
|
data/adcopy.gemspec
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{adcopy}
|
8
|
+
s.version = "0.0.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Eddie Siegel"]
|
12
|
+
s.date = %q{2010-01-21}
|
13
|
+
s.description = %q{Simplifies the use of AdCopy puzzles within rails applications}
|
14
|
+
s.email = %q{atomon@gmail.com}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".gitignore",
|
21
|
+
"LICENSE",
|
22
|
+
"README.rdoc",
|
23
|
+
"Rakefile",
|
24
|
+
"VERSION",
|
25
|
+
"adcopy.gemspec",
|
26
|
+
"generators/adcopy_config/USAGE",
|
27
|
+
"generators/adcopy_config/adcopy_config_generator.rb",
|
28
|
+
"generators/adcopy_config/templates/adcopy_config.yml",
|
29
|
+
"init.rb",
|
30
|
+
"install.rb",
|
31
|
+
"lib/adcopy.rb",
|
32
|
+
"lib/controller_methods.rb",
|
33
|
+
"lib/view_methods.rb",
|
34
|
+
"uninstall.rb"
|
35
|
+
]
|
36
|
+
s.homepage = %q{http://github.com/atomon/adcopy}
|
37
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
38
|
+
s.require_paths = ["lib"]
|
39
|
+
s.rubygems_version = %q{1.3.5}
|
40
|
+
s.summary = %q{Simplifies the use of AdCopy puzzles within rails applications}
|
41
|
+
|
42
|
+
if s.respond_to? :specification_version then
|
43
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
44
|
+
s.specification_version = 3
|
45
|
+
|
46
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
47
|
+
else
|
48
|
+
end
|
49
|
+
else
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
data/install.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
puts ""
|
2
|
-
puts "Run '
|
3
|
-
puts "Don't forget to add your API keys to adcopy_config.yml"
|
2
|
+
puts "Run 'script/generate adcopy_config' to generate adcopy_config.yml"
|
3
|
+
puts "Don't forget to add your API keys to config/adcopy_config.yml"
|
4
4
|
puts ""
|
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.
|
4
|
+
version: 0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eddie Siegel
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-01-
|
12
|
+
date: 2010-01-21 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -28,12 +28,15 @@ files:
|
|
28
28
|
- README.rdoc
|
29
29
|
- Rakefile
|
30
30
|
- VERSION
|
31
|
+
- adcopy.gemspec
|
32
|
+
- generators/adcopy_config/USAGE
|
33
|
+
- generators/adcopy_config/adcopy_config_generator.rb
|
34
|
+
- generators/adcopy_config/templates/adcopy_config.yml
|
31
35
|
- init.rb
|
32
36
|
- install.rb
|
33
37
|
- lib/adcopy.rb
|
34
38
|
- lib/controller_methods.rb
|
35
39
|
- lib/view_methods.rb
|
36
|
-
- tasks/adcopy_tasks.rake
|
37
40
|
- uninstall.rb
|
38
41
|
has_rdoc: true
|
39
42
|
homepage: http://github.com/atomon/adcopy
|
data/tasks/adcopy_tasks.rake
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
namespace :adcopy do
|
2
|
-
desc "Creates YAML file for API keys"
|
3
|
-
task :setup do
|
4
|
-
file_loc = "#{RAILS_ROOT}/config/adcopy_config.yml"
|
5
|
-
|
6
|
-
if File.exist?(file_loc)
|
7
|
-
puts "#{file_loc} exists. Nothing to do."
|
8
|
-
else
|
9
|
-
puts "Creating #{file_loc}"
|
10
|
-
file = File.new(file_loc, 'w')
|
11
|
-
file.puts "C_KEY: your_c_key_here"
|
12
|
-
file.puts "V_KEY: your_V_key_here"
|
13
|
-
file.puts "H_KEY: your_H_key_here"
|
14
|
-
puts "Don't forget to put your own API keys in adcopy_config.yml"
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|