dailycred 0.1.44 → 0.1.45
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/Rakefile +21 -19
- data/lib/dailycred/version.rb +1 -1
- data/lib/generators/dailycred_generator.rb +1 -3
- metadata +3 -8
data/Rakefile
CHANGED
|
@@ -11,22 +11,24 @@ RSpec::Core::RakeTask.new do |t|
|
|
|
11
11
|
# Put spec opts in a file named .rspec in root
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
14
|
+
# desc 'docs'
|
|
15
|
+
# begin
|
|
16
|
+
# require 'rocco'
|
|
17
|
+
# require 'rocco/tasks'
|
|
18
|
+
# require 'fileutils'
|
|
19
|
+
# require 'maruku'
|
|
20
|
+
# Rocco::make 'docs/'
|
|
21
|
+
# FileUtils.cp_r "docs/lib/", "/Users/hank/rails/dailycred/public/docs/ruby/", :verbose => true
|
|
22
|
+
# md = ""
|
|
23
|
+
# File.open("README.md", "r") do |infile|
|
|
24
|
+
# while (line = infile.gets)
|
|
25
|
+
# md += line
|
|
26
|
+
# end
|
|
27
|
+
# end
|
|
28
|
+
# doc = Maruku.new(md)
|
|
29
|
+
# File.open("/Users/hank/rails/dailycred/app/views/tags/ruby.html", 'w') {|f| f.write doc.to_html}
|
|
30
|
+
# rescue LoadError
|
|
31
|
+
# warn "#$! -- rocco tasks not loaded."
|
|
32
|
+
# task :rocco
|
|
33
|
+
# end
|
|
34
|
+
# end
|
data/lib/dailycred/version.rb
CHANGED
|
@@ -34,9 +34,7 @@ class DailycredGenerator < Rails::Generators::Base
|
|
|
34
34
|
# copy initializer
|
|
35
35
|
template "omniauth.rb", "config/initializers/omniauth.rb"
|
|
36
36
|
# get client info from login if they didnt specify info
|
|
37
|
-
|
|
38
|
-
get_info
|
|
39
|
-
end
|
|
37
|
+
puts "Please manually configure your API keys in config/initializers/omniauth.rb"
|
|
40
38
|
# application controller
|
|
41
39
|
insert_into_file "app/controllers/application_controller.rb", APP_CONTROLLER_LINES, :after => /class ApplicationController\n|class ApplicationController .*\n/
|
|
42
40
|
# add user_model
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dailycred
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.45
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-12-03 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: omniauth
|
|
@@ -187,18 +187,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
187
187
|
- - ! '>='
|
|
188
188
|
- !ruby/object:Gem::Version
|
|
189
189
|
version: '0'
|
|
190
|
-
segments:
|
|
191
|
-
- 0
|
|
192
|
-
hash: -2218078401152157890
|
|
193
190
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
191
|
none: false
|
|
195
192
|
requirements:
|
|
196
193
|
- - ! '>='
|
|
197
194
|
- !ruby/object:Gem::Version
|
|
198
195
|
version: '0'
|
|
199
|
-
segments:
|
|
200
|
-
- 0
|
|
201
|
-
hash: -2218078401152157890
|
|
202
196
|
requirements: []
|
|
203
197
|
rubyforge_project:
|
|
204
198
|
rubygems_version: 1.8.24
|
|
@@ -212,3 +206,4 @@ test_files:
|
|
|
212
206
|
- spec/support/shared_examples.rb
|
|
213
207
|
- test/generator_test.rb
|
|
214
208
|
- test/test_helper.rb
|
|
209
|
+
has_rdoc:
|