dailycred 0.1.44 → 0.1.45

Sign up to get free protection for your applications and to get access to all the features.
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
- begin
15
- require 'rocco'
16
- require 'rocco/tasks'
17
- require 'fileutils'
18
- require 'maruku'
19
- Rocco::make 'docs/'
20
- FileUtils.cp_r "docs/lib/", "/Users/hank/rails/dailycred/public/docs/ruby/", :verbose => true
21
- md = ""
22
- File.open("README.md", "r") do |infile|
23
- while (line = infile.gets)
24
- md += line
25
- end
26
- end
27
- doc = Maruku.new(md)
28
- File.open("/Users/hank/rails/dailycred/app/views/tags/ruby.html", 'w') {|f| f.write doc.to_html}
29
- rescue LoadError
30
- warn "#$! -- rocco tasks not loaded."
31
- task :rocco
32
- end
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
@@ -1,3 +1,3 @@
1
1
  module Dailycred
2
- VERSION = "0.1.44"
2
+ VERSION = "0.1.45"
3
3
  end
@@ -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
- if @client_id == CLIENT_ID_DEFAULT
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.44
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-11-08 00:00:00.000000000 Z
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: