crest_in_place 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +12 -0
- data/.rspec +1 -0
- data/.travis.yml +13 -0
- data/CHANGELOG.md +36 -0
- data/Gemfile +9 -0
- data/README.md +440 -0
- data/Rakefile +8 -0
- data/crest_in_place-2.1.0.gem +0 -0
- data/crest_in_place.gemspec +28 -0
- data/lib/assets/javascripts/best_in_place.js +740 -0
- data/lib/assets/javascripts/best_in_place.purr.js +10 -0
- data/lib/assets/javascripts/jquery.purr.js +135 -0
- data/lib/crest_in_place.rb +12 -0
- data/lib/crest_in_place/check_version.rb +8 -0
- data/lib/crest_in_place/controller_extensions.rb +28 -0
- data/lib/crest_in_place/display_methods.rb +44 -0
- data/lib/crest_in_place/engine.rb +8 -0
- data/lib/crest_in_place/helper.rb +132 -0
- data/lib/crest_in_place/railtie.rb +7 -0
- data/lib/crest_in_place/test_helpers.rb +42 -0
- data/lib/crest_in_place/utils.rb +21 -0
- data/lib/crest_in_place/version.rb +3 -0
- data/spec/helpers/best_in_place_spec.rb +429 -0
- data/spec/integration/double_init_spec.rb +34 -0
- data/spec/integration/js_spec.rb +1041 -0
- data/spec/integration/live_spec.rb +40 -0
- data/spec/integration/text_area_spec.rb +40 -0
- data/spec/spec_helper.rb +26 -0
- data/spec/support/retry_on_timeout.rb +10 -0
- data/test_app/Gemfile +16 -0
- data/test_app/README +256 -0
- data/test_app/Rakefile +7 -0
- data/test_app/app/assets/images/no.png +0 -0
- data/test_app/app/assets/images/red_pen.png +0 -0
- data/test_app/app/assets/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/test_app/app/assets/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/test_app/app/assets/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/test_app/app/assets/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/test_app/app/assets/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/test_app/app/assets/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/test_app/app/assets/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/test_app/app/assets/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/test_app/app/assets/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/test_app/app/assets/images/ui-icons_222222_256x240.png +0 -0
- data/test_app/app/assets/images/ui-icons_228ef1_256x240.png +0 -0
- data/test_app/app/assets/images/ui-icons_ef8c08_256x240.png +0 -0
- data/test_app/app/assets/images/ui-icons_ffd27a_256x240.png +0 -0
- data/test_app/app/assets/images/ui-icons_ffffff_256x240.png +0 -0
- data/test_app/app/assets/images/yes.png +0 -0
- data/test_app/app/assets/javascripts/application.js +35 -0
- data/test_app/app/assets/stylesheets/.gitkeep +0 -0
- data/test_app/app/assets/stylesheets/jquery-ui-1.8.16.custom.css.erb +357 -0
- data/test_app/app/assets/stylesheets/scaffold.css +60 -0
- data/test_app/app/assets/stylesheets/style.css.erb +87 -0
- data/test_app/app/controllers/admin/users_controller.rb +14 -0
- data/test_app/app/controllers/application_controller.rb +3 -0
- data/test_app/app/controllers/cuca/cars_controller.rb +16 -0
- data/test_app/app/controllers/users_controller.rb +99 -0
- data/test_app/app/helpers/application_helper.rb +2 -0
- data/test_app/app/helpers/users_helper.rb +29 -0
- data/test_app/app/models/cuca/car.rb +5 -0
- data/test_app/app/models/user.rb +27 -0
- data/test_app/app/views/admin/users/show.html.erb +20 -0
- data/test_app/app/views/cuca/cars/show.html.erb +13 -0
- data/test_app/app/views/layouts/application.html.erb +14 -0
- data/test_app/app/views/users/_form.html.erb +51 -0
- data/test_app/app/views/users/double_init.html.erb +72 -0
- data/test_app/app/views/users/edit.html.erb +5 -0
- data/test_app/app/views/users/email_field.html.erb +1 -0
- data/test_app/app/views/users/index.html.erb +25 -0
- data/test_app/app/views/users/new.html.erb +5 -0
- data/test_app/app/views/users/show.html.erb +141 -0
- data/test_app/app/views/users/show_ajax.html.erb +12 -0
- data/test_app/config.ru +4 -0
- data/test_app/config/application.rb +51 -0
- data/test_app/config/boot.rb +13 -0
- data/test_app/config/database.yml +22 -0
- data/test_app/config/environment.rb +5 -0
- data/test_app/config/environments/development.rb +25 -0
- data/test_app/config/environments/production.rb +49 -0
- data/test_app/config/environments/test.rb +35 -0
- data/test_app/config/initializers/backtrace_silencers.rb +7 -0
- data/test_app/config/initializers/countries.rb +1 -0
- data/test_app/config/initializers/default_date_format.rb +2 -0
- data/test_app/config/initializers/inflections.rb +10 -0
- data/test_app/config/initializers/mime_types.rb +5 -0
- data/test_app/config/initializers/secret_token.rb +7 -0
- data/test_app/config/initializers/session_store.rb +8 -0
- data/test_app/config/locales/en.yml +5 -0
- data/test_app/config/routes.rb +20 -0
- data/test_app/db/migrate/20101206205922_create_users.rb +18 -0
- data/test_app/db/migrate/20101212170114_add_receive_email_to_user.rb +9 -0
- data/test_app/db/migrate/20110115204441_add_description_to_user.rb +9 -0
- data/test_app/db/migrate/20111210084202_add_favorite_color_to_users.rb +5 -0
- data/test_app/db/migrate/20111210084251_add_favorite_books_to_users.rb +5 -0
- data/test_app/db/migrate/20111217215935_add_birth_date_to_users.rb +5 -0
- data/test_app/db/migrate/20111224181356_add_money_to_user.rb +5 -0
- data/test_app/db/migrate/20120513003308_create_cars.rb +11 -0
- data/test_app/db/migrate/20120607172609_add_favorite_movie_to_users.rb +5 -0
- data/test_app/db/migrate/20120616170454_add_money_proc_to_users.rb +6 -0
- data/test_app/db/migrate/20120620165212_add_height_to_user.rb +5 -0
- data/test_app/db/migrate/20130213224102_add_favorite_locale_to_users.rb +5 -0
- data/test_app/db/schema.rb +41 -0
- data/test_app/db/seeds.rb +19 -0
- data/test_app/doc/README_FOR_APP +2 -0
- data/test_app/lib/tasks/.gitkeep +0 -0
- data/test_app/lib/tasks/cron.rake +7 -0
- data/test_app/public/404.html +26 -0
- data/test_app/public/422.html +26 -0
- data/test_app/public/500.html +26 -0
- data/test_app/public/favicon.ico +0 -0
- data/test_app/public/robots.txt +5 -0
- data/test_app/script/rails +6 -0
- data/test_app/test/fixtures/users.yml +17 -0
- data/test_app/test/functional/users_controller_test.rb +49 -0
- data/test_app/test/performance/browsing_test.rb +9 -0
- data/test_app/test/test_helper.rb +13 -0
- data/test_app/test/unit/helpers/users_helper_test.rb +4 -0
- data/test_app/test/unit/user_test.rb +8 -0
- data/test_app/vendor/plugins/.gitkeep +0 -0
- metadata +256 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# This file should contain all the record creation needed to seed the database with its default values.
|
3
|
+
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
|
4
|
+
#
|
5
|
+
# Examples:
|
6
|
+
#
|
7
|
+
# cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
|
8
|
+
# Mayor.create(:name => 'Daley', :city => cities.first)
|
9
|
+
|
10
|
+
User.delete_all
|
11
|
+
|
12
|
+
User.create!(:name => "Lucia", :last_name => "Napoli", :email => "lucianapoli@gmail.com", :address => "Via Roma 99", :zip => "25123", :country => "1", :receive_email => false, :birth_date => Date.today - 21.years, :description => "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus a lectus et lacus ultrices auctor. Morbi aliquet convallis tincidunt. Praesent enim libero, iaculis at commodo nec, fermentum a dolor. Quisque eget eros id felis lacinia faucibus feugiat et ante. Aenean justo nisi, aliquam vel egestas vel, porta in ligula. Etiam molestie, lacus eget tincidunt accumsan, elit justo rhoncus urna, nec pretium neque mi et lorem. Aliquam posuere, dolor quis pulvinar luctus, felis dolor tincidunt leo, eget pretium orci purus ac nibh. Ut enim sem, suscipit ac elementum vitae, sodales vel sem.")
|
13
|
+
User.create!(:name => "Carmen", :last_name => "Luciago", :email => "carmen@luciago.com", :address => "c/Ambrosio 10", :zip => "21333", :country => "2", :receive_email => true, :birth_date => Date.today - 18.years, :description => "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus a lectus et lacus ultrices auctor. Morbi aliquet convallis tincidunt. Praesent enim libero, iaculis at commodo nec, fermentum a dolor. Quisque eget eros id felis lacinia faucibus feugiat et ante. Aenean justo nisi, aliquam vel egestas vel, porta in ligula. Etiam molestie, lacus eget tincidunt accumsan, elit justo rhoncus urna, nec pretium neque mi et lorem. Aliquam posuere, dolor quis pulvinar luctus, felis dolor tincidunt leo, eget pretium orci purus ac nibh. Ut enim sem, suscipit ac elementum vitae, sodales vel sem.")
|
14
|
+
User.create!(:name => "Angels", :last_name => "Domènech", :email => "angels@gmail.com", :address => "Avinguda Sant Andreu 1", :zip => "08033", :country => "3", :receive_email => false, :birth_date => Date.today - 65.years, :description => "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus a lectus et lacus ultrices auctor. Morbi aliquet convallis tincidunt. Praesent enim libero, iaculis at commodo nec, fermentum a dolor. Quisque eget eros id felis lacinia faucibus feugiat et ante. Aenean justo nisi, aliquam vel egestas vel, porta in ligula. Etiam molestie, lacus eget tincidunt accumsan, elit justo rhoncus urna, nec pretium neque mi et lorem. Aliquam posuere, dolor quis pulvinar luctus, felis dolor tincidunt leo, eget pretium orci purus ac nibh. Ut enim sem, suscipit ac elementum vitae, sodales vel sem.")
|
15
|
+
User.create!(:name => "Dominic", :last_name => "Lepoin", :email => "dominiclepoin@gmail.com", :address => "Rue Tour Eiffel 4993", :zip => "11192", :country => "4", :receive_email => true, :birth_date => Date.today - 40.years, :description => "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus a lectus et lacus ultrices auctor. Morbi aliquet convallis tincidunt. Praesent enim libero, iaculis at commodo nec, fermentum a dolor. Quisque eget eros id felis lacinia faucibus feugiat et ante. Aenean justo nisi, aliquam vel egestas vel, porta in ligula. Etiam molestie, lacus eget tincidunt accumsan, elit justo rhoncus urna, nec pretium neque mi et lorem. Aliquam posuere, dolor quis pulvinar luctus, felis dolor tincidunt leo, eget pretium orci purus ac nibh. Ut enim sem, suscipit ac elementum vitae, sodales vel sem.")
|
16
|
+
|
17
|
+
|
18
|
+
Cuca::Car.delete_all
|
19
|
+
Cuca::Car.create! :model => "Ford"
|
File without changes
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/404.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/422.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
File without changes
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
2
|
+
|
3
|
+
one:
|
4
|
+
name: testy
|
5
|
+
last_name: tester
|
6
|
+
address: 123 main st
|
7
|
+
email: testytester@example.com
|
8
|
+
zip: 12345
|
9
|
+
country: 1
|
10
|
+
|
11
|
+
two:
|
12
|
+
name: mystery
|
13
|
+
last_name: man
|
14
|
+
address: PO Box 0, Nowhere
|
15
|
+
email: misterioso@example.com
|
16
|
+
zip: 99999
|
17
|
+
country:
|
@@ -0,0 +1,49 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class UsersControllerTest < ActionController::TestCase
|
4
|
+
setup do
|
5
|
+
@user = users(:one)
|
6
|
+
end
|
7
|
+
|
8
|
+
test "should get index" do
|
9
|
+
get :index
|
10
|
+
assert_response :success
|
11
|
+
assert_not_nil assigns(:users)
|
12
|
+
end
|
13
|
+
|
14
|
+
test "should get new" do
|
15
|
+
get :new
|
16
|
+
assert_response :success
|
17
|
+
end
|
18
|
+
|
19
|
+
test "should create user" do
|
20
|
+
assert_difference('User.count') do
|
21
|
+
post :create, :user => @user.attributes
|
22
|
+
end
|
23
|
+
|
24
|
+
assert_redirected_to user_path(assigns(:user))
|
25
|
+
end
|
26
|
+
|
27
|
+
test "should show user" do
|
28
|
+
get :show, :id => @user.to_param
|
29
|
+
assert_response :success
|
30
|
+
end
|
31
|
+
|
32
|
+
test "should get edit" do
|
33
|
+
get :edit, :id => @user.to_param
|
34
|
+
assert_response :success
|
35
|
+
end
|
36
|
+
|
37
|
+
test "should update user" do
|
38
|
+
put :update, :id => @user.to_param, :user => @user.attributes
|
39
|
+
assert_redirected_to user_path(assigns(:user))
|
40
|
+
end
|
41
|
+
|
42
|
+
test "should destroy user" do
|
43
|
+
assert_difference('User.count', -1) do
|
44
|
+
delete :destroy, :id => @user.to_param
|
45
|
+
end
|
46
|
+
|
47
|
+
assert_redirected_to users_path
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
ENV["RAILS_ENV"] = "test"
|
2
|
+
require File.expand_path('../../config/environment', __FILE__)
|
3
|
+
require 'rails/test_help'
|
4
|
+
|
5
|
+
class ActiveSupport::TestCase
|
6
|
+
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
|
7
|
+
#
|
8
|
+
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
9
|
+
# -- they do not yet inherit this setting
|
10
|
+
fixtures :all
|
11
|
+
|
12
|
+
# Add more helper methods to be used by all tests here...
|
13
|
+
end
|
File without changes
|
metadata
ADDED
@@ -0,0 +1,256 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: crest_in_place
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.2.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Chris Danzig
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2014-02-18 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '3.1'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.1'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: jquery-rails
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rspec-rails
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 2.8.0
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 2.8.0
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: nokogiri
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: capybara
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 1.1.2
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 1.1.2
|
94
|
+
description: CrestInPlace is a jQuery script and a Rails 3 helper that provide the
|
95
|
+
method best_in_place to display any object field easily editable for the user by
|
96
|
+
just clicking on it. It supports input data, text data, boolean data and custom
|
97
|
+
dropdown data. It works with RESTful controllers.
|
98
|
+
email:
|
99
|
+
- chris@danzigmedia.com
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- .gitignore
|
105
|
+
- .rspec
|
106
|
+
- .travis.yml
|
107
|
+
- CHANGELOG.md
|
108
|
+
- Gemfile
|
109
|
+
- README.md
|
110
|
+
- Rakefile
|
111
|
+
- crest_in_place-2.1.0.gem
|
112
|
+
- crest_in_place.gemspec
|
113
|
+
- lib/assets/javascripts/best_in_place.js
|
114
|
+
- lib/assets/javascripts/best_in_place.purr.js
|
115
|
+
- lib/assets/javascripts/jquery.purr.js
|
116
|
+
- lib/crest_in_place.rb
|
117
|
+
- lib/crest_in_place/check_version.rb
|
118
|
+
- lib/crest_in_place/controller_extensions.rb
|
119
|
+
- lib/crest_in_place/display_methods.rb
|
120
|
+
- lib/crest_in_place/engine.rb
|
121
|
+
- lib/crest_in_place/helper.rb
|
122
|
+
- lib/crest_in_place/railtie.rb
|
123
|
+
- lib/crest_in_place/test_helpers.rb
|
124
|
+
- lib/crest_in_place/utils.rb
|
125
|
+
- lib/crest_in_place/version.rb
|
126
|
+
- spec/helpers/best_in_place_spec.rb
|
127
|
+
- spec/integration/double_init_spec.rb
|
128
|
+
- spec/integration/js_spec.rb
|
129
|
+
- spec/integration/live_spec.rb
|
130
|
+
- spec/integration/text_area_spec.rb
|
131
|
+
- spec/spec_helper.rb
|
132
|
+
- spec/support/retry_on_timeout.rb
|
133
|
+
- test_app/Gemfile
|
134
|
+
- test_app/README
|
135
|
+
- test_app/Rakefile
|
136
|
+
- test_app/app/assets/images/no.png
|
137
|
+
- test_app/app/assets/images/red_pen.png
|
138
|
+
- test_app/app/assets/images/ui-bg_diagonals-thick_18_b81900_40x40.png
|
139
|
+
- test_app/app/assets/images/ui-bg_diagonals-thick_20_666666_40x40.png
|
140
|
+
- test_app/app/assets/images/ui-bg_flat_10_000000_40x100.png
|
141
|
+
- test_app/app/assets/images/ui-bg_glass_100_f6f6f6_1x400.png
|
142
|
+
- test_app/app/assets/images/ui-bg_glass_100_fdf5ce_1x400.png
|
143
|
+
- test_app/app/assets/images/ui-bg_glass_65_ffffff_1x400.png
|
144
|
+
- test_app/app/assets/images/ui-bg_gloss-wave_35_f6a828_500x100.png
|
145
|
+
- test_app/app/assets/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
|
146
|
+
- test_app/app/assets/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
|
147
|
+
- test_app/app/assets/images/ui-icons_222222_256x240.png
|
148
|
+
- test_app/app/assets/images/ui-icons_228ef1_256x240.png
|
149
|
+
- test_app/app/assets/images/ui-icons_ef8c08_256x240.png
|
150
|
+
- test_app/app/assets/images/ui-icons_ffd27a_256x240.png
|
151
|
+
- test_app/app/assets/images/ui-icons_ffffff_256x240.png
|
152
|
+
- test_app/app/assets/images/yes.png
|
153
|
+
- test_app/app/assets/javascripts/application.js
|
154
|
+
- test_app/app/assets/stylesheets/.gitkeep
|
155
|
+
- test_app/app/assets/stylesheets/jquery-ui-1.8.16.custom.css.erb
|
156
|
+
- test_app/app/assets/stylesheets/scaffold.css
|
157
|
+
- test_app/app/assets/stylesheets/style.css.erb
|
158
|
+
- test_app/app/controllers/admin/users_controller.rb
|
159
|
+
- test_app/app/controllers/application_controller.rb
|
160
|
+
- test_app/app/controllers/cuca/cars_controller.rb
|
161
|
+
- test_app/app/controllers/users_controller.rb
|
162
|
+
- test_app/app/helpers/application_helper.rb
|
163
|
+
- test_app/app/helpers/users_helper.rb
|
164
|
+
- test_app/app/models/cuca/car.rb
|
165
|
+
- test_app/app/models/user.rb
|
166
|
+
- test_app/app/views/admin/users/show.html.erb
|
167
|
+
- test_app/app/views/cuca/cars/show.html.erb
|
168
|
+
- test_app/app/views/layouts/application.html.erb
|
169
|
+
- test_app/app/views/users/_form.html.erb
|
170
|
+
- test_app/app/views/users/double_init.html.erb
|
171
|
+
- test_app/app/views/users/edit.html.erb
|
172
|
+
- test_app/app/views/users/email_field.html.erb
|
173
|
+
- test_app/app/views/users/index.html.erb
|
174
|
+
- test_app/app/views/users/new.html.erb
|
175
|
+
- test_app/app/views/users/show.html.erb
|
176
|
+
- test_app/app/views/users/show_ajax.html.erb
|
177
|
+
- test_app/config.ru
|
178
|
+
- test_app/config/application.rb
|
179
|
+
- test_app/config/boot.rb
|
180
|
+
- test_app/config/database.yml
|
181
|
+
- test_app/config/environment.rb
|
182
|
+
- test_app/config/environments/development.rb
|
183
|
+
- test_app/config/environments/production.rb
|
184
|
+
- test_app/config/environments/test.rb
|
185
|
+
- test_app/config/initializers/backtrace_silencers.rb
|
186
|
+
- test_app/config/initializers/countries.rb
|
187
|
+
- test_app/config/initializers/default_date_format.rb
|
188
|
+
- test_app/config/initializers/inflections.rb
|
189
|
+
- test_app/config/initializers/mime_types.rb
|
190
|
+
- test_app/config/initializers/secret_token.rb
|
191
|
+
- test_app/config/initializers/session_store.rb
|
192
|
+
- test_app/config/locales/en.yml
|
193
|
+
- test_app/config/routes.rb
|
194
|
+
- test_app/db/migrate/20101206205922_create_users.rb
|
195
|
+
- test_app/db/migrate/20101212170114_add_receive_email_to_user.rb
|
196
|
+
- test_app/db/migrate/20110115204441_add_description_to_user.rb
|
197
|
+
- test_app/db/migrate/20111210084202_add_favorite_color_to_users.rb
|
198
|
+
- test_app/db/migrate/20111210084251_add_favorite_books_to_users.rb
|
199
|
+
- test_app/db/migrate/20111217215935_add_birth_date_to_users.rb
|
200
|
+
- test_app/db/migrate/20111224181356_add_money_to_user.rb
|
201
|
+
- test_app/db/migrate/20120513003308_create_cars.rb
|
202
|
+
- test_app/db/migrate/20120607172609_add_favorite_movie_to_users.rb
|
203
|
+
- test_app/db/migrate/20120616170454_add_money_proc_to_users.rb
|
204
|
+
- test_app/db/migrate/20120620165212_add_height_to_user.rb
|
205
|
+
- test_app/db/migrate/20130213224102_add_favorite_locale_to_users.rb
|
206
|
+
- test_app/db/schema.rb
|
207
|
+
- test_app/db/seeds.rb
|
208
|
+
- test_app/doc/README_FOR_APP
|
209
|
+
- test_app/lib/tasks/.gitkeep
|
210
|
+
- test_app/lib/tasks/cron.rake
|
211
|
+
- test_app/public/404.html
|
212
|
+
- test_app/public/422.html
|
213
|
+
- test_app/public/500.html
|
214
|
+
- test_app/public/favicon.ico
|
215
|
+
- test_app/public/robots.txt
|
216
|
+
- test_app/script/rails
|
217
|
+
- test_app/test/fixtures/users.yml
|
218
|
+
- test_app/test/functional/users_controller_test.rb
|
219
|
+
- test_app/test/performance/browsing_test.rb
|
220
|
+
- test_app/test/test_helper.rb
|
221
|
+
- test_app/test/unit/helpers/users_helper_test.rb
|
222
|
+
- test_app/test/unit/user_test.rb
|
223
|
+
- test_app/vendor/plugins/.gitkeep
|
224
|
+
homepage: https://github.com/cdanzig/best_in_place
|
225
|
+
licenses: []
|
226
|
+
post_install_message:
|
227
|
+
rdoc_options: []
|
228
|
+
require_paths:
|
229
|
+
- lib
|
230
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
231
|
+
none: false
|
232
|
+
requirements:
|
233
|
+
- - ! '>='
|
234
|
+
- !ruby/object:Gem::Version
|
235
|
+
version: '0'
|
236
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
237
|
+
none: false
|
238
|
+
requirements:
|
239
|
+
- - ! '>='
|
240
|
+
- !ruby/object:Gem::Version
|
241
|
+
version: '0'
|
242
|
+
requirements: []
|
243
|
+
rubyforge_project: crest_in_place
|
244
|
+
rubygems_version: 1.8.24
|
245
|
+
signing_key:
|
246
|
+
specification_version: 3
|
247
|
+
summary: It makes any field in place editable by clicking on it, it works for inputs,
|
248
|
+
textareas, select dropdowns and checkboxes
|
249
|
+
test_files:
|
250
|
+
- spec/helpers/best_in_place_spec.rb
|
251
|
+
- spec/integration/double_init_spec.rb
|
252
|
+
- spec/integration/js_spec.rb
|
253
|
+
- spec/integration/live_spec.rb
|
254
|
+
- spec/integration/text_area_spec.rb
|
255
|
+
- spec/spec_helper.rb
|
256
|
+
- spec/support/retry_on_timeout.rb
|