Skip to content

Commit

Permalink
Merge branch 'feature/testing' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
brownman committed Oct 31, 2012
2 parents 1820cc2 + 0bda586 commit fedc201
Show file tree
Hide file tree
Showing 48 changed files with 4,704 additions and 160 deletions.
21 changes: 21 additions & 0 deletions .livereload
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Lines starting with pound sign (#) are ignored.

# additional extensions to monitor
#config.exts << 'haml'

# exclude files with NAMES matching this mask
#config.exclusions << '~*'
# exclude files with PATHS matching this mask (if the mask contains a slash)
#config.exclusions << '/excluded_dir/*'
# exclude files with PATHS matching this REGEXP
#config.exclusions << /somedir.*(ab){2,4}.(css|js)$/

# reload the whole page when .js changes
#config.apply_js_live = false
# reload the whole page when .css changes
#config.apply_css_live = false
# reload the whole page when images (png, jpg, gif) change
#config.apply_images_live = false

# wait 100ms for more changes before reloading a page
#config.grace_period = 0.1
16 changes: 13 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ gem 'rails', '3.2.2'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

group :development, :test do
gem 'sqlite3'
end

group :production do
gem 'pg'
Expand All @@ -23,6 +20,7 @@ group :assets do
# gem 'therubyracer'

gem 'uglifier', '>= 1.0.3'

end

gem 'jquery-rails'
Expand All @@ -46,3 +44,15 @@ gem 'twitter-bootstrap-rails'
gem 'rails-backbone', '0.7.0'

gem 'thin'

group :development, :test do
gem 'jasmine'
gem 'jasminerice'
gem 'guard'
gem 'guard-jasmine'
gem 'guard-coffeescript'
gem 'guard-livereload'
gem 'sqlite3'
end


80 changes: 73 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -28,43 +28,88 @@ GEM
activesupport (3.2.2)
i18n (~> 0.6)
multi_json (~> 1.0)
addressable (2.3.2)
arel (3.0.2)
builder (3.0.3)
builder (3.0.4)
childprocess (0.3.6)
ffi (~> 1.0, >= 1.0.6)
coderay (1.0.8)
coffee-rails (3.2.2)
coffee-script (>= 2.2.0)
railties (~> 3.2.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.3.3)
coffee-script-source (1.4.0)
commonjs (0.2.6)
daemons (1.1.9)
diff-lcs (1.1.3)
ejs (1.0.0)
em-websocket (0.3.6)
addressable (>= 2.1.1)
eventmachine (>= 0.12.9)
erubis (2.7.0)
eventmachine (1.0.0)
execjs (1.4.0)
multi_json (~> 1.0)
ffi (1.1.5)
guard (1.5.2)
listen (>= 0.4.2)
lumberjack (>= 1.0.2)
pry (>= 0.9.10)
thor (>= 0.14.6)
guard-coffeescript (0.5.4)
coffee-script (>= 2.2.0)
guard (>= 0.8.3)
guard-jasmine (1.9.3)
childprocess
guard (>= 1.1.0)
multi_json
thor
guard-livereload (0.4.2)
em-websocket (>= 0.2.0)
guard (>= 0.10.0)
multi_json (~> 1.0)
haml (3.1.7)
hike (1.2.1)
i18n (0.6.1)
jasmine (1.2.1)
jasmine-core (>= 1.2.0)
rack (~> 1.0)
rspec (>= 1.3.1)
selenium-webdriver (>= 0.1.3)
jasmine-core (1.2.0)
jasminerice (0.0.10)
coffee-rails
haml
journey (1.0.4)
jquery-rails (2.1.3)
railties (>= 3.1.0, < 5.0)
thor (~> 0.14)
json (1.7.5)
less (2.2.2)
commonjs (~> 0.2.6)
less-rails (2.2.3)
less-rails (2.2.5)
actionpack (>= 3.1)
less (~> 2.2.0)
libv8 (3.3.10.4)
libwebsocket (0.1.5)
addressable
listen (0.5.3)
lumberjack (1.0.2)
mail (2.4.4)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
method_source (0.8.1)
mime-types (1.19)
multi_json (1.3.6)
pg (0.14.1)
polyglot (0.3.3)
pry (0.9.10)
coderay (~> 1.0.5)
method_source (~> 0.8)
slop (~> 3.3.1)
rack (1.4.1)
rack-cache (1.2)
rack (>= 0.4)
Expand Down Expand Up @@ -94,11 +139,26 @@ GEM
rake (0.9.2.2)
rdoc (3.12)
json (~> 1.4)
rspec (2.11.0)
rspec-core (~> 2.11.0)
rspec-expectations (~> 2.11.0)
rspec-mocks (~> 2.11.0)
rspec-core (2.11.1)
rspec-expectations (2.11.3)
diff-lcs (~> 1.1.3)
rspec-mocks (2.11.3)
rubyzip (0.9.9)
sass (3.2.1)
sass-rails (3.2.5)
railties (~> 3.2.0)
sass (>= 3.1.10)
tilt (~> 1.3)
selenium-webdriver (2.25.0)
childprocess (>= 0.2.5)
libwebsocket (~> 0.1.3)
multi_json (~> 1.0)
rubyzip
slop (3.3.3)
sprockets (2.1.3)
hike (~> 1.2)
rack (~> 1.0)
Expand All @@ -112,15 +172,15 @@ GEM
rack (>= 1.0.0)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.11)
treetop (1.4.12)
polyglot
polyglot (>= 0.3.1)
twitter-bootstrap-rails (2.1.3)
twitter-bootstrap-rails (2.1.4)
actionpack (>= 3.1)
less-rails (~> 2.2.3)
railties (>= 3.1)
therubyracer (~> 0.10.2)
tzinfo (0.3.33)
therubyracer (>= 0.10.2)
tzinfo (0.3.34)
uglifier (1.3.0)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
Expand All @@ -130,6 +190,12 @@ PLATFORMS

DEPENDENCIES
coffee-rails (~> 3.2.1)
guard
guard-coffeescript
guard-jasmine
guard-livereload
jasmine
jasminerice
jquery-rails
pg
rails (= 3.2.2)
Expand Down
11 changes: 10 additions & 1 deletion Gemfile~
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
source 'https://rubygems.org'

gem 'rails', '3.2.1'
gem 'rails', '3.2.2'

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

group :development, :test do
gem 'jasmine'
gem 'jasminerice'
gem 'guard'
gem 'guard-jasmine'
gem 'guard-coffeescript'
gem 'guard-livereload'
gem 'sqlite3'
end



group :production do
gem 'pg'
end
Expand All @@ -23,6 +31,7 @@ group :assets do
# gem 'therubyracer'

gem 'uglifier', '>= 1.0.3'

end

gem 'jquery-rails'
Expand Down
22 changes: 22 additions & 0 deletions Guardfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@


guard 'livereload' do
watch(%r{app/views/.+\.(erb|haml|slim)})
watch(%r{app/helpers/.+\.rb})
watch(%r{public/.+\.(css|js|html)})
watch(%r{config/locales/.+\.yml})
# Rails Assets Pipeline
watch(%r{(app|vendor)/assets/\w+/(.+\.(css|js|html)).*}) { |m| "/assets/#{m[2]}" }
end

guard :jasmine do
watch(%r{spec/javascripts/spec\.(js\.coffee|js|coffee)$}) { 'spec/javascripts' }
watch(%r{spec/javascripts/.+_spec\.(js\.coffee|js|coffee)$})
watch(%r{app/assets/javascripts/(.+?)\.(js\.coffee|js|coffee)(?:\.\w+)*$}) { |m| "spec/javascripts/#{ m[1] }_spec.#{ m[2] }" }
end

guard :jasmine do
watch(%r{spec/javascripts/spec\.(js\.coffee|js|coffee)$}) { 'spec/javascripts' }
watch(%r{spec/javascripts/.+_spec\.(js\.coffee|js|coffee)$})
watch(%r{app/assets/javascripts/(.+?)\.(js\.coffee|js|coffee)(?:\.\w+)*$}) { |m| "spec/javascripts/#{ m[1] }_spec.#{ m[2] }" }
end
22 changes: 22 additions & 0 deletions Guardfile~
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@


guard 'livereload' do
watch(%r{app/views/.+\.(erb|haml|slim)})
watch(%r{app/helpers/.+\.rb})
watch(%r{public/.+\.(css|js|html)})
watch(%r{config/locales/.+\.yml})
# Rails Assets Pipeline
watch(%r{(app|vendor)/assets/\w+/(.+\.(css|js|html)).*}) { |m| "/assets/#{m[2]}" }
end

guard :jasmine do
watch(%r{spec/javascripts/spec\.(js\.coffee|js|coffee)$}) { 'spec/javascripts' }
watch(%r{spec/javascripts/.+_spec\.(js\.coffee|js|coffee)$})
watch(%r{app/assets/javascripts/(.+?)\.(js\.coffee|js|coffee)(?:\.\w+)*$}) { |m| "spec/javascripts/#{ m[1] }_spec.#{ m[2] }" }
end

guard :jasmine do
watch(%r{spec/javascripts/spec\.(js\.coffee|js|coffee)$}) { 'spec/javascripts' }
watch(%r{spec/javascripts/.+_spec\.(js\.coffee|js|coffee)$})
watch(%r{app/assets/javascripts/(.+?)\.(js\.coffee|js|coffee)(?:\.\w+)*$}) { |m| "spec/javascripts/#{ m[1] }_spec.#{ m[2] }" }
end
5 changes: 0 additions & 5 deletions app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,4 @@
//= require backbone_datalink
//= require backbone-localstorage
//= require backbone/rails_backbone_relational
//= require underscore
//= require backbone
//= require backbone_rails_sync
//= require backbone_datalink
//= require backbone/rails_backbone_relational
//= require_tree .
9 changes: 3 additions & 6 deletions app/assets/javascripts/application.js~
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This is a manifest file that'll be compiled into application.js, which will include all the files
/// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
Expand All @@ -12,16 +12,13 @@
//
//= require jquery
//= require jquery_ujs
//= require twitter/bootstrap
//= require underscore
//= require backbone
//= require backbone-relational
//= require backbone_rails_sync
//= require backbone_datalink
//= require backbone-localstorage
//= require backbone/rails_backbone_relational
//= require underscore
//= require backbone
//= require backbone_rails_sync
//= require backbone_datalink
//= require backbone/rails_backbone_relational
//= require_tree .
alert('app')
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@



<input class='span6' height='1em' type='text' value='<%= obj.title %>'></input>


<input height='1em' class='span3' name="content" value='<%= obj.content %>' />

<input height='1em' name="content" value='<%= obj.content %>' />

<textarea rows="2" cols="20" class='content' name="content" value='<%= obj.content %>' />
<input height='1em' type='text' value='<%= obj.title %>'></input>



Expand All @@ -17,6 +18,9 @@




<input class="btn save" type="button" value="<%= obj2 %>">

<div class="btn-group todo-array " <%= obj.direction ? 'dir="rtl"' : '' %> >

<%= listed2 %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,28 @@



<input class='span6' height='1em' type='text' value='<%= obj.title %>'></input>


<input height='1em' class='span3' name="content" value='<%= obj.content %>' />

<input height='1em' name="content" value='<%= obj.content %>' />

<textarea rows="2" cols="20" class='content' name="content" value='<%= obj.content %>' />
<input height='1em' type='text' value='<%= obj.title %>'></input>



<input rows="1" type="checkbox" name="direction" class="direction" <%= obj.direction ? 'checked="checked"' : '' %> />



<input width='0px' class="btn save" type="button" value="<%= obj2 %>" />

<button width='0px' class="btn save" type="submit">
<%= obj2 %>
</button>

<input class="btn save" type="button" value="<%= obj2 %>">

<div class="btn-group todo-array " <%= obj.direction ? 'direction="rtl"' : '' %> >
<div class="btn-group todo-array " <%= obj.direction ? 'dir="rtl"' : '' %> >

<%= listed2 %>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="form span3">
<div class="new_comment form span3">


<form class="field1" height='1em' >
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="span3">
<div class="new-comment form span3">


<form class="field1" height='1em' >
Expand Down
Loading

0 comments on commit fedc201

Please sign in to comment.