Browse Source

fixed conflicts

development
Cesidio Di Landa 12 years ago
parent
commit
51e80bbc65
  1. 4
      CHANGELOG.md
  2. 4
      Gemfile
  3. 120
      Gemfile.lock
  4. 2
      README.md
  5. 2
      VERSION
  6. 21
      app/assets/stylesheets/bootstrap_and_overrides.css.less
  7. 2
      app/views/pages/home.html.haml
  8. 4
      config/environment.rb
  9. 18
      config/locales/en.bootstrap.yml

4
CHANGELOG.md

@ -1,6 +1,10 @@
Changelog Changelog
========= =========
0.4.0
-----
* Rails 4 rc2
0.3.1 0.3.1
----- -----
* Updated gems * Updated gems

4
Gemfile

@ -1,7 +1,7 @@
source 'https://rubygems.org' source 'https://rubygems.org'
ruby '2.0.0' ruby '2.0.0'
gem 'rails', '4.0.0.rc1' gem 'rails', '4.0.0.rc2'
# Servers # Servers
gem 'thin' gem 'thin'
@ -42,7 +42,7 @@ gem 'less-rails'
gem 'sass-rails', '~> 4.0.0.rc1' gem 'sass-rails', '~> 4.0.0.rc1'
gem 'therubyracer' gem 'therubyracer'
gem 'turbolinks' gem 'turbolinks'
gem 'twitter-bootstrap-rails', github: 'diowa/twitter-bootstrap-rails', branch: 'fontawesome-3.1.1' gem 'twitter-bootstrap-rails'
gem 'uglifier', '>= 1.3.0' gem 'uglifier', '>= 1.3.0'
group :development, :test do group :development, :test do

120
Gemfile.lock

@ -1,36 +1,32 @@
GIT GIT
remote: git://github.com/diowa/twitter-bootstrap-rails.git remote: git://github.com/bmabey/database_cleaner.git
revision: c0f5b77b917e7ff91978b49ff559671e4861888f revision: 20136e8987c222013d96e07c27d1230d2bbebd61
branch: fontawesome-3.1.1 ref: 20136e89
specs: specs:
twitter-bootstrap-rails (2.2.6) database_cleaner (0.9.1)
actionpack (>= 3.1)
execjs
rails (>= 3.1)
railties (>= 3.1)
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
actionmailer (4.0.0.rc1) actionmailer (4.0.0.rc2)
actionpack (= 4.0.0.rc1) actionpack (= 4.0.0.rc2)
mail (~> 2.5.3) mail (~> 2.5.3)
actionpack (4.0.0.rc1) actionpack (4.0.0.rc2)
activesupport (= 4.0.0.rc1) activesupport (= 4.0.0.rc2)
builder (~> 3.1.0) builder (~> 3.1.0)
erubis (~> 2.7.0) erubis (~> 2.7.0)
rack (~> 1.5.2) rack (~> 1.5.2)
rack-test (~> 0.6.2) rack-test (~> 0.6.2)
activemodel (4.0.0.rc1) activemodel (4.0.0.rc2)
activesupport (= 4.0.0.rc1) activesupport (= 4.0.0.rc2)
builder (~> 3.1.0) builder (~> 3.1.0)
activerecord (4.0.0.rc1) activerecord (4.0.0.rc2)
activemodel (= 4.0.0.rc1) activemodel (= 4.0.0.rc2)
activerecord-deprecated_finders (~> 1.0.2) activerecord-deprecated_finders (~> 1.0.2)
activesupport (= 4.0.0.rc1) activesupport (= 4.0.0.rc2)
arel (~> 4.0.0) arel (~> 4.0.0)
activerecord-deprecated_finders (1.0.2) activerecord-deprecated_finders (1.0.3)
activesupport (4.0.0.rc1) activesupport (4.0.0.rc2)
i18n (~> 0.6, >= 0.6.4) i18n (~> 0.6, >= 0.6.4)
minitest (~> 4.2) minitest (~> 4.2)
multi_json (~> 1.3) multi_json (~> 1.3)
@ -39,10 +35,10 @@ GEM
addressable (2.3.4) addressable (2.3.4)
arel (4.0.0) arel (4.0.0)
atomic (1.1.9) atomic (1.1.9)
better_errors (0.8.0) better_errors (0.9.0)
coderay (>= 1.0.0) coderay (>= 1.0.0)
erubis (>= 2.6.6) erubis (>= 2.6.6)
binding_of_caller (0.7.1) binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1) debug_inspector (>= 0.0.1)
builder (3.1.4) builder (3.1.4)
bullet (4.6.0) bullet (4.6.0)
@ -74,7 +70,8 @@ GEM
rest-client rest-client
simplecov (>= 0.7) simplecov (>= 0.7)
thor thor
crack (0.3.2) crack (0.4.0)
safe_yaml (~> 0.9.0)
daemons (1.1.9) daemons (1.1.9)
database_cleaner (1.0.1) database_cleaner (1.0.1)
debug_inspector (0.0.2) debug_inspector (0.0.2)
@ -101,22 +98,22 @@ GEM
railties (>= 3.0.0) railties (>= 3.0.0)
faker (1.1.2) faker (1.1.2)
i18n (~> 0.5) i18n (~> 0.5)
ffi (1.8.1) ffi (1.9.0)
haml (4.0.2) haml (4.0.3)
tilt tilt
haml_assets (0.2.1) haml_assets (0.2.2)
haml haml
tilt tilt
handlebars_assets (0.12.0) handlebars_assets (0.13.0)
execjs (>= 1.2.9) execjs (>= 1.2.9)
sprockets (>= 2.0.3) sprockets (>= 2.0.3)
tilt tilt
hike (1.2.2) hike (1.2.3)
http_accept_language (1.0.2) http_accept_language (1.0.2)
i18n (0.6.4) i18n (0.6.4)
i18n-js (2.1.2) i18n-js (2.1.2)
i18n i18n
jquery-rails (2.2.1) jquery-rails (3.0.1)
railties (>= 3.0, < 5.0) railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0) thor (>= 0.14, < 2.0)
jquery-turbolinks (1.0.0) jquery-turbolinks (1.0.0)
@ -134,23 +131,25 @@ GEM
mail (2.5.4) mail (2.5.4)
mime-types (~> 1.16) mime-types (~> 1.16)
treetop (~> 1.4.8) treetop (~> 1.4.8)
meta_request (0.2.5) meta_request (0.2.6)
callsite callsite
rack-contrib rack-contrib
railties railties
method_source (0.8.1) method_source (0.8.1)
mime-types (1.23) mime-types (1.23)
mini_portile (0.5.0)
minitest (4.7.4) minitest (4.7.4)
mono_logger (1.0.1) mono_logger (1.1.0)
multi_json (1.7.3) multi_json (1.7.6)
nokogiri (1.5.9) nokogiri (1.6.0)
mini_portile (~> 0.5.0)
pg (0.15.1) pg (0.15.1)
polyglot (0.3.3) polyglot (0.3.3)
pry (0.9.12.2) pry (0.9.12.2)
coderay (~> 1.0.5) coderay (~> 1.0.5)
method_source (~> 0.8) method_source (~> 0.8)
slop (~> 3.4) slop (~> 3.4)
pry-rails (0.3.0) pry-rails (0.3.1)
pry (>= 0.9.10) pry (>= 0.9.10)
rack (1.5.2) rack (1.5.2)
rack-contrib (1.1.0) rack-contrib (1.1.0)
@ -159,17 +158,17 @@ GEM
rack rack
rack-test (0.6.2) rack-test (0.6.2)
rack (>= 1.0) rack (>= 1.0)
rails (4.0.0.rc1) rails (4.0.0.rc2)
actionmailer (= 4.0.0.rc1) actionmailer (= 4.0.0.rc2)
actionpack (= 4.0.0.rc1) actionpack (= 4.0.0.rc2)
activerecord (= 4.0.0.rc1) activerecord (= 4.0.0.rc2)
activesupport (= 4.0.0.rc1) activesupport (= 4.0.0.rc2)
bundler (>= 1.3.0, < 2.0) bundler (>= 1.3.0, < 2.0)
railties (= 4.0.0.rc1) railties (= 4.0.0.rc2)
sprockets-rails (~> 2.0.0.rc4) sprockets-rails (~> 2.0.0)
railties (4.0.0.rc1) railties (4.0.0.rc2)
actionpack (= 4.0.0.rc1) actionpack (= 4.0.0.rc2)
activesupport (= 4.0.0.rc1) activesupport (= 4.0.0.rc2)
rake (>= 0.8.7) rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0) thor (>= 0.18.1, < 2.0)
raindrops (0.11.0) raindrops (0.11.0)
@ -177,7 +176,7 @@ GEM
redis (3.0.4) redis (3.0.4)
redis-namespace (1.3.0) redis-namespace (1.3.0)
redis (~> 3.0.0) redis (~> 3.0.0)
ref (1.0.4) ref (1.0.5)
resque (1.24.1) resque (1.24.1)
mono_logger (~> 1.0) mono_logger (~> 1.0)
multi_json (~> 1.0) multi_json (~> 1.0)
@ -194,7 +193,7 @@ GEM
rspec-expectations (2.13.0) rspec-expectations (2.13.0)
diff-lcs (>= 1.1.3, < 2.0) diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.13.1) rspec-mocks (2.13.1)
rspec-rails (2.13.1) rspec-rails (2.13.2)
actionpack (>= 3.0) actionpack (>= 3.0)
activesupport (>= 3.0) activesupport (>= 3.0)
railties (>= 3.0) railties (>= 3.0)
@ -202,13 +201,13 @@ GEM
rspec-expectations (~> 2.13.0) rspec-expectations (~> 2.13.0)
rspec-mocks (~> 2.13.0) rspec-mocks (~> 2.13.0)
rubyzip (0.9.9) rubyzip (0.9.9)
safe_yaml (0.9.3)
sass (3.2.9) sass (3.2.9)
sass-rails (4.0.0.rc1) sass-rails (4.0.0.rc2)
railties (>= 4.0.0.beta, < 5.0) railties (>= 4.0.0.beta, < 5.0)
sass (>= 3.1.10) sass (>= 3.1.10)
sprockets-rails (~> 2.0.0.rc0) sprockets-rails (~> 2.0.0)
tilt (~> 1.3) selenium-webdriver (2.33.0)
selenium-webdriver (2.32.1)
childprocess (>= 0.2.5) childprocess (>= 0.2.5)
multi_json (~> 1.0) multi_json (~> 1.0)
rubyzip rubyzip
@ -218,17 +217,17 @@ GEM
multi_json (~> 1.0) multi_json (~> 1.0)
simplecov-html (~> 0.7.1) simplecov-html (~> 0.7.1)
simplecov-html (0.7.1) simplecov-html (0.7.1)
sinatra (1.4.2) sinatra (1.4.3)
rack (~> 1.5, >= 1.5.2) rack (~> 1.4)
rack-protection (~> 1.4) rack-protection (~> 1.4)
tilt (~> 1.3, >= 1.3.4) tilt (~> 1.3, >= 1.3.4)
slop (3.4.5) slop (3.4.5)
sprockets (2.9.3) sprockets (2.10.0)
hike (~> 1.2) hike (~> 1.2)
multi_json (~> 1.0) multi_json (~> 1.0)
rack (~> 1.0) rack (~> 1.0)
tilt (~> 1.1, != 1.3.0) tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.0.0.rc4) sprockets-rails (2.0.0)
actionpack (>= 3.0) actionpack (>= 3.0)
activesupport (>= 3.0) activesupport (>= 3.0)
sprockets (~> 2.8) sprockets (~> 2.8)
@ -243,13 +242,18 @@ GEM
thread_safe (0.1.0) thread_safe (0.1.0)
atomic atomic
tilt (1.4.1) tilt (1.4.1)
treetop (1.4.12) treetop (1.4.14)
polyglot polyglot
polyglot (>= 0.3.1) polyglot (>= 0.3.1)
turbolinks (1.1.1) turbolinks (1.2.0)
coffee-rails coffee-rails
twitter-bootstrap-rails (2.2.7)
actionpack (>= 3.1)
execjs
rails (>= 3.1)
railties (>= 3.1)
tzinfo (0.3.37) tzinfo (0.3.37)
uglifier (2.1.0) uglifier (2.1.1)
execjs (>= 0.3.0) execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2) multi_json (~> 1.0, >= 1.0.2)
unicorn (4.6.2) unicorn (4.6.2)
@ -296,7 +300,7 @@ DEPENDENCIES
pg pg
pry pry
pry-rails pry-rails
rails (= 4.0.0.rc1) rails (= 4.0.0.rc2)
resque resque
rest-client rest-client
rspec rspec
@ -308,7 +312,7 @@ DEPENDENCIES
therubyracer therubyracer
thin thin
turbolinks turbolinks
twitter-bootstrap-rails! twitter-bootstrap-rails
uglifier (>= 1.3.0) uglifier (>= 1.3.0)
unicorn unicorn
webmock webmock

2
README.md

@ -4,7 +4,7 @@ Starter App [![Build Status](https://travis-ci.org/diowa/ruby2-rails4-bootstrap-
This is a starter web application based on the following technology stack: This is a starter web application based on the following technology stack:
* Ruby 2 * Ruby 2
* Rails 4 * Rails 4.0.0.rc2
* PostgreSQL * PostgreSQL
* RSpec * RSpec
* Twitter Bootstrap * Twitter Bootstrap

2
VERSION

@ -1 +1 @@
0.3.1 0.4.0

21
app/assets/stylesheets/bootstrap_and_overrides.css.less

@ -1,26 +1,27 @@
/* ==========================================================================
Bootstrap and overrides
========================================================================== */
@import "twitter/bootstrap/bootstrap"; @import "twitter/bootstrap/bootstrap";
body { body {
padding-top: 60px; padding-top: @navbarHeight + 10px;
} }
@import "twitter/bootstrap/responsive"; @import "twitter/bootstrap/responsive";
/* Fontawesome Icons // Set the correct sprite paths
========================================================================== */ //@iconSpritePath: asset-path("twitter/bootstrap/glyphicons-halflings");
//@iconWhiteSpritePath: asset-path("twitter/bootstrap/glyphicons-halflings-white");
// Set the Font Awesome (Font Awesome is default. You can disable by commenting below lines)
@fontAwesomeEotPath: asset-url("fontawesome-webfont.eot"); @fontAwesomeEotPath: asset-url("fontawesome-webfont.eot");
@fontAwesomeEotPath_iefix: asset-url("fontawesome-webfont.eot#iefix"); @fontAwesomeEotPath_iefix: asset-url("fontawesome-webfont.eot#iefix");
@fontAwesomeWoffPath: asset-url("fontawesome-webfont.woff"); @fontAwesomeWoffPath: asset-url("fontawesome-webfont.woff");
@fontAwesomeTtfPath: asset-url("fontawesome-webfont.ttf"); @fontAwesomeTtfPath: asset-url("fontawesome-webfont.ttf");
@fontAwesomeSvgPath: asset-url("fontawesome-webfont.svg#fontawesomeregular"); @fontAwesomeSvgPath: asset-url("fontawesome-webfont.svg#fontawesomeregular");
// Font Awesome
@import "fontawesome/font-awesome"; @import "fontawesome/font-awesome";
/* Overriding default variables and loading new ones // Glyphicons
========================================================================== */ //@import "twitter/bootstrap/sprites.less";
// Override the default bootstrap variables in stubs/variables_overrides.css.less
@import "stubs/variables_overrides.css.less";

2
app/views/pages/home.html.haml

@ -4,4 +4,4 @@
%i.icon-smile %i.icon-smile
Smile! Smile!
%p.lead.muted %p.lead.muted
Rails 4 + Ruby 2 + Font Awesome 3.1.1 Ruby 2 + Rails 4.0.0.rc2 + Font Awesome 3.1.1

4
config/environment.rb

@ -1,5 +1,5 @@
# Load the rails application. # Load the Rails application.
require File.expand_path('../application', __FILE__) require File.expand_path('../application', __FILE__)
# Initialize the rails application. # Initialize the Rails application.
Starterapp::Application.initialize! Starterapp::Application.initialize!

18
config/locales/en.bootstrap.yml

@ -0,0 +1,18 @@
# Sample localization file for English. Add more files in this directory for other locales.
# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
en:
helpers:
actions: "Actions"
links:
back: "Back"
cancel: "Cancel"
confirm: "Are you sure?"
destroy: "Delete"
new: "New"
edit: "Edit"
titles:
edit: "Edit"
save: "Save"
new: "New"
delete: "Delete"
Loading…
Cancel
Save