happy_seed 0.0.15 → 0.0.16

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 (54) hide show
  1. checksums.yaml +4 -4
  2. data/happy_seed.rb +3 -1
  3. data/lib/generators/happy_seed/admin/admin_generator.rb +1 -1
  4. data/lib/generators/happy_seed/angular_install/angular_install_generator.rb +1 -1
  5. data/lib/generators/happy_seed/api/api_generator.rb +16 -13
  6. data/lib/generators/happy_seed/api/templates/app/controllers/api/v1/user_tokens_controller.rb +3 -1
  7. data/lib/generators/happy_seed/api/templates/spec/acceptance/api/v1/user_tokens_spec.rb +4 -0
  8. data/lib/generators/happy_seed/base/base_generator.rb +1 -1
  9. data/lib/generators/happy_seed/bootstrap/bootstrap_generator.rb +1 -1
  10. data/lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/application.scss +43 -0
  11. data/lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/components/_panel.scss +14 -0
  12. data/lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/globals/_fonts.scss +3 -0
  13. data/lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/globals/_mixins.scss +7 -0
  14. data/lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/{variables.css.scss → globals/_variables.scss} +4 -1
  15. data/lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/sections/_profile_page.scss +9 -0
  16. data/lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/shared/_buttons.scss +24 -0
  17. data/lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/shared/_grid.scss +14 -0
  18. data/lib/generators/happy_seed/devise/devise_generator.rb +1 -1
  19. data/lib/generators/happy_seed/devise_invitable/devise_invitable_generator.rb +1 -1
  20. data/lib/generators/happy_seed/facebook/facebook_generator.rb +1 -1
  21. data/lib/generators/happy_seed/github/github_generator.rb +1 -1
  22. data/lib/generators/happy_seed/googleoauth/googleoauth_generator.rb +1 -1
  23. data/lib/generators/happy_seed/instagram/instagram_generator.rb +1 -1
  24. data/lib/generators/happy_seed/jazz_hands/jazz_hands_generator.rb +1 -1
  25. data/lib/generators/happy_seed/omniauth/omniauth_generator.rb +1 -1
  26. data/lib/generators/happy_seed/splash/splash_generator.rb +2 -2
  27. data/lib/generators/happy_seed/splash/templates/app/controllers/splash_controller.rb +1 -1
  28. data/lib/generators/happy_seed/static/static_generator.rb +1 -1
  29. data/lib/generators/happy_seed/static/templates/Gemfile +2 -2
  30. data/lib/generators/happy_seed/static/templates/Gemfile.lock +158 -0
  31. data/lib/generators/happy_seed/static/templates/config.rb +2 -2
  32. data/lib/generators/happy_seed/static/templates/source/index.html.haml +6 -6
  33. data/lib/generators/happy_seed/static/templates/source/layouts/_main_header.haml +9 -14
  34. data/lib/generators/happy_seed/static/templates/source/stylesheets/application.css.scss +7 -1
  35. data/lib/generators/happy_seed/static_blog/templates/Gemfile +2 -2
  36. data/lib/generators/happy_seed/static_blog/templates/Gemfile.lock +49 -45
  37. data/lib/generators/happy_seed/static_blog/templates/source/stylesheets/application.css.scss +15 -3
  38. data/lib/generators/happy_seed/twitter/twitter_generator.rb +1 -1
  39. data/lib/happy_seed/version.rb +1 -1
  40. metadata +20 -28
  41. data/lib/.DS_Store +0 -0
  42. data/lib/generators/.DS_Store +0 -0
  43. data/lib/generators/happy_seed/.DS_Store +0 -0
  44. data/lib/generators/happy_seed/base/.DS_Store +0 -0
  45. data/lib/generators/happy_seed/base/templates/.DS_Store +0 -0
  46. data/lib/generators/happy_seed/base/templates/spec/.DS_Store +0 -0
  47. data/lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/application.css.scss +0 -19
  48. data/lib/generators/happy_seed/devise/templates/spec/.DS_Store +0 -0
  49. data/lib/generators/happy_seed/googleoauth/.DS_Store +0 -0
  50. data/lib/generators/happy_seed/googleoauth/templates/.DS_Store +0 -0
  51. data/lib/generators/happy_seed/omniauth/.DS_Store +0 -0
  52. data/lib/generators/happy_seed/twitter/templates/.DS_Store +0 -0
  53. data/test/dummy/db/test.sqlite3 +0 -0
  54. data/test/dummy/log/test.log +0 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c24745a37c137a7c5bbbf197b783f85a648c2bb
4
- data.tar.gz: d16da5cdce762fa346230941a7503a45dcffb363
3
+ metadata.gz: c7ef7ea1bc6b9e0dfddbc8f42c03cdf03a43a40d
4
+ data.tar.gz: 84a266a3e705dfcb617f2ce0bd716221068f862f
5
5
  SHA512:
6
- metadata.gz: 048e4f10faaf60e1ffad9acdc824e570164f41e1eca9f29778a6a5f560ab63c6e92a0ae610c647c031a6c5662bb8dece54241bf6c61f8ba08c84983177a000b9
7
- data.tar.gz: 18b760d9db4a4439b4d9e6ac33d6029a21ab4b7f0d750c73afdc3b865b0985b389ec74d8a25deedb1e64e6a67ce62ae143deb71ab6c1311a6074936b3e975673
6
+ metadata.gz: ac49c1eaf0031a4f3e82d606e1e71425797ddb325b83984b0d7ee21de3a2f1e911849e7c1364d64d1dbf3bb1aad688b653cd8f33db390f847ec1f2c0eee525fe
7
+ data.tar.gz: 5aedc6c9d70650e3c88b92750972a30d40636c3bbd2d8ab4f0c8567efaecef23b1a9e2beca5797ba61329bf94728b99171a3f390e3d779e4793066be8d704a02
@@ -1,3 +1,5 @@
1
+ require 'bundler'
2
+
1
3
  puts "Setting up basic template"
2
4
  puts
3
5
 
@@ -40,7 +42,7 @@ end
40
42
  packages = []
41
43
 
42
44
  Bundler.with_clean_env do
43
- run "bundle install > /dev/null"
45
+ run "bundle install --without production"
44
46
 
45
47
  gsub_file "app/assets/javascripts/application.js", /= require turbolinks/, "require turbolinks"
46
48
 
@@ -10,7 +10,7 @@ module HappySeed
10
10
  gem 'dateslices'
11
11
 
12
12
  Bundler.with_clean_env do
13
- run "bundle install > /dev/null"
13
+ run "bundle install --without production"
14
14
  end
15
15
 
16
16
  generate 'active_admin:install'
@@ -7,7 +7,7 @@ module HappySeed
7
7
  gem 'angularjs-rails'
8
8
 
9
9
  Bundler.with_clean_env do
10
- run "bundle install"
10
+ run "bundle install --without production"
11
11
  end
12
12
 
13
13
  directory "app"
@@ -4,10 +4,10 @@ module HappySeed
4
4
  source_root File.expand_path('../templates', __FILE__)
5
5
 
6
6
  def install_device_invitable
7
- unless gem_available?( "devise" )
7
+ unless gem_available?("devise")
8
8
  puts "The api generator requires devise"
9
9
 
10
- if yes?( "Run happy_seed:devise now?" )
10
+ if yes?("Run happy_seed:devise now?")
11
11
  generate "happy_seed:devise"
12
12
  else
13
13
  exit
@@ -18,10 +18,10 @@ module HappySeed
18
18
  gem 'rspec_api_documentation', :groups => [:development, :test]
19
19
 
20
20
  Bundler.with_clean_env do
21
- run "bundle install > /dev/null"
21
+ run "bundle install --without production"
22
22
  end
23
23
 
24
- generate "model user_token user:belongs_to:index token installation_identifier:index push_token locked:boolean"
24
+ generate "model user_token user:belongs_to:index token installation_identifier:index push_token locked:boolean form_factor os"
25
25
  generate "migration add_user_tokens_count_to_users user_tokens_count:integer"
26
26
 
27
27
  directory '.'
@@ -44,10 +44,12 @@ module HappySeed
44
44
  "
45
45
  inject_into_class "app/models/user.rb", "User", " has_many :user_tokens, dependent: :destroy\n"
46
46
 
47
- gsub_file "app/models/user_token.rb", /belongs_to :user\n/," validates :user, presence: true
47
+ gsub_file "app/models/user_token.rb", /belongs_to :user\n/, " validates :user, presence: true
48
48
  validates :token, presence: true, uniqueness: {case_sensitive: false}
49
49
  validates :installation_identifier, presence: true, uniqueness: {case_sensitive: false, scope: %w(user_id)}
50
50
  validates :push_token, allow_blank: true, uniqueness: {case_sensitive: false}
51
+ validates :form_factor, allow_blank: true, inclusion: {in: %w(smartphone tablet10 tablet7 desktop)}
52
+ validates :os, allow_blank: true, inclusion: {in: %w(ios android bb wp7)}
51
53
 
52
54
  scope :with_push_token, -> { where.not push_token: nil }
53
55
 
@@ -77,20 +79,21 @@ end"
77
79
  append_to_file 'spec/factories/users.rb', "\nFactoryGirl.define do
78
80
  factory :user_with_token, parent: :user do
79
81
  after :build do |user, evaluator|
80
- user.user_tokens.build installation_identifier: Faker::Lorem.characters(10), push_token: Faker::Lorem.characters(10)
82
+ user.user_tokens.build installation_identifier: Faker::Lorem.characters(10), push_token: Faker::Lorem.characters(10),
83
+ form_factor: %w(smartphone tablet10 tablet7 desktop).sample, os: %w(ios android bb wp7).sample
81
84
  end
82
85
  end
83
86
  end"
84
87
  end
85
88
 
86
89
  private
87
- def gem_available?(name)
88
- Gem::Specification.find_by_name(name)
89
- rescue Gem::LoadError
90
- false
91
- rescue
92
- Gem.available?(name)
93
- end
90
+ def gem_available?(name)
91
+ Gem::Specification.find_by_name(name)
92
+ rescue Gem::LoadError
93
+ false
94
+ rescue
95
+ Gem.available?(name)
96
+ end
94
97
 
95
98
  end
96
99
  end
@@ -9,6 +9,8 @@ class Api::V1::UserTokensController < Api::V1::BaseController
9
9
  if user.active_for_authentication?
10
10
  user_token = user.user_tokens.where(installation_identifier: user_token_params[:installation_identifier]).first_or_initialize
11
11
  user_token.update push_token: user_token_params[:push_token]
12
+ user_token.update form_factor: user_token_params[:form_factor]
13
+ user_token.update os: user_token_params[:os]
12
14
  if user_token.persisted?
13
15
  format.json do
14
16
  render json: {user_token: user_token_hash(user_token, user: true)}, status: :ok
@@ -74,6 +76,6 @@ class Api::V1::UserTokensController < Api::V1::BaseController
74
76
  private
75
77
 
76
78
  def user_token_params
77
- params[:user_token].permit :email, :password, :installation_identifier, :push_token
79
+ params[:user_token].permit :email, :password, :installation_identifier, :push_token, :form_factor, :os
78
80
  end
79
81
  end
@@ -9,11 +9,15 @@ resource 'Token' do
9
9
  parameter :password, 'Password', required: true, scope: :user_token
10
10
  parameter :installation_identifier, 'Unique Installation Identifier', required: true, scope: :user_token
11
11
  parameter :push_token, 'Unique push token', required: true, scope: :user_token
12
+ parameter :form_factor, 'smartphone tablet10 tablet7 desktop', required: true, scope: :user_token
13
+ parameter :os, 'ios android bb wp7', required: true, scope: :user_token
12
14
 
13
15
  let(:email) { user.email }
14
16
  let(:password) { user.password }
15
17
  let(:installation_identifier) { Faker::Lorem.characters 10 }
16
18
  let(:push_token) { Faker::Lorem.characters 10 }
19
+ let(:form_factor) { %w(smartphone tablet10 tablet7 desktop).sample }
20
+ let(:os) { %w(ios android bb wp7).sample }
17
21
 
18
22
  example_request 'sign in' do
19
23
  response_json = JSON.parse response_body
@@ -11,7 +11,7 @@ module HappySeed
11
11
  gem 'rails_12factor'
12
12
 
13
13
  Bundler.with_clean_env do
14
- run "bundle install > /dev/null"
14
+ run "bundle install --without production"
15
15
  end
16
16
 
17
17
  directory '.'
@@ -13,7 +13,7 @@ module HappySeed
13
13
  gem 'bh'
14
14
 
15
15
  Bundler.with_clean_env do
16
- run "bundle install > /dev/null"
16
+ run "bundle install --without production"
17
17
  end
18
18
 
19
19
  remove_file 'app/views/layouts/application.html.erb'
@@ -0,0 +1,43 @@
1
+ // The organization of this CSS is heavily inspired by GitHub's CSS
2
+ // stylesheet guidelines.
3
+ //
4
+ // See: https://github.com/styleguide/css
5
+ // See also: https://medium.com/@fat/mediums-css-is-actually-pretty-fucking-good-b8e2a6c78b06
6
+ //
7
+ // See Bootstrap's CSS at:
8
+ // https://github.com/twbs/bootstrap-sass/tree/master/assets/stylesheets/bootstrap
9
+ // or
10
+ // $ bundle show bootstrap-sass
11
+ //
12
+
13
+
14
+ // These both need to be imported before bootstrap:
15
+ @import 'globals/fonts';
16
+ @import 'globals/variables';
17
+
18
+
19
+ // --------------Bootstrap-----------------------------
20
+ @import 'bootstrap-sprockets';
21
+ @import 'bootstrap';
22
+
23
+
24
+ // --------------Global definitions--------------------
25
+ // For example (add your own!!):
26
+ @import 'globals/mixins';
27
+
28
+
29
+ // --------------Shared styles-------------------------
30
+ // Common base CSS modifications. For example:
31
+ @import 'shared/buttons';
32
+ @import 'shared/grid';
33
+
34
+
35
+ // --------------Components----------------------------
36
+ // Create your own and modify/extend Bootstrap's. For example:
37
+ @import 'components/panel';
38
+
39
+
40
+ // --------------Sections------------------------------
41
+ // Page-specific styles. These should *only* be used as a last
42
+ // resort if you really truly can't style your content more generally.
43
+ @import 'sections/profile_page';
@@ -0,0 +1,14 @@
1
+ // --------------Panels------------------------------
2
+ // If you want to chnage the look of panels, you should
3
+ // go to http://getbootstrap.com/customize first and see
4
+ // if there is a built-in panel variables.
5
+ //
6
+ // If not, then modify the look or extend panels here.
7
+ //
8
+ //
9
+ // Example:
10
+ //
11
+ // .panel.inverted-panel {
12
+ // background-color: $panel-inverse-bg;
13
+ // color: $panel-inverse-color;
14
+ // }
@@ -0,0 +1,3 @@
1
+ // --------------Fonts------------------------------
2
+
3
+ @import url(http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,700,300,600);
@@ -0,0 +1,7 @@
1
+ // --------------Mixins------------------------------
2
+ // A great place to add your own SASS mixins!
3
+ //
4
+ // @mixin some-effect( $var1, $var2 ) {
5
+ // ???
6
+ // }
7
+
@@ -1,4 +1,7 @@
1
- @import url(http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,700,300,600);
1
+ // --------------Variables------------------------------
2
+ // Modify Bootstrap variables here and create your own.
3
+ //
4
+ // Variable list: http://getbootstrap.com/customize/
2
5
 
3
6
  $font-family-sans-serif: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
4
7
 
@@ -0,0 +1,9 @@
1
+ // --------------Profile page section--------------------
2
+ //
3
+ // Styles specific to a single page. These should only be used as
4
+ // a LAST resort unless you're taking the symatic approach and
5
+ // actually using this to describe the parts of your document.
6
+ //
7
+ // .profile-page {
8
+ // The less here the better!!
9
+ // }
@@ -0,0 +1,24 @@
1
+ // --------------Buttons---------------------------------------------------
2
+ // This is an example of styles that modify built-in bootstrap components.
3
+ // First of all, Bootstrap gives you six different built-in button styles.
4
+ // Use them!
5
+ //
6
+ // See: http://getbootstrap.com/css/#buttons
7
+ //
8
+ //
9
+ // Need to style all of your buttons? Add a shadow to ALL of your buttons:
10
+
11
+ // .btn {
12
+ // box-shadow: 2px 2px 0 rgba(0,0,0,0.5);
13
+ // }
14
+
15
+
16
+ // If the built-in button types aren't enough, create your own, but DO NOT
17
+ // style the colors by hand. I know you can. but you'll get the hover/active
18
+ // states wrong or waste a lot of time trying.
19
+ //
20
+ // See: https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/bootstrap/_buttons.scss#L57
21
+
22
+ // .btn-primary.inverse {
23
+ // @include button-variant($btn-primary-inverse-color, $btn-primary-inverse-bg, $btn-primary-inverse-border);
24
+ // }
@@ -0,0 +1,14 @@
1
+ // --------------Grid------------------------------------------
2
+ //
3
+
4
+ // This is used by the devise generated views.
5
+ .center-panel {
6
+ @extend .col-lg-6;
7
+ @extend .col-lg-offset-3;
8
+
9
+ @extend .col-md-6;
10
+ @extend .col-md-offset-3;
11
+
12
+ @extend .col-sm-8;
13
+ @extend .col-sm-offset-2;
14
+ }
@@ -13,7 +13,7 @@ module HappySeed
13
13
  gem 'devise', '~> 3.4'
14
14
 
15
15
  Bundler.with_clean_env do
16
- run "bundle install > /dev/null"
16
+ run "bundle install --without production"
17
17
  end
18
18
 
19
19
  run 'rails generate devise:install'
@@ -17,7 +17,7 @@ module HappySeed
17
17
  gem 'devise_invitable'
18
18
 
19
19
  Bundler.with_clean_env do
20
- run "bundle install > /dev/null"
20
+ run "bundle install --without production"
21
21
  run 'rake db:migrate'
22
22
  end
23
23
 
@@ -11,7 +11,7 @@ module HappySeed
11
11
  gem 'omniauth-facebook'
12
12
 
13
13
  Bundler.with_clean_env do
14
- run "bundle install > /dev/null"
14
+ run "bundle install --without production"
15
15
  end
16
16
 
17
17
  directory 'docs'
@@ -12,7 +12,7 @@ module HappySeed
12
12
  gem 'github_api'
13
13
 
14
14
  Bundler.with_clean_env do
15
- run "bundle install > /dev/null"
15
+ run "bundle install --without production"
16
16
  end
17
17
 
18
18
  directory 'docs'
@@ -13,7 +13,7 @@ module HappySeed
13
13
  gem 'google-api-client', require: "google/api_client"
14
14
 
15
15
  Bundler.with_clean_env do
16
- run "bundle install > /dev/null"
16
+ run "bundle install --without production"
17
17
  end
18
18
 
19
19
  directory 'docs'
@@ -12,7 +12,7 @@ module HappySeed
12
12
  gem 'instagram'
13
13
 
14
14
  Bundler.with_clean_env do
15
- run "bundle install > /dev/null"
15
+ run "bundle install --without production"
16
16
  end
17
17
 
18
18
  directory "docs"
@@ -15,7 +15,7 @@ module HappySeed
15
15
  end
16
16
 
17
17
  Bundler.with_clean_env do
18
- run "bundle install > /dev/null"
18
+ run "bundle install --without production"
19
19
  end
20
20
  end
21
21
  end
@@ -25,7 +25,7 @@ module HappySeed
25
25
  gem 'omniauth'
26
26
 
27
27
  Bundler.with_clean_env do
28
- run "bundle install > /dev/null"
28
+ run "bundle install --without production"
29
29
  end
30
30
 
31
31
  generate 'model identity user:references provider:string accesstoken:string uid:string name:string email:string nickname:string image:string phone:string urls:string'
@@ -19,14 +19,14 @@ module HappySeed
19
19
  gem 'gibbon'
20
20
 
21
21
  Bundler.with_clean_env do
22
- run "bundle install > /dev/null"
22
+ run "bundle install --without production"
23
23
  end
24
24
 
25
25
  remove_file 'public/index.html'
26
26
 
27
27
  gsub_file "config/routes.rb", /\s*root.*\n/, "\n"
28
28
  route "root 'splash#index'"
29
- route "get '/spash' => 'splash#index'"
29
+ route "get '/splash' => 'splash#index'"
30
30
  route "post '/signup' => 'splash#signup', as: :splash_signup"
31
31
 
32
32
  directory 'app'
@@ -25,7 +25,7 @@ class SplashController < ApplicationController
25
25
  rescue StandardError => e
26
26
  @error = true
27
27
 
28
- if e.message =~ /is already subscribed to list/
28
+ if e.message =~ /is already subscribed to the list/
29
29
  @message = "You're already signed up to receive updates. Thanks for your enthusiasm!"
30
30
  else
31
31
  @message = "Oops! Looks like we ran into an error. How embarrassing. Please try again later!"
@@ -6,7 +6,7 @@ module HappySeed
6
6
  include Thor::Actions
7
7
  source_root File.expand_path('../templates', __FILE__)
8
8
  def generate_rails_plugin
9
- source_root = File.expand_path('../templates', __FILE__)
9
+ # source_root = File.expand_path('../templates', __FILE__)
10
10
  args.shift
11
11
  app_name = args.shift
12
12
 
@@ -2,11 +2,11 @@
2
2
  # the following line to use "http://" instead
3
3
  source 'https://rubygems.org'
4
4
 
5
- gem "middleman", "~>3.3.7"
5
+ gem "middleman", "~>3.3"
6
6
  gem "middleman-deploy"
7
7
  gem "middleman-autometatags"
8
8
  gem "middleman-livereload", "~> 3.1.0"
9
- gem 'middleman-bootstrap-navbar'
9
+ gem "bh"
10
10
 
11
11
  gem "bootstrap-sass"
12
12
  gem "jquery-middleman"
@@ -0,0 +1,158 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ actionpack (1.4.0)
5
+ activesupport (4.1.10)
6
+ i18n (~> 0.6, >= 0.6.9)
7
+ json (~> 1.7, >= 1.7.7)
8
+ minitest (~> 5.1)
9
+ thread_safe (~> 0.1)
10
+ tzinfo (~> 1.1)
11
+ autoprefixer-rails (5.2.0)
12
+ execjs
13
+ json
14
+ bh (1.3.3)
15
+ actionpack
16
+ activesupport
17
+ bootstrap-sass (3.3.4.1)
18
+ autoprefixer-rails (>= 5.0.0.1)
19
+ sass (>= 3.2.19)
20
+ builder (3.2.2)
21
+ celluloid (0.16.0)
22
+ timers (~> 4.0.0)
23
+ chunky_png (1.3.4)
24
+ coffee-script (2.4.1)
25
+ coffee-script-source
26
+ execjs
27
+ coffee-script-source (1.9.1.1)
28
+ compass (1.0.3)
29
+ chunky_png (~> 1.2)
30
+ compass-core (~> 1.0.2)
31
+ compass-import-once (~> 1.0.5)
32
+ rb-fsevent (>= 0.9.3)
33
+ rb-inotify (>= 0.9)
34
+ sass (>= 3.3.13, < 3.5)
35
+ compass-core (1.0.3)
36
+ multi_json (~> 1.0)
37
+ sass (>= 3.3.0, < 3.5)
38
+ compass-import-once (1.0.5)
39
+ sass (>= 3.2, < 3.5)
40
+ em-websocket (0.5.1)
41
+ eventmachine (>= 0.12.9)
42
+ http_parser.rb (~> 0.6.0)
43
+ erubis (2.7.0)
44
+ eventmachine (1.0.7)
45
+ execjs (2.5.2)
46
+ ffi (1.9.8)
47
+ haml (4.0.6)
48
+ tilt
49
+ hike (1.2.3)
50
+ hitimes (1.2.2)
51
+ hooks (0.4.0)
52
+ uber (~> 0.0.4)
53
+ http_parser.rb (0.6.0)
54
+ i18n (0.7.0)
55
+ jquery-middleman (3.0.4)
56
+ thor (>= 0.14, < 2.0)
57
+ json (1.8.2)
58
+ kramdown (1.7.0)
59
+ listen (2.10.0)
60
+ celluloid (~> 0.16.0)
61
+ rb-fsevent (>= 0.9.3)
62
+ rb-inotify (>= 0.9)
63
+ middleman (3.3.12)
64
+ coffee-script (~> 2.2)
65
+ compass (>= 1.0.0, < 2.0.0)
66
+ compass-import-once (= 1.0.5)
67
+ execjs (~> 2.0)
68
+ haml (>= 4.0.5)
69
+ kramdown (~> 1.2)
70
+ middleman-core (= 3.3.12)
71
+ middleman-sprockets (>= 3.1.2)
72
+ sass (>= 3.4.0, < 4.0)
73
+ uglifier (~> 2.5)
74
+ middleman-autometatags (0.0.2)
75
+ middleman-core (>= 3.0.0)
76
+ middleman-core (3.3.12)
77
+ activesupport (~> 4.1.0)
78
+ bundler (~> 1.1)
79
+ erubis
80
+ hooks (~> 0.3)
81
+ i18n (~> 0.7.0)
82
+ listen (>= 2.7.9, < 3.0)
83
+ padrino-helpers (~> 0.12.3)
84
+ rack (>= 1.4.5, < 2.0)
85
+ rack-test (~> 0.6.2)
86
+ thor (>= 0.15.2, < 2.0)
87
+ tilt (~> 1.4.1, < 2.0)
88
+ middleman-deploy (1.0.0)
89
+ middleman-core (>= 3.2)
90
+ net-sftp
91
+ ptools
92
+ middleman-livereload (3.1.1)
93
+ em-websocket (>= 0.2.0)
94
+ middleman-core (>= 3.0.2)
95
+ multi_json (~> 1.0)
96
+ rack-livereload
97
+ middleman-sprockets (3.4.2)
98
+ middleman-core (>= 3.3)
99
+ sprockets (~> 2.12.1)
100
+ sprockets-helpers (~> 1.1.0)
101
+ sprockets-sass (~> 1.3.0)
102
+ minitest (5.6.1)
103
+ multi_json (1.11.0)
104
+ net-sftp (2.1.2)
105
+ net-ssh (>= 2.6.5)
106
+ net-ssh (2.9.2)
107
+ padrino-helpers (0.12.5)
108
+ i18n (~> 0.6, >= 0.6.7)
109
+ padrino-support (= 0.12.5)
110
+ tilt (~> 1.4.1)
111
+ padrino-support (0.12.5)
112
+ activesupport (>= 3.1)
113
+ ptools (1.3.2)
114
+ rack (1.6.1)
115
+ rack-livereload (0.3.15)
116
+ rack
117
+ rack-test (0.6.3)
118
+ rack (>= 1.0)
119
+ rb-fsevent (0.9.5)
120
+ rb-inotify (0.9.5)
121
+ ffi (>= 0.5.0)
122
+ sass (3.4.14)
123
+ sprockets (2.12.3)
124
+ hike (~> 1.2)
125
+ multi_json (~> 1.0)
126
+ rack (~> 1.0)
127
+ tilt (~> 1.1, != 1.3.0)
128
+ sprockets-helpers (1.1.0)
129
+ sprockets (~> 2.0)
130
+ sprockets-sass (1.3.1)
131
+ sprockets (~> 2.0)
132
+ tilt (~> 1.1)
133
+ thor (0.19.1)
134
+ thread_safe (0.3.5)
135
+ tilt (1.4.1)
136
+ timers (4.0.1)
137
+ hitimes
138
+ tzinfo (1.2.2)
139
+ thread_safe (~> 0.1)
140
+ uber (0.0.13)
141
+ uglifier (2.7.1)
142
+ execjs (>= 0.3.0)
143
+ json (>= 1.8.0)
144
+
145
+ PLATFORMS
146
+ ruby
147
+
148
+ DEPENDENCIES
149
+ bh
150
+ bootstrap-sass
151
+ builder (~> 3.0)
152
+ jquery-middleman
153
+ middleman (~> 3.3)
154
+ middleman-autometatags
155
+ middleman-deploy
156
+ middleman-livereload (~> 3.1.0)
157
+ tzinfo-data
158
+ wdm (~> 0.1.0)
@@ -17,8 +17,8 @@ activate :autometatags
17
17
  # Automatic image dimensions on image_tag helper
18
18
  # activate :automatic_image_sizes
19
19
 
20
- # Easier bootstrap navbars
21
- activate :bootstrap_navbar
20
+ # Bootstrap helpers
21
+ activate :bh
22
22
 
23
23
  configure :development do
24
24
  activate :livereload
@@ -22,11 +22,11 @@ title: Welcome to Happy Seeds Static Site
22
22
  The following middleman components are installed
23
23
 
24
24
  %ul
25
- %li middleman
26
- %li middleman-deploy
27
- %li middleman-meta-tags
28
- %li middleman-livereload
29
- %li middleman-bootstrap-navbar
25
+ %li= link_to "middleman", "https://middlemanapp.com"
26
+ %li= link_to "middleman-deploy", "https://github.com/middleman-contrib/middleman-deploy"
27
+ %li= link_to "middleman-meta-tags", "https://github.com/HappyFunCorp/middleman-autometatags"
28
+ %li= link_to "middleman-livereload", "https://github.com/middleman/middleman-livereload"
29
+ %li= link_to "bh", "https://github.com/Fullscreen/bh"
30
30
 
31
31
 
32
32
  = link_to "Read Middleman Documentation", "http://middlemanapp.com/"
@@ -41,7 +41,7 @@ title: Welcome to Happy Seeds Static Site
41
41
  %li CNAME file gets generated if it exists for github pages subdomaining
42
42
  %li data/site.yml file for default site meta data
43
43
  %li meta_tags is enabled with the auto_meta tagger
44
- %li Bootstrap nav bar helpers are actived
44
+ %li Bootstrap helpers
45
45
  %li Livereload is on for development
46
46
  %li Asset cleanup is on for build
47
47
  %li Deploy to github pages setup by default
@@ -1,16 +1,11 @@
1
- = navbar fixed: :top do
2
- = navbar_header brand: data['site']['title'], brand_link: '/'
3
- = navbar_collapse do
4
- = navbar_group class: 'foo', id: 'menu' do
5
- = navbar_text 'Pick an option:'
6
- = navbar_item "Home", '/'
7
- = navbar_item '/contact' do
1
+ = navbar position: :top do
2
+ = vertical do
3
+ = link_to data['site']['title'], '/'
4
+ = horizontal do
5
+ = nav do
6
+ = link_to "Home", '/'
7
+ = link_to '/contact' do
8
8
  %span.glyphicon.glyphicon-hand-right
9
9
  Contact Us!
10
- = navbar_dropdown "Stuff" do
11
- = navbar_dropdown_header 'Great stuff!'
12
- = navbar_item "One", '/one'
13
- = navbar_item "Two", '/two'
14
- = navbar_item "Three", '/three'
15
- = navbar_group align: 'right' do
16
- = navbar_item "About Us", '/about-us'
10
+ = nav class: 'navbar-right' do
11
+ = link_to "About Us", '/about-us'
@@ -1,5 +1,7 @@
1
1
  @import "bootstrap";
2
2
 
3
+ $sticky_footer_height: 60px;
4
+
3
5
  body {
4
6
  padding-top: $navbar-height + 20;
5
7
  }
@@ -10,12 +12,16 @@ html.sticky {
10
12
  min-height: 100%;
11
13
  }
12
14
 
15
+ .sticky body {
16
+ margin-bottom: $sticky_footer_height;
17
+ }
18
+
13
19
  .sticky .footer {
14
20
  position: absolute;
15
21
  bottom: 0;
16
22
  width: 100%;
17
23
  /* Set the fixed height of the footer here */
18
- height: 60px;
24
+ height: $sticky_footer_height;
19
25
  background-color: #f5f5f5;
20
26
 
21
27
  .text-muted {
@@ -2,9 +2,9 @@
2
2
  # the following line to use "http://" instead
3
3
  source 'https://rubygems.org'
4
4
 
5
- gem "middleman", "~>3.3.7"
5
+ gem "middleman", "~>3.3"
6
6
  gem "middleman-deploy"
7
- gem "middleman-blog", "~> 3.5.3"
7
+ gem "middleman-blog", "~> 3.5"
8
8
  gem "middleman-blog-drafts"
9
9
  gem "middleman-autometatags"
10
10
  gem "middleman-livereload", "~> 3.1.0"
@@ -1,33 +1,37 @@
1
1
  GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
- activesupport (4.1.8)
4
+ activesupport (4.1.10)
5
5
  i18n (~> 0.6, >= 0.6.9)
6
6
  json (~> 1.7, >= 1.7.7)
7
7
  minitest (~> 5.1)
8
8
  thread_safe (~> 0.1)
9
9
  tzinfo (~> 1.1)
10
- addressable (2.3.6)
11
- bootstrap-navbar (2.2.2)
10
+ addressable (2.3.8)
11
+ autoprefixer-rails (5.2.0)
12
+ execjs
13
+ json
14
+ bootstrap-navbar (2.2.4)
12
15
  gem_config (~> 0.3)
13
- bootstrap-sass (3.3.1.0)
14
- sass (~> 3.2)
16
+ bootstrap-sass (3.3.4.1)
17
+ autoprefixer-rails (>= 5.0.0.1)
18
+ sass (>= 3.2.19)
15
19
  builder (3.2.2)
16
20
  celluloid (0.16.0)
17
21
  timers (~> 4.0.0)
18
- chunky_png (1.3.3)
19
- coffee-script (2.3.0)
22
+ chunky_png (1.3.4)
23
+ coffee-script (2.4.1)
20
24
  coffee-script-source
21
25
  execjs
22
- coffee-script-source (1.8.0)
23
- compass (1.0.1)
26
+ coffee-script-source (1.9.1.1)
27
+ compass (1.0.3)
24
28
  chunky_png (~> 1.2)
25
- compass-core (~> 1.0.1)
29
+ compass-core (~> 1.0.2)
26
30
  compass-import-once (~> 1.0.5)
27
31
  rb-fsevent (>= 0.9.3)
28
32
  rb-inotify (>= 0.9)
29
33
  sass (>= 3.3.13, < 3.5)
30
- compass-core (1.0.1)
34
+ compass-core (1.0.3)
31
35
  multi_json (~> 1.0)
32
36
  sass (>= 3.3.0, < 3.5)
33
37
  compass-import-once (1.0.5)
@@ -36,38 +40,38 @@ GEM
36
40
  eventmachine (>= 0.12.9)
37
41
  http_parser.rb (~> 0.6.0)
38
42
  erubis (2.7.0)
39
- eventmachine (1.0.3)
40
- execjs (2.2.2)
41
- ffi (1.9.6)
43
+ eventmachine (1.0.7)
44
+ execjs (2.5.2)
45
+ ffi (1.9.8)
42
46
  gem_config (0.3.1)
43
- haml (4.0.5)
47
+ haml (4.0.6)
44
48
  tilt
45
49
  hike (1.2.3)
46
50
  hitimes (1.2.2)
47
51
  hooks (0.4.0)
48
52
  uber (~> 0.0.4)
49
53
  http_parser.rb (0.6.0)
50
- i18n (0.6.11)
54
+ i18n (0.7.0)
51
55
  jquery-middleman (3.0.4)
52
56
  thor (>= 0.14, < 2.0)
53
- json (1.8.1)
54
- kramdown (1.5.0)
55
- listen (2.8.2)
56
- celluloid (>= 0.15.2)
57
+ json (1.8.2)
58
+ kramdown (1.7.0)
59
+ listen (2.10.0)
60
+ celluloid (~> 0.16.0)
57
61
  rb-fsevent (>= 0.9.3)
58
62
  rb-inotify (>= 0.9)
59
- middleman (3.3.7)
63
+ middleman (3.3.12)
60
64
  coffee-script (~> 2.2)
61
65
  compass (>= 1.0.0, < 2.0.0)
62
66
  compass-import-once (= 1.0.5)
63
67
  execjs (~> 2.0)
64
68
  haml (>= 4.0.5)
65
69
  kramdown (~> 1.2)
66
- middleman-core (= 3.3.7)
70
+ middleman-core (= 3.3.12)
67
71
  middleman-sprockets (>= 3.1.2)
68
72
  sass (>= 3.4.0, < 4.0)
69
73
  uglifier (~> 2.5)
70
- middleman-autometatags (0.0.1)
74
+ middleman-autometatags (0.0.2)
71
75
  middleman-core (>= 3.0.0)
72
76
  middleman-blog (3.5.3)
73
77
  addressable (~> 2.3.5)
@@ -79,12 +83,12 @@ GEM
79
83
  middleman-bootstrap-navbar (2.0.0)
80
84
  bootstrap-navbar (~> 2.0)
81
85
  middleman-core (>= 3.0)
82
- middleman-core (3.3.7)
86
+ middleman-core (3.3.12)
83
87
  activesupport (~> 4.1.0)
84
88
  bundler (~> 1.1)
85
89
  erubis
86
90
  hooks (~> 0.3)
87
- i18n (~> 0.6.9)
91
+ i18n (~> 0.7.0)
88
92
  listen (>= 2.7.9, < 3.0)
89
93
  padrino-helpers (~> 0.12.3)
90
94
  rack (>= 1.4.5, < 2.0)
@@ -100,32 +104,32 @@ GEM
100
104
  middleman-core (>= 3.0.2)
101
105
  multi_json (~> 1.0)
102
106
  rack-livereload
103
- middleman-sprockets (3.3.10)
104
- middleman-core (~> 3.3)
107
+ middleman-sprockets (3.4.2)
108
+ middleman-core (>= 3.3)
105
109
  sprockets (~> 2.12.1)
106
110
  sprockets-helpers (~> 1.1.0)
107
- sprockets-sass (~> 1.2.0)
108
- minitest (5.4.3)
109
- multi_json (1.10.1)
111
+ sprockets-sass (~> 1.3.0)
112
+ minitest (5.7.0)
113
+ multi_json (1.11.0)
110
114
  net-sftp (2.1.2)
111
115
  net-ssh (>= 2.6.5)
112
- net-ssh (2.9.1)
113
- padrino-helpers (0.12.4)
116
+ net-ssh (2.9.2)
117
+ padrino-helpers (0.12.5)
114
118
  i18n (~> 0.6, >= 0.6.7)
115
- padrino-support (= 0.12.4)
119
+ padrino-support (= 0.12.5)
116
120
  tilt (~> 1.4.1)
117
- padrino-support (0.12.4)
121
+ padrino-support (0.12.5)
118
122
  activesupport (>= 3.1)
119
- ptools (1.2.6)
120
- rack (1.5.2)
123
+ ptools (1.3.2)
124
+ rack (1.6.1)
121
125
  rack-livereload (0.3.15)
122
126
  rack
123
- rack-test (0.6.2)
127
+ rack-test (0.6.3)
124
128
  rack (>= 1.0)
125
- rb-fsevent (0.9.4)
129
+ rb-fsevent (0.9.5)
126
130
  rb-inotify (0.9.5)
127
131
  ffi (>= 0.5.0)
128
- sass (3.4.9)
132
+ sass (3.4.14)
129
133
  sprockets (2.12.3)
130
134
  hike (~> 1.2)
131
135
  multi_json (~> 1.0)
@@ -133,18 +137,18 @@ GEM
133
137
  tilt (~> 1.1, != 1.3.0)
134
138
  sprockets-helpers (1.1.0)
135
139
  sprockets (~> 2.0)
136
- sprockets-sass (1.2.0)
140
+ sprockets-sass (1.3.1)
137
141
  sprockets (~> 2.0)
138
142
  tilt (~> 1.1)
139
143
  thor (0.19.1)
140
- thread_safe (0.3.4)
144
+ thread_safe (0.3.5)
141
145
  tilt (1.4.1)
142
146
  timers (4.0.1)
143
147
  hitimes
144
148
  tzinfo (1.2.2)
145
149
  thread_safe (~> 0.1)
146
- uber (0.0.11)
147
- uglifier (2.5.3)
150
+ uber (0.0.13)
151
+ uglifier (2.7.1)
148
152
  execjs (>= 0.3.0)
149
153
  json (>= 1.8.0)
150
154
 
@@ -155,9 +159,9 @@ DEPENDENCIES
155
159
  bootstrap-sass
156
160
  builder (~> 3.0)
157
161
  jquery-middleman
158
- middleman (~> 3.3.7)
162
+ middleman (~> 3.3)
159
163
  middleman-autometatags
160
- middleman-blog (~> 3.5.3)
164
+ middleman-blog (~> 3.5)
161
165
  middleman-blog-drafts
162
166
  middleman-bootstrap-navbar
163
167
  middleman-deploy
@@ -1,5 +1,7 @@
1
1
  @import "bootstrap";
2
2
 
3
+ $sticky_footer_height: 60px;
4
+
3
5
  body {
4
6
  padding-top: $navbar-height + 20;
5
7
  }
@@ -10,12 +12,16 @@ html.sticky {
10
12
  min-height: 100%;
11
13
  }
12
14
 
15
+ .sticky body {
16
+ margin-bottom: $sticky_footer_height;
17
+ }
18
+
13
19
  .sticky .footer {
14
20
  position: absolute;
15
21
  bottom: 0;
16
22
  width: 100%;
17
23
  /* Set the fixed height of the footer here */
18
- height: 60px;
24
+ height: $sticky_footer_height;
19
25
  background-color: #f5f5f5;
20
26
 
21
27
  .text-muted {
@@ -24,8 +30,12 @@ html.sticky {
24
30
  }
25
31
 
26
32
  .social {
27
- float: right;
28
- font-size: 1.5em;
33
+ display: none;
34
+ @media (min-width: $screen-sm-min) {
35
+ float: right;
36
+ font-size: 1.5em;
37
+ display: block;
38
+ }
29
39
  a {
30
40
  color: white;
31
41
  }
@@ -142,6 +152,8 @@ code {
142
152
 
143
153
 
144
154
  .timeline {
155
+ @extend .container;
156
+
145
157
  margin-top: 2em;
146
158
 
147
159
  .post {
@@ -12,7 +12,7 @@ module HappySeed
12
12
  gem 'twitter'
13
13
 
14
14
  Bundler.with_clean_env do
15
- run "bundle install > /dev/null"
15
+ run "bundle install --without production"
16
16
  end
17
17
 
18
18
  add_omniauth :twitter
@@ -1,3 +1,3 @@
1
1
  module HappySeed
2
- VERSION = "0.0.15"
2
+ VERSION = "0.0.16"
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.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Will Schenk
@@ -9,48 +9,48 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-02-09 00:00:00.000000000 Z
12
+ date: 2015-05-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ~>
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
20
  version: '4.2'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ~>
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '4.2'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: thor
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '0'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: sqlite3
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - '>='
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - '>='
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  description: HappySeed is a project that will build up a rails apps using some common
@@ -66,9 +66,6 @@ files:
66
66
  - Rakefile
67
67
  - bin/happy_seed
68
68
  - happy_seed.rb
69
- - lib/.DS_Store
70
- - lib/generators/.DS_Store
71
- - lib/generators/happy_seed/.DS_Store
72
69
  - lib/generators/happy_seed/admin/admin_generator.rb
73
70
  - lib/generators/happy_seed/admin/templates/app/admin/campaigns.rb
74
71
  - lib/generators/happy_seed/admin/templates/app/admin/dashboard.rb
@@ -102,9 +99,7 @@ files:
102
99
  - lib/generators/happy_seed/api/templates/spec/acceptance/api/v1/configurations_spec.rb
103
100
  - lib/generators/happy_seed/api/templates/spec/acceptance/api/v1/user_tokens_spec.rb
104
101
  - lib/generators/happy_seed/api/templates/spec/acceptance/api/v1/users_spec.rb
105
- - lib/generators/happy_seed/base/.DS_Store
106
102
  - lib/generators/happy_seed/base/base_generator.rb
107
- - lib/generators/happy_seed/base/templates/.DS_Store
108
103
  - lib/generators/happy_seed/base/templates/.env
109
104
  - lib/generators/happy_seed/base/templates/.foreman
110
105
  - lib/generators/happy_seed/base/templates/Procfile
@@ -114,14 +109,19 @@ files:
114
109
  - lib/generators/happy_seed/base/templates/config/unicorn.rb
115
110
  - lib/generators/happy_seed/base/templates/docs/README.00.base.rdoc
116
111
  - lib/generators/happy_seed/base/templates/lib/tasks/haml2erb.rake
117
- - lib/generators/happy_seed/base/templates/spec/.DS_Store
118
112
  - lib/generators/happy_seed/base/templates/spec/controllers/application_controller_spec.rb
119
113
  - lib/generators/happy_seed/base/templates/spec/controllers/setup_controller_spec.rb
120
114
  - lib/generators/happy_seed/base/templates/spec/support/controller_helpers.rb
121
115
  - lib/generators/happy_seed/bootstrap/bootstrap_generator.rb
122
116
  - lib/generators/happy_seed/bootstrap/templates/app/assets/javascripts/application.js
123
- - lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/application.css.scss
124
- - lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/variables.css.scss
117
+ - lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/application.scss
118
+ - lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/components/_panel.scss
119
+ - lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/globals/_fonts.scss
120
+ - lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/globals/_mixins.scss
121
+ - lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/globals/_variables.scss
122
+ - lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/sections/_profile_page.scss
123
+ - lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/shared/_buttons.scss
124
+ - lib/generators/happy_seed/bootstrap/templates/app/assets/stylesheets/shared/_grid.scss
125
125
  - lib/generators/happy_seed/bootstrap/templates/app/helpers/application_helper.rb
126
126
  - lib/generators/happy_seed/bootstrap/templates/app/views/application/_chromeframe.html.haml
127
127
  - lib/generators/happy_seed/bootstrap/templates/app/views/application/_flashes.html.haml
@@ -146,7 +146,6 @@ files:
146
146
  - lib/generators/happy_seed/devise/templates/app/views/devise/registrations/new.html.haml
147
147
  - lib/generators/happy_seed/devise/templates/app/views/devise/sessions/new.html.haml
148
148
  - lib/generators/happy_seed/devise/templates/docs/README.03.devise.rdoc
149
- - lib/generators/happy_seed/devise/templates/spec/.DS_Store
150
149
  - lib/generators/happy_seed/devise/templates/spec/factories/users.rb
151
150
  - lib/generators/happy_seed/devise/templates/spec/features/forgot_password_spec.rb
152
151
  - lib/generators/happy_seed/devise/templates/test/mailers/previews/devise_preview.rb
@@ -158,9 +157,7 @@ files:
158
157
  - lib/generators/happy_seed/facebook/templates/docs/README.06.facebook.rdoc
159
158
  - lib/generators/happy_seed/github/github_generator.rb
160
159
  - lib/generators/happy_seed/github/templates/docs/README.06.github.rdoc
161
- - lib/generators/happy_seed/googleoauth/.DS_Store
162
160
  - lib/generators/happy_seed/googleoauth/googleoauth_generator.rb
163
- - lib/generators/happy_seed/googleoauth/templates/.DS_Store
164
161
  - lib/generators/happy_seed/googleoauth/templates/add_refresh_token_to_identity.rb
165
162
  - lib/generators/happy_seed/googleoauth/templates/app/models/google_apps_client.rb
166
163
  - lib/generators/happy_seed/googleoauth/templates/docs/README.06.googleoauth.rdoc
@@ -170,7 +167,6 @@ files:
170
167
  - lib/generators/happy_seed/jazz_hands/jazz_hands_generator.rb
171
168
  - lib/generators/happy_seed/jazz_hands/templates/config/initializers/jazz_hands.rb
172
169
  - lib/generators/happy_seed/jazz_hands/templates/docs/README.12.jazz_hands.rdoc
173
- - lib/generators/happy_seed/omniauth/.DS_Store
174
170
  - lib/generators/happy_seed/omniauth/omniauth_generator.rb
175
171
  - lib/generators/happy_seed/omniauth/templates/app/controllers/omniauth_callbacks_controller.rb
176
172
  - lib/generators/happy_seed/omniauth/templates/app/controllers/registrations_controller.rb
@@ -201,6 +197,7 @@ files:
201
197
  - lib/generators/happy_seed/static/static_generator.rb
202
198
  - lib/generators/happy_seed/static/templates/.gitignore
203
199
  - lib/generators/happy_seed/static/templates/Gemfile
200
+ - lib/generators/happy_seed/static/templates/Gemfile.lock
204
201
  - lib/generators/happy_seed/static/templates/config.rb
205
202
  - lib/generators/happy_seed/static/templates/data/site.yml
206
203
  - lib/generators/happy_seed/static/templates/source/images/.gitkeep
@@ -246,7 +243,6 @@ files:
246
243
  - lib/generators/happy_seed/static_blog/templates/source/stylesheets/fonts/socicon-webfont.woff
247
244
  - lib/generators/happy_seed/static_blog/templates/source/stylesheets/socicons.css
248
245
  - lib/generators/happy_seed/static_blog/templates/source/tag.html.haml
249
- - lib/generators/happy_seed/twitter/templates/.DS_Store
250
246
  - lib/generators/happy_seed/twitter/templates/docs/README.05.twitter.rdoc
251
247
  - lib/generators/happy_seed/twitter/twitter_generator.rb
252
248
  - lib/happy_seed.rb
@@ -283,8 +279,6 @@ files:
283
279
  - test/dummy/config/locales/en.yml
284
280
  - test/dummy/config/routes.rb
285
281
  - test/dummy/config/secrets.yml
286
- - test/dummy/db/test.sqlite3
287
- - test/dummy/log/test.log
288
282
  - test/dummy/public/404.html
289
283
  - test/dummy/public/422.html
290
284
  - test/dummy/public/500.html
@@ -301,17 +295,17 @@ require_paths:
301
295
  - lib
302
296
  required_ruby_version: !ruby/object:Gem::Requirement
303
297
  requirements:
304
- - - '>='
298
+ - - ">="
305
299
  - !ruby/object:Gem::Version
306
300
  version: '0'
307
301
  required_rubygems_version: !ruby/object:Gem::Requirement
308
302
  requirements:
309
- - - '>='
303
+ - - ">="
310
304
  - !ruby/object:Gem::Version
311
305
  version: '0'
312
306
  requirements: []
313
307
  rubyforge_project:
314
- rubygems_version: 2.2.2
308
+ rubygems_version: 2.4.5
315
309
  signing_key:
316
310
  specification_version: 4
317
311
  summary: HappySeed is a project that will build up a rails apps using some common
@@ -345,8 +339,6 @@ test_files:
345
339
  - test/dummy/config/routes.rb
346
340
  - test/dummy/config/secrets.yml
347
341
  - test/dummy/config.ru
348
- - test/dummy/db/test.sqlite3
349
- - test/dummy/log/test.log
350
342
  - test/dummy/public/404.html
351
343
  - test/dummy/public/422.html
352
344
  - test/dummy/public/500.html
Binary file
Binary file
@@ -1,19 +0,0 @@
1
- //-----------------------------------------
2
- // Variables, customize bootstrap here
3
- //-----------------------------------------
4
- @import 'variables';
5
-
6
- @import 'bootstrap-sprockets';
7
- @import 'bootstrap';
8
-
9
- // This is used by the devise generated views.
10
- .center_panel {
11
- @extend .col-lg-6;
12
- @extend .col-lg-offset-3;
13
-
14
- @extend .col-md-6;
15
- @extend .col-md-offset-3;
16
-
17
- @extend .col-sm-8;
18
- @extend .col-sm-offset-2;
19
- }
File without changes
@@ -1,15 +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
11
-  (0.1ms) begin transaction
12
- -------------------------
13
- HappySeedTest: test_truth
14
- -------------------------
15
-  (0.0ms) rollback transaction