happy_seed 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 (34) hide show
  1. checksums.yaml +4 -4
  2. data/happy_seed.rb +24 -6
  3. data/lib/generators/happy_seed/admin/admin_generator.rb +28 -0
  4. data/lib/generators/happy_seed/admin/templates/docs/README.07.admin.rdoc +22 -0
  5. data/lib/generators/happy_seed/angular_install/angular_install_generator.rb +30 -0
  6. data/lib/generators/happy_seed/angular_install/templates/app/assets/javascripts/angular_app.js.coffee.erb +39 -0
  7. data/lib/generators/happy_seed/angular_install/templates/app/controllers/angular_controller.rb +4 -0
  8. data/lib/generators/happy_seed/angular_install/templates/app/views/angular/index.html +1 -0
  9. data/lib/generators/happy_seed/angular_install/templates/app/views/layouts/angular.html.haml +16 -0
  10. data/lib/generators/happy_seed/angular_install/templates/docs/README.10.angular_install.rdoc +26 -0
  11. data/lib/generators/happy_seed/angular_view/angular_view_generator.rb +15 -0
  12. data/lib/generators/happy_seed/angular_view/templates/app/assets/javascripts/controllers/controller.js.coffee +5 -0
  13. data/lib/generators/happy_seed/angular_view/templates/app/assets/templates/view.html +7 -0
  14. data/lib/generators/happy_seed/angular_view/templates/docs/README.11.angular_view.rdoc +24 -0
  15. data/lib/generators/happy_seed/bootstrap/bootstrap_generator.rb +1 -0
  16. data/lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/{application/index.css.scss → application.css.scss} +0 -0
  17. data/lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/{application/variables.css.scss → variables.css.scss} +0 -0
  18. data/lib/generators/happy_seed/bootstrap/templates/docs/README.01.bootstrap.rdoc +1 -1
  19. data/lib/generators/happy_seed/devise/devise_generator.rb +1 -1
  20. data/lib/generators/happy_seed/omniauth/omniauth_generator.rb +15 -4
  21. data/lib/generators/happy_seed/omniauth/templates/add_name_to_users.rb +5 -0
  22. data/lib/generators/happy_seed/omniauth/templates/app/controllers/users_controller.rb +31 -0
  23. data/lib/generators/happy_seed/omniauth/templates/app/views/users/finish_signup.html.haml +26 -0
  24. data/lib/generators/happy_seed/omniauth/templates/app/views/users/show.html.haml +5 -0
  25. data/lib/generators/happy_seed/omniauth/templates/user.rb +3 -1
  26. data/lib/happy_seed/version.rb +1 -1
  27. metadata +20 -13
  28. data/lib/generators/happy_seed/.DS_Store +0 -0
  29. data/lib/generators/happy_seed/bootstrap/templates/lib/templates/rails/.DS_Store +0 -0
  30. data/lib/generators/happy_seed/foreman/templates/app/controllers/.DS_Store +0 -0
  31. data/lib/generators/happy_seed/twitter/.DS_Store +0 -0
  32. data/lib/generators/seed/bootstrap/templates/lib/templates/rails/.DS_Store +0 -0
  33. data/test/dummy/db/test.sqlite3 +0 -0
  34. data/test/dummy/log/test.log +0 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c649d741ca69ce898a76ec5c40db6468dfcf79f4
4
- data.tar.gz: 54628084f1500db87ba92088d38da4f735607bad
3
+ metadata.gz: 0356fff48d4ef198927e5aea758414e58f871b4b
4
+ data.tar.gz: a1d6052898c3b3259f4f8151da5fa8ff1e41a5c3
5
5
  SHA512:
6
- metadata.gz: dfa39ba5c3e063d12a083238113502803a641c6af935bbdc72f61d02a8ec611fcc33d75b514cc52506a29bae140978da0e41b976b6aa7b245c7fede95dfc7edb
7
- data.tar.gz: 95a4f08dbff007c8c50e87ce105b6219b261a03f95b6fa1f2e92f206237905defb54a42b80feb137ce82e440d08a394592b7baa162dae2be35b9b8a7e4862254
6
+ metadata.gz: 7f4ae41c394b4c07765a9bd5bffcc15c5165a891a492e8525da21a5e564f7ed2a4f220a62a2cb6020e61465349957515e31badf223c593ca009bade5302d0447
7
+ data.tar.gz: 8306f7f18e5e21234b03ffab54098ba4dfffb37d89bd4eb22e65edfd239c033d17cf53a85a04d0905dd4317d147839850272147dac32ee38d78674d96483710e
data/happy_seed.rb CHANGED
@@ -16,30 +16,48 @@ gsub_file "app/assets/javascripts/application.js", /= require turbolinks/, "requ
16
16
  # Run the base generator
17
17
  generate "happy_seed:foreman"
18
18
 
19
- if yes? "Would you like to install bootstrap?"
19
+ all_in = false
20
+ all_in = true if yes? "Would you like to install everything?"
21
+
22
+ packages = []
23
+
24
+ if all_in || yes?( "Would you like to install bootstrap?" )
20
25
  generate "happy_seed:bootstrap"
26
+ packages << "bootstrap"
21
27
 
22
- if yes? "Would you like to install splash page?"
28
+ if all_in || yes?( "Would you like to install splash page?" )
23
29
  generate "happy_seed:splash"
30
+ packages << "splash"
24
31
  end
25
32
  end
26
33
 
27
- if yes? "Would you like to install devise?"
34
+ if all_in || yes?( "Would you like to install devise?" )
28
35
  generate "happy_seed:devise"
36
+ packages << "devise"
29
37
 
30
- if yes? "Would you like to install twitter?"
38
+ if all_in || yes?( "Would you like to install twitter?" )
31
39
  generate "happy_seed:twitter"
40
+ packages << "twitter"
32
41
  end
33
42
 
34
- if yes? "Would you like to install facebook connect?"
43
+ if all_in || yes?( "Would you like to install facebook connect?" )
35
44
  generate "happy_seed:facebook"
45
+ packages << "facebook"
36
46
  end
37
47
  end
38
48
 
39
- if yes? "Would you like to install active admin?"
49
+ if all_in || yes?( "Would you like to install active admin?" )
40
50
  generate "happy_seed:admin"
51
+ packages << "admin"
52
+ end
53
+
54
+ if yes?( "You would like to install angular?" )
55
+ generate "happy_seed:angular_install"
56
+ packages << "angular"
41
57
  end
42
58
 
43
59
  puts "Setting up git"
44
60
  git :init
61
+ git add: "."
62
+ git commit: "-a -m 'Based off of happy_seed: #{packages.join( ', ')} included'"
45
63
 
@@ -0,0 +1,28 @@
1
+ module HappySeed
2
+ module Generators
3
+ class AdminGenerator < Rails::Generators::Base
4
+ source_root File.expand_path('../templates', __FILE__)
5
+
6
+ def install_landing_page
7
+ gem 'activeadmin', github: 'gregbell/active_admin'
8
+
9
+ Bundler.with_clean_env do
10
+ run "bundle install"
11
+ end
12
+
13
+ generate 'active_admin:install'
14
+ generate 'active_admin:resource User'
15
+ directory "docs"
16
+ end
17
+
18
+ private
19
+ def gem_available?(name)
20
+ Gem::Specification.find_by_name(name)
21
+ rescue Gem::LoadError
22
+ false
23
+ rescue
24
+ Gem.available?(name)
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,22 @@
1
+ HappySeed ActiveAdmin Install
2
+ =============================
3
+
4
+ ### What does this do?
5
+
6
+ The happy_seed bootstrap generator
7
+
8
+ * Installs active admin from git
9
+ * Runs the active_admin:install generator
10
+ * Creates AdminUser model
11
+
12
+ ### Why do you want this?
13
+
14
+ ActiveAdmin, for all of it's flaws, including out of date documentation, is a nice way to put a back-end on an application.
15
+
16
+ ### Environment Variables
17
+
18
+ na
19
+
20
+ ### What needs to be done?
21
+
22
+ Add models to the dashboard.
@@ -0,0 +1,30 @@
1
+ module HappySeed
2
+ module Generators
3
+ class AngularInstallGenerator < Rails::Generators::Base
4
+ source_root File.expand_path('../templates', __FILE__)
5
+
6
+ def install_angular
7
+ gem 'angularjs-rails'
8
+
9
+ Bundler.with_clean_env do
10
+ run "bundle install"
11
+ end
12
+
13
+ directory "app"
14
+ directory "docs"
15
+ append_to_file 'app/assets/javascripts/application.js', <<-'JS'
16
+
17
+ //= require angular
18
+ //= require angular-animate
19
+ //= require angular-resource
20
+ //= require angular-route
21
+ //= require angular_app
22
+ //= require_tree ./controllers
23
+ JS
24
+ gsub_file "config/routes.rb", /\s*root.*\n/, "\n"
25
+ route "root 'angular#index'"
26
+ generate 'happy_seed:angular_view landing'
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,39 @@
1
+ console.log "Initializing Angular App"
2
+ app = angular.module( "HappySeed", ["ngResource", "ngRoute"])
3
+
4
+ app.config(["$httpProvider", (p) ->
5
+ m = document.getElementsByTagName('meta')
6
+ for i in m
7
+ p.defaults.headers.common['X-CSRF-Token'] = i.content if i.name == 'csrf-token'
8
+ ])
9
+
10
+ app.config(['$routeProvider', ($routeProvider) ->
11
+ $routeProvider.
12
+ otherwise({redirectTo: '/landing'});
13
+ ])
14
+
15
+
16
+ safeApply = (scope, fn) ->
17
+ if( scope.$$phase || scope.$root.$$phase )
18
+ fn()
19
+ else
20
+ scope.$apply(fn)
21
+
22
+ app.directive 'onEsc', ->
23
+ link: (scope, elm, attr) ->
24
+ elm.bind 'keydown', (e)->
25
+ if( e.keyCode == 27 )
26
+ scope.$apply attr.onEsc
27
+
28
+ app.directive 'onEnter', ->
29
+ link: (scope, elm, attr) ->
30
+ elm.bind 'keydown', (e) ->
31
+ if( e.keyCode == 13 )
32
+ scope.$apply attr.onEnter
33
+
34
+ app.directive 'onTab', ->
35
+ link: (scope, elm, attr) ->
36
+ elm.bind 'keydown', (e) ->
37
+ if( e.keyCode == 9 )
38
+ e.preventDefault()
39
+ scope.$apply attr.onTab
@@ -0,0 +1,4 @@
1
+ class AngularController < ApplicationController
2
+ def index
3
+ end
4
+ end
@@ -0,0 +1,16 @@
1
+ !!! 5
2
+ %html.no-js
3
+ = render 'head'
4
+
5
+ %body{ :class => "#{ controller.controller_name }", "ng-app" => "HappySeed"}
6
+ = render 'chromeframe'
7
+ .container
8
+ = render 'header'
9
+ = render 'flashes'
10
+
11
+ = yield
12
+
13
+ = render 'footer'
14
+
15
+ -# Javascript at the bottom for fast page loading
16
+ = render 'javascripts'
@@ -0,0 +1,26 @@
1
+ HappySeed Angular Install
2
+ =========================
3
+
4
+ ### What does this do?
5
+
6
+ The happy_seed angular generator
7
+
8
+ * Installs angularjs-rails
9
+ * Updates application.js to include angular stuff
10
+ * Creates a structure in app/assets for templates and angular controllers
11
+ * Installs angular_controller.rb, a new angular layout
12
+ * Creates a sample landing view
13
+
14
+ ### Why do you want this?
15
+
16
+ Getting angular to work in rails is a pain, especially when working around the asset pipeline. Figuring out how to get the controller views to be served correctly is just a hassle, and this gives a model for doing that as well as dealing with forgery.
17
+
18
+ The philosophy here is that all of the angular html templates are stored out of the assets/templates directory.
19
+
20
+ ### Environment Variables
21
+
22
+ na
23
+
24
+ ### What needs to be done?
25
+
26
+ na
@@ -0,0 +1,15 @@
1
+ module HappySeed
2
+ module Generators
3
+ class AngularViewGenerator < Rails::Generators::NamedBase
4
+ source_root File.expand_path('../templates', __FILE__)
5
+
6
+ def install_view_page
7
+ template "app/assets/javascripts/controllers/controller.js.coffee", "app/assets/javascripts/controllers/#{file_name}.js.coffee"
8
+ template "app/assets/templates/view.html", "app/assets/templates/#{file_name}.html"
9
+ insert_into_file "app/assets/javascripts/angular_app.js.coffee.erb", " when('/#{file_name}', {templateUrl: '<%= asset_path('#{file_name}.html' )%>', controller: '#{class_name}Ctrl'}).
10
+ \n", :before => /\s*otherwise/
11
+ directory "docs"
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,5 @@
1
+ @<%= class_name %>Ctrl = ["$scope", "$http", "$location", ($scope, $http, $location) ->
2
+ $scope.loaded = true
3
+
4
+ $scope.message = "Hello from angular!"
5
+ ]
@@ -0,0 +1,7 @@
1
+ <div class="row">
2
+ <div class="col-sm-12">
3
+ Loaded: {{ loaded }}
4
+ <br>
5
+ Message: {{ message }}
6
+ </div>
7
+ </div>
@@ -0,0 +1,24 @@
1
+ HappySeed Angular View Generator
2
+ ================================
3
+
4
+ ### What does this do?
5
+
6
+ The view generator adds
7
+
8
+ * An entry into angular_app.js.coffee.erb for your controller that asset pipeline savvy
9
+ * A base controller in apps/assets/javascripts/controllers
10
+ * A base template in app/assets/templates
11
+
12
+ ### Why do you want this?
13
+
14
+ Getting angular to work in rails is a pain, especially when working around the asset pipeline. Figuring out how to get the controller views to be served correctly is just a hassle, and this gives a model for doing that as well as dealing with forgery.
15
+
16
+ The philosophy here is that all of the angular html templates are stored out of the assets/templates directory.
17
+
18
+ ### Environment Variables
19
+
20
+ na
21
+
22
+ ### What needs to be done?
23
+
24
+ na
@@ -14,6 +14,7 @@ module HappySeed
14
14
  remove_file 'app/views/layouts/application.html.erb'
15
15
  remove_file 'app/assets/javascripts/application.js'
16
16
  remove_file 'app/helpers/application_helper.rb'
17
+ remove_file 'app/assets/stylesheets/application.css'
17
18
  directory 'app'
18
19
  directory 'lib'
19
20
  directory 'docs'
@@ -1,5 +1,5 @@
1
1
  HappySeed Bootstrap Install
2
- ======================
2
+ ===========================
3
3
 
4
4
  ### What does this do?
5
5
 
@@ -25,7 +25,7 @@ module HappySeed
25
25
  gsub_file 'app/views/application/_header.html.haml', "/ USER NAV", <<-'RUBY'
26
26
  %ul.nav.navbar-nav.navbar-right
27
27
  - if user_signed_in?
28
- %li= link_to 'Sign Out', user_session_path, :method=>:destroy
28
+ %li= link_to 'Sign Out', destroy_user_session_path, :method=>:delete
29
29
  - else
30
30
  / CONNECT
31
31
  %li= link_to 'Sign In', new_user_session_path
@@ -4,10 +4,10 @@ module HappySeed
4
4
  source_root File.expand_path('../templates', __FILE__)
5
5
 
6
6
  def install_omniauth
7
- if File.exists? 'app/models/identity.rb'
8
- puts "identity.rb already exists, skipping"
9
- return
10
- end
7
+ # if File.exists? 'app/models/identity.rb'
8
+ # puts "identity.rb already exists, skipping"
9
+ # return
10
+ # end
11
11
 
12
12
  unless gem_available?( "devise" )
13
13
  puts "The omniauth generator requires devise"
@@ -25,9 +25,20 @@ module HappySeed
25
25
  run "bundle install"
26
26
  end
27
27
 
28
+ generate 'migration add_name_to_users'
29
+
30
+ puts Rails.root
31
+
32
+ migration_file = (Dir.glob( File.join( Rails.root, "db/migrate/*add_name_to_users.rb" ) ).first || "").gsub( /.*db\/migrate/, "db/migrate" )
33
+ remove_file migration_file
34
+
35
+ copy_file "add_name_to_users.rb", migration_file
36
+
28
37
  generate 'model identity user:references provider:string uid:string'
29
38
  remove_file 'app/models/identity.rb'
30
39
  directory 'app'
40
+ route "match '/profile/:id/finish_signup' => 'users#finish_signup', via: [:get, :patch], :as => :finish_signup"
41
+ route "get '/account' => 'users#show', as: 'user'"
31
42
 
32
43
  gsub_file "app/models/user.rb", "devise :", "devise :omniauthable, :"
33
44
  insert_into_file "app/models/user.rb", File.read( find_in_source_paths( "user.rb" ) ), :before => "\nend\n"
@@ -0,0 +1,5 @@
1
+ class AddNameToUsers < ActiveRecord::Migration
2
+ def change
3
+ add_column :users, :name, :string
4
+ end
5
+ end
@@ -0,0 +1,31 @@
1
+ class UsersController < ApplicationController
2
+ before_action :set_user, :only => :finish_signup
3
+ before_filter :authenticate_user!, :except => :finish_signup
4
+
5
+ def show
6
+ @user = current_user
7
+ end
8
+
9
+ def finish_signup
10
+ if request.patch? && params[:user] #&& params[:user][:email]
11
+ if current_user.update(user_params)
12
+ # current_user.skip_reconfirmation!
13
+ sign_in(current_user, :bypass => true)
14
+ redirect_to current_user, notice: 'Your profile was successfully updated.'
15
+ else
16
+ @show_errors = true
17
+ end
18
+ end
19
+ end
20
+
21
+ private
22
+ def set_user
23
+ @user = User.find(params[:id])
24
+ end
25
+
26
+ def user_params
27
+ accessible = [ :name, :email ] # extend with your own params
28
+ accessible << [ :password, :password_confirmation ] unless params[:user][:password].blank?
29
+ params.require(:user).permit(accessible)
30
+ end
31
+ end
@@ -0,0 +1,26 @@
1
+ .container
2
+ .row
3
+ .col-lg-6.col-lg-offset-3.col-md-6.col-md-offset-3.col-sm-8.col-sm-offset-2
4
+ .panel.panel-default.only
5
+
6
+ .panel-heading
7
+ Add Email
8
+
9
+ .panel-body
10
+ = form_for(current_user, :as => 'user', :url => finish_signup_path(current_user), :html => { role: 'form'}) do |f|
11
+ - if @show_errors && current_user.errors.any?
12
+ #error_explanation
13
+ - current_user.errors.full_messages.each do |msg|
14
+ = msg
15
+ %br
16
+
17
+ .form-group
18
+ = f.label :email
19
+ .col-sm-9= f.text_field :email, :autofocus => true, :value => '', class: 'form-control input-lg', placeholder: 'Example: email@me.com'
20
+
21
+ %p.col-sm-9.help-block
22
+ Please confirm your email address. No spam.
23
+
24
+ .form-group
25
+ .col-lg-9.col-lg-offset-3
26
+ = f.submit "Continue", :class=>'btn btn-primary form-control'
@@ -0,0 +1,5 @@
1
+ = @user.email
2
+
3
+ %ul
4
+ - @user.identities.each do |i|
5
+ %li= link_to "Connected to #{i.provider}"
@@ -2,6 +2,8 @@
2
2
  TEMP_EMAIL_PREFIX = 'change@me'
3
3
  TEMP_EMAIL_REGEX = /\Achange@me/
4
4
 
5
+ has_many :identities
6
+
5
7
  # validates_format_of :email, :without => TEMP_EMAIL_REGEX, on: :update
6
8
 
7
9
  def self.find_for_oauth(auth, signed_in_resource = nil)
@@ -33,7 +35,7 @@
33
35
  email: email ? email : "#{TEMP_EMAIL_PREFIX}-#{auth.uid}-#{auth.provider}.com",
34
36
  password: Devise.friendly_token[0,20]
35
37
  )
36
- user.skip_confirmation!
38
+ # user.skip_confirmation!
37
39
  user.save!
38
40
  end
39
41
  end
@@ -1,3 +1,3 @@
1
1
  module HappySeed
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: happy_seed
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
  - Will Schenk
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-07-11 00:00:00.000000000 Z
12
+ date: 2014-07-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -52,11 +52,22 @@ files:
52
52
  - Rakefile
53
53
  - bin/happy_seed
54
54
  - happy_seed.rb
55
- - lib/generators/happy_seed/.DS_Store
55
+ - lib/generators/happy_seed/admin/admin_generator.rb
56
+ - lib/generators/happy_seed/admin/templates/docs/README.07.admin.rdoc
57
+ - lib/generators/happy_seed/angular_install/angular_install_generator.rb
58
+ - lib/generators/happy_seed/angular_install/templates/app/assets/javascripts/angular_app.js.coffee.erb
59
+ - lib/generators/happy_seed/angular_install/templates/app/controllers/angular_controller.rb
60
+ - lib/generators/happy_seed/angular_install/templates/app/views/angular/index.html
61
+ - lib/generators/happy_seed/angular_install/templates/app/views/layouts/angular.html.haml
62
+ - lib/generators/happy_seed/angular_install/templates/docs/README.10.angular_install.rdoc
63
+ - lib/generators/happy_seed/angular_view/angular_view_generator.rb
64
+ - lib/generators/happy_seed/angular_view/templates/app/assets/javascripts/controllers/controller.js.coffee
65
+ - lib/generators/happy_seed/angular_view/templates/app/assets/templates/view.html
66
+ - lib/generators/happy_seed/angular_view/templates/docs/README.11.angular_view.rdoc
56
67
  - lib/generators/happy_seed/bootstrap/bootstrap_generator.rb
57
68
  - lib/generators/happy_seed/bootstrap/templates/app/assets/javascripts/application.js
58
- - lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/application/index.css.scss
59
- - lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/application/variables.css.scss
69
+ - lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/application.css.scss
70
+ - lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/variables.css.scss
60
71
  - lib/generators/happy_seed/bootstrap/templates/app/helpers/application_helper.rb
61
72
  - lib/generators/happy_seed/bootstrap/templates/app/views/application/_chromeframe.html.haml
62
73
  - lib/generators/happy_seed/bootstrap/templates/app/views/application/_flashes.html.haml
@@ -72,7 +83,6 @@ files:
72
83
  - lib/generators/happy_seed/bootstrap/templates/lib/templates/haml/scaffold/index.html.haml
73
84
  - lib/generators/happy_seed/bootstrap/templates/lib/templates/haml/scaffold/new.html.haml
74
85
  - lib/generators/happy_seed/bootstrap/templates/lib/templates/haml/scaffold/show.html.haml
75
- - lib/generators/happy_seed/bootstrap/templates/lib/templates/rails/.DS_Store
76
86
  - lib/generators/happy_seed/bootstrap/templates/lib/templates/rails/scaffold_controller/controller.rb
77
87
  - lib/generators/happy_seed/devise/devise_generator.rb
78
88
  - lib/generators/happy_seed/devise/templates/app/views/devise/passwords/edit.html.haml
@@ -86,15 +96,18 @@ files:
86
96
  - lib/generators/happy_seed/foreman/templates/.env
87
97
  - lib/generators/happy_seed/foreman/templates/.foreman
88
98
  - lib/generators/happy_seed/foreman/templates/Procfile
89
- - lib/generators/happy_seed/foreman/templates/app/controllers/.DS_Store
90
99
  - lib/generators/happy_seed/foreman/templates/app/controllers/setup_controller.rb
91
100
  - lib/generators/happy_seed/foreman/templates/app/views/setup/index.html.haml
92
101
  - lib/generators/happy_seed/foreman/templates/application_controller.rb
93
102
  - lib/generators/happy_seed/foreman/templates/config/unicorn.rb
94
103
  - lib/generators/happy_seed/foreman/templates/docs/README.00.base.rdoc
95
104
  - lib/generators/happy_seed/omniauth/omniauth_generator.rb
105
+ - lib/generators/happy_seed/omniauth/templates/add_name_to_users.rb
96
106
  - lib/generators/happy_seed/omniauth/templates/app/controllers/omniauth_callbacks_controller.rb
107
+ - lib/generators/happy_seed/omniauth/templates/app/controllers/users_controller.rb
97
108
  - lib/generators/happy_seed/omniauth/templates/app/models/identity.rb
109
+ - lib/generators/happy_seed/omniauth/templates/app/views/users/finish_signup.html.haml
110
+ - lib/generators/happy_seed/omniauth/templates/app/views/users/show.html.haml
98
111
  - lib/generators/happy_seed/omniauth/templates/docs/README.04.omniauth.rdoc
99
112
  - lib/generators/happy_seed/omniauth/templates/user.rb
100
113
  - lib/generators/happy_seed/splash/splash_generator.rb
@@ -104,10 +117,8 @@ files:
104
117
  - lib/generators/happy_seed/splash/templates/app/views/splash/index.html.haml
105
118
  - lib/generators/happy_seed/splash/templates/app/views/splash/signup.js.erb
106
119
  - lib/generators/happy_seed/splash/templates/docs/README.02.splash.rdoc
107
- - lib/generators/happy_seed/twitter/.DS_Store
108
120
  - lib/generators/happy_seed/twitter/templates/docs/README.05.twitter.rdoc
109
121
  - lib/generators/happy_seed/twitter/twitter_generator.rb
110
- - lib/generators/seed/bootstrap/templates/lib/templates/rails/.DS_Store
111
122
  - lib/happy_seed.rb
112
123
  - lib/happy_seed/version.rb
113
124
  - lib/tasks/seed_tasks.rake
@@ -140,8 +151,6 @@ files:
140
151
  - test/dummy/config/locales/en.yml
141
152
  - test/dummy/config/routes.rb
142
153
  - test/dummy/config/secrets.yml
143
- - test/dummy/db/test.sqlite3
144
- - test/dummy/log/test.log
145
154
  - test/dummy/public/404.html
146
155
  - test/dummy/public/422.html
147
156
  - test/dummy/public/500.html
@@ -201,8 +210,6 @@ test_files:
201
210
  - test/dummy/config/routes.rb
202
211
  - test/dummy/config/secrets.yml
203
212
  - test/dummy/config.ru
204
- - test/dummy/db/test.sqlite3
205
- - test/dummy/log/test.log
206
213
  - test/dummy/public/404.html
207
214
  - test/dummy/public/422.html
208
215
  - test/dummy/public/500.html
Binary file
File without changes
@@ -1,10 +0,0 @@
1
-  (0.1ms) begin transaction
2
- --------------------
3
- HappySeedTest: test_truth
4
- --------------------
5
-  (0.0ms) rollback transaction
6
-  (0.1ms) begin transaction
7
- --------------------
8
- HappySeedTest: test_truth
9
- --------------------
10
-  (0.0ms) rollback transaction