watarase 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +156 -0
- data/Rakefile +32 -0
- data/lib/tasks/watarase_tasks.rake +4 -0
- data/lib/watarase.rb +28 -0
- data/lib/watarase/controller.rb +49 -0
- data/lib/watarase/generators/uploader/uploader_generator.rb +45 -0
- data/lib/watarase/model.rb +20 -0
- data/lib/watarase/version.rb +3 -0
- data/test/dummy/Gemfile +40 -0
- data/test/dummy/Gemfile.lock +120 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/images/rails.png +0 -0
- data/test/dummy/app/assets/javascripts/application.js +16 -0
- data/test/dummy/app/assets/javascripts/users.js.coffee +3 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/assets/stylesheets/scaffolds.css.scss +69 -0
- data/test/dummy/app/assets/stylesheets/users.css.scss +3 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/controllers/users_controller.rb +80 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/helpers/users_helper.rb +5 -0
- data/test/dummy/app/models/user.rb +4 -0
- data/test/dummy/app/models/user_image_holder.rb +18 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/users/_form.html.erb +31 -0
- data/test/dummy/app/views/users/edit.html.erb +6 -0
- data/test/dummy/app/views/users/index.html.erb +31 -0
- data/test/dummy/app/views/users/index.json.jbuilder +4 -0
- data/test/dummy/app/views/users/new.html.erb +5 -0
- data/test/dummy/app/views/users/show.html.erb +10 -0
- data/test/dummy/app/views/users/show.json.jbuilder +1 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +25 -0
- data/test/dummy/config/boot.rb +6 -0
- data/test/dummy/config/database.yml +60 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +27 -0
- data/test/dummy/config/environments/production.rb +80 -0
- data/test/dummy/config/environments/test.rb +36 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +12 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +55 -0
- data/test/dummy/db/migrate/20130316163018_create_users.rb +11 -0
- data/test/dummy/db/migrate/20130318134905_create_user_image_holders.rb +13 -0
- data/test/dummy/db/schema.rb +42 -0
- data/test/dummy/db/seeds.rb +7 -0
- data/test/dummy/log/development.log +6173 -0
- data/test/dummy/log/test.log +4039 -0
- data/test/dummy/public/404.html +27 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +26 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/public/robots.txt +5 -0
- data/test/dummy/test/controllers/users_controller_test.rb +59 -0
- data/test/dummy/test/fixtures/images/default.png +0 -0
- data/test/dummy/test/fixtures/user_image_holders.yml +22 -0
- data/test/dummy/test/fixtures/users.yml +7 -0
- data/test/dummy/test/helpers/users_helper_test.rb +4 -0
- data/test/dummy/test/models/user_image_holder_test.rb +7 -0
- data/test/dummy/test/models/user_test.rb +7 -0
- data/test/dummy/test/test_helper.rb +15 -0
- data/test/dummy/tmp/cache/assets/development/sass/d65fc20612cada6cf950acc42e8249eabf15168c/scaffolds.css.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/d65fc20612cada6cf950acc42e8249eabf15168c/users.css.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/10fcfbe6ebae11a40c8eac41939a1b9a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4ad413f3e3326481d2f5f9327bbd0e12 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/639464835e9b3e69e17ff82198bb49d4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6c0f2a2c7346b84a92e2cb81473e251b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/85ae64edf528ce6e981889f3f3c285d9 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/977ead1d20bc9f7e1c191bd4348f9e3a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/981fdf59c6c819da5a85424ee749e704 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/af0b8e0d6ae482cd467cf7ca6cf461ba +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bd3936370d0f952ada5774e2230046ed +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/be10cf0a459c2397da8192966ed4ae50 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cf0fb9efef3ee1bf2ea2c3e108dee600 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d46c90159d299e62b189c080134dba53 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d5c7928882375575ed61c458a61defcf +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/df8b2265598a7cf1f0db49c6169b3031 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e2e8f7f4c2e46b20bbaa95d67e83c41e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e459168835a5f27b832ace20874f7c10 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e7726188d3504b41f9ac5e31d1eedea7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/fb009e9fefe26f5f83de37860988c77d +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/d65fc20612cada6cf950acc42e8249eabf15168c/scaffolds.css.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/d65fc20612cada6cf950acc42e8249eabf15168c/users.css.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/10fcfbe6ebae11a40c8eac41939a1b9a +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/4ad413f3e3326481d2f5f9327bbd0e12 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/6c0f2a2c7346b84a92e2cb81473e251b +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/85ae64edf528ce6e981889f3f3c285d9 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/977ead1d20bc9f7e1c191bd4348f9e3a +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/af0b8e0d6ae482cd467cf7ca6cf461ba +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/bd3936370d0f952ada5774e2230046ed +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/be10cf0a459c2397da8192966ed4ae50 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cf0fb9efef3ee1bf2ea2c3e108dee600 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d46c90159d299e62b189c080134dba53 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/e7726188d3504b41f9ac5e31d1eedea7 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/fb009e9fefe26f5f83de37860988c77d +0 -0
- data/test/test_helper.rb +27 -0
- data/test/watarase_test.rb +27 -0
- metadata +316 -0
@@ -0,0 +1,27 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style>
|
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
|
+
<p>If you are the application owner check the logs for more information.</p>
|
26
|
+
</body>
|
27
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style>
|
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>
|
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
|
+
</div>
|
24
|
+
<p>If you are the application owner check the logs for more information.</p>
|
25
|
+
</body>
|
26
|
+
</html>
|
File without changes
|
@@ -0,0 +1,59 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class UsersControllerTest < ActionController::TestCase
|
4
|
+
setup do
|
5
|
+
@user = users(:one)
|
6
|
+
user_image_holder = user_image_holders(:one)
|
7
|
+
@user.user_image_holder = user_image_holder
|
8
|
+
end
|
9
|
+
|
10
|
+
test "should get index" do
|
11
|
+
get :index
|
12
|
+
assert_response :success
|
13
|
+
assert_not_nil assigns(:users)
|
14
|
+
end
|
15
|
+
|
16
|
+
test "should get new" do
|
17
|
+
get :new
|
18
|
+
assert_response :success
|
19
|
+
end
|
20
|
+
|
21
|
+
test "should create user" do
|
22
|
+
assert_difference('User.count') do
|
23
|
+
post :create, user: { username: @user.username }
|
24
|
+
end
|
25
|
+
|
26
|
+
assert_redirected_to user_path(assigns(:user))
|
27
|
+
end
|
28
|
+
|
29
|
+
# Append load_image
|
30
|
+
test "should get load_image" do
|
31
|
+
#get :load_image, id: @user
|
32
|
+
user = User.first
|
33
|
+
get :load_image, id: user.user_image_holder.id
|
34
|
+
assert_response :success
|
35
|
+
end
|
36
|
+
|
37
|
+
test "should show user" do
|
38
|
+
get :show, id: @user
|
39
|
+
assert_response :success
|
40
|
+
end
|
41
|
+
#
|
42
|
+
# test "should get edit" do
|
43
|
+
# get :edit, id: @user
|
44
|
+
# assert_response :success
|
45
|
+
# end
|
46
|
+
#
|
47
|
+
# test "should update user" do
|
48
|
+
# patch :update, id: @user, user: { username: @user.username }
|
49
|
+
# assert_redirected_to user_path(assigns(:user))
|
50
|
+
# end
|
51
|
+
#
|
52
|
+
test "should destroy user" do
|
53
|
+
assert_difference('User.count', -1) do
|
54
|
+
delete :destroy, id: @user
|
55
|
+
end
|
56
|
+
|
57
|
+
assert_redirected_to users_path
|
58
|
+
end
|
59
|
+
end
|
Binary file
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
|
2
|
+
<%
|
3
|
+
def image_data
|
4
|
+
File.open(Rails.root.join('test/fixtures/images', 'default.png'), 'rb') do |f|
|
5
|
+
"!!binary \"#{Base64.strict_encode64(f.read)}\""
|
6
|
+
end
|
7
|
+
end
|
8
|
+
%>
|
9
|
+
|
10
|
+
one:
|
11
|
+
user_username: MyString1
|
12
|
+
filename: file_one
|
13
|
+
content_type: 'image/png'
|
14
|
+
image_data: <%= image_data %>
|
15
|
+
image_thumb: <%= image_data %>
|
16
|
+
|
17
|
+
two:
|
18
|
+
user_username: MyString2
|
19
|
+
filename: file_two
|
20
|
+
content_type: 'image/png'
|
21
|
+
image_data: <%= image_data %>
|
22
|
+
image_thumb: <%= image_data %>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
ENV["RAILS_ENV"] = "test"
|
2
|
+
require File.expand_path('../../config/environment', __FILE__)
|
3
|
+
require 'rails/test_help'
|
4
|
+
|
5
|
+
#class ActiveSupport::TestCase
|
6
|
+
# ActiveRecord::Migration.check_pending!
|
7
|
+
#
|
8
|
+
# # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
|
9
|
+
# #
|
10
|
+
# # Note: You'll currently still have to declare fixtures explicitly in integration tests
|
11
|
+
# # -- they do not yet inherit this setting
|
12
|
+
# fixtures :all
|
13
|
+
#
|
14
|
+
# # Add more helper methods to be used by all tests here...
|
15
|
+
#end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/d65fc20612cada6cf950acc42e8249eabf15168c/users.css.scssc
ADDED
Binary file
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rails/test_help"
|
6
|
+
|
7
|
+
Rails.backtrace_cleaner.remove_silencers!
|
8
|
+
|
9
|
+
# Load support files
|
10
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
11
|
+
|
12
|
+
# Load fixtures from the engine
|
13
|
+
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
|
14
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("../dummy/test/fixtures", __FILE__)
|
15
|
+
end
|
16
|
+
|
17
|
+
class ActiveSupport::TestCase
|
18
|
+
ActiveRecord::Migration.check_pending!
|
19
|
+
|
20
|
+
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
|
21
|
+
#
|
22
|
+
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
23
|
+
# -- they do not yet inherit this setting
|
24
|
+
fixtures :all
|
25
|
+
|
26
|
+
# Add more helper methods to be used by all tests here...
|
27
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class WataraseTest < ActiveSupport::TestCase
|
4
|
+
|
5
|
+
setup do
|
6
|
+
@user = User.new
|
7
|
+
@user_image_holder = UserImageHolder.new
|
8
|
+
end
|
9
|
+
|
10
|
+
|
11
|
+
test "truth" do
|
12
|
+
assert_kind_of Module, Watarase
|
13
|
+
end
|
14
|
+
|
15
|
+
test "user_has_user_image_holder" do
|
16
|
+
assert_respond_to(@user, :user_image_holder)
|
17
|
+
end
|
18
|
+
|
19
|
+
test "user_has_remove_image" do
|
20
|
+
assert_respond_to(@user, :remove_image)
|
21
|
+
end
|
22
|
+
|
23
|
+
test "user_image_holder_has_uploaded_image=" do
|
24
|
+
assert_respond_to(@user_image_holder, :uploaded_image=)
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
metadata
ADDED
@@ -0,0 +1,316 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: watarase
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- kobayashi-tbn
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-03-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.0.0.beta1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.0.0.beta1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rmagick
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: pg
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: UploaderGenerator and Plugins
|
56
|
+
email:
|
57
|
+
- kobayashi.tbn@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- lib/tasks/watarase_tasks.rake
|
63
|
+
- lib/watarase/controller.rb
|
64
|
+
- lib/watarase/generators/uploader/uploader_generator.rb
|
65
|
+
- lib/watarase/model.rb
|
66
|
+
- lib/watarase/version.rb
|
67
|
+
- lib/watarase.rb
|
68
|
+
- MIT-LICENSE
|
69
|
+
- Rakefile
|
70
|
+
- README.rdoc
|
71
|
+
- test/dummy/app/assets/images/rails.png
|
72
|
+
- test/dummy/app/assets/javascripts/application.js
|
73
|
+
- test/dummy/app/assets/javascripts/users.js.coffee
|
74
|
+
- test/dummy/app/assets/stylesheets/application.css
|
75
|
+
- test/dummy/app/assets/stylesheets/scaffolds.css.scss
|
76
|
+
- test/dummy/app/assets/stylesheets/users.css.scss
|
77
|
+
- test/dummy/app/controllers/application_controller.rb
|
78
|
+
- test/dummy/app/controllers/users_controller.rb
|
79
|
+
- test/dummy/app/helpers/application_helper.rb
|
80
|
+
- test/dummy/app/helpers/users_helper.rb
|
81
|
+
- test/dummy/app/models/user.rb
|
82
|
+
- test/dummy/app/models/user_image_holder.rb
|
83
|
+
- test/dummy/app/views/layouts/application.html.erb
|
84
|
+
- test/dummy/app/views/users/_form.html.erb
|
85
|
+
- test/dummy/app/views/users/edit.html.erb
|
86
|
+
- test/dummy/app/views/users/index.html.erb
|
87
|
+
- test/dummy/app/views/users/index.json.jbuilder
|
88
|
+
- test/dummy/app/views/users/new.html.erb
|
89
|
+
- test/dummy/app/views/users/show.html.erb
|
90
|
+
- test/dummy/app/views/users/show.json.jbuilder
|
91
|
+
- test/dummy/bin/bundle
|
92
|
+
- test/dummy/bin/rails
|
93
|
+
- test/dummy/bin/rake
|
94
|
+
- test/dummy/config/application.rb
|
95
|
+
- test/dummy/config/boot.rb
|
96
|
+
- test/dummy/config/database.yml
|
97
|
+
- test/dummy/config/environment.rb
|
98
|
+
- test/dummy/config/environments/development.rb
|
99
|
+
- test/dummy/config/environments/production.rb
|
100
|
+
- test/dummy/config/environments/test.rb
|
101
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
102
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
103
|
+
- test/dummy/config/initializers/inflections.rb
|
104
|
+
- test/dummy/config/initializers/mime_types.rb
|
105
|
+
- test/dummy/config/initializers/secret_token.rb
|
106
|
+
- test/dummy/config/initializers/session_store.rb
|
107
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
108
|
+
- test/dummy/config/locales/en.yml
|
109
|
+
- test/dummy/config/routes.rb
|
110
|
+
- test/dummy/config.ru
|
111
|
+
- test/dummy/db/migrate/20130316163018_create_users.rb
|
112
|
+
- test/dummy/db/migrate/20130318134905_create_user_image_holders.rb
|
113
|
+
- test/dummy/db/schema.rb
|
114
|
+
- test/dummy/db/seeds.rb
|
115
|
+
- test/dummy/Gemfile
|
116
|
+
- test/dummy/Gemfile.lock
|
117
|
+
- test/dummy/log/development.log
|
118
|
+
- test/dummy/log/test.log
|
119
|
+
- test/dummy/public/404.html
|
120
|
+
- test/dummy/public/422.html
|
121
|
+
- test/dummy/public/500.html
|
122
|
+
- test/dummy/public/favicon.ico
|
123
|
+
- test/dummy/public/robots.txt
|
124
|
+
- test/dummy/Rakefile
|
125
|
+
- test/dummy/README.rdoc
|
126
|
+
- test/dummy/test/controllers/users_controller_test.rb
|
127
|
+
- test/dummy/test/fixtures/images/default.png
|
128
|
+
- test/dummy/test/fixtures/user_image_holders.yml
|
129
|
+
- test/dummy/test/fixtures/users.yml
|
130
|
+
- test/dummy/test/helpers/users_helper_test.rb
|
131
|
+
- test/dummy/test/models/user_image_holder_test.rb
|
132
|
+
- test/dummy/test/models/user_test.rb
|
133
|
+
- test/dummy/test/test_helper.rb
|
134
|
+
- test/dummy/tmp/cache/assets/development/sass/d65fc20612cada6cf950acc42e8249eabf15168c/scaffolds.css.scssc
|
135
|
+
- test/dummy/tmp/cache/assets/development/sass/d65fc20612cada6cf950acc42e8249eabf15168c/users.css.scssc
|
136
|
+
- test/dummy/tmp/cache/assets/development/sprockets/10fcfbe6ebae11a40c8eac41939a1b9a
|
137
|
+
- test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
|
138
|
+
- test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
139
|
+
- test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
|
140
|
+
- test/dummy/tmp/cache/assets/development/sprockets/4ad413f3e3326481d2f5f9327bbd0e12
|
141
|
+
- test/dummy/tmp/cache/assets/development/sprockets/639464835e9b3e69e17ff82198bb49d4
|
142
|
+
- test/dummy/tmp/cache/assets/development/sprockets/6c0f2a2c7346b84a92e2cb81473e251b
|
143
|
+
- test/dummy/tmp/cache/assets/development/sprockets/85ae64edf528ce6e981889f3f3c285d9
|
144
|
+
- test/dummy/tmp/cache/assets/development/sprockets/977ead1d20bc9f7e1c191bd4348f9e3a
|
145
|
+
- test/dummy/tmp/cache/assets/development/sprockets/981fdf59c6c819da5a85424ee749e704
|
146
|
+
- test/dummy/tmp/cache/assets/development/sprockets/af0b8e0d6ae482cd467cf7ca6cf461ba
|
147
|
+
- test/dummy/tmp/cache/assets/development/sprockets/bd3936370d0f952ada5774e2230046ed
|
148
|
+
- test/dummy/tmp/cache/assets/development/sprockets/be10cf0a459c2397da8192966ed4ae50
|
149
|
+
- test/dummy/tmp/cache/assets/development/sprockets/cf0fb9efef3ee1bf2ea2c3e108dee600
|
150
|
+
- test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
151
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d46c90159d299e62b189c080134dba53
|
152
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d5c7928882375575ed61c458a61defcf
|
153
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
154
|
+
- test/dummy/tmp/cache/assets/development/sprockets/df8b2265598a7cf1f0db49c6169b3031
|
155
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e2e8f7f4c2e46b20bbaa95d67e83c41e
|
156
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e459168835a5f27b832ace20874f7c10
|
157
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e7726188d3504b41f9ac5e31d1eedea7
|
158
|
+
- test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
159
|
+
- test/dummy/tmp/cache/assets/development/sprockets/fb009e9fefe26f5f83de37860988c77d
|
160
|
+
- test/dummy/tmp/cache/assets/test/sass/d65fc20612cada6cf950acc42e8249eabf15168c/scaffolds.css.scssc
|
161
|
+
- test/dummy/tmp/cache/assets/test/sass/d65fc20612cada6cf950acc42e8249eabf15168c/users.css.scssc
|
162
|
+
- test/dummy/tmp/cache/assets/test/sprockets/10fcfbe6ebae11a40c8eac41939a1b9a
|
163
|
+
- test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
|
164
|
+
- test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
165
|
+
- test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
|
166
|
+
- test/dummy/tmp/cache/assets/test/sprockets/4ad413f3e3326481d2f5f9327bbd0e12
|
167
|
+
- test/dummy/tmp/cache/assets/test/sprockets/6c0f2a2c7346b84a92e2cb81473e251b
|
168
|
+
- test/dummy/tmp/cache/assets/test/sprockets/85ae64edf528ce6e981889f3f3c285d9
|
169
|
+
- test/dummy/tmp/cache/assets/test/sprockets/977ead1d20bc9f7e1c191bd4348f9e3a
|
170
|
+
- test/dummy/tmp/cache/assets/test/sprockets/af0b8e0d6ae482cd467cf7ca6cf461ba
|
171
|
+
- test/dummy/tmp/cache/assets/test/sprockets/bd3936370d0f952ada5774e2230046ed
|
172
|
+
- test/dummy/tmp/cache/assets/test/sprockets/be10cf0a459c2397da8192966ed4ae50
|
173
|
+
- test/dummy/tmp/cache/assets/test/sprockets/cf0fb9efef3ee1bf2ea2c3e108dee600
|
174
|
+
- test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
175
|
+
- test/dummy/tmp/cache/assets/test/sprockets/d46c90159d299e62b189c080134dba53
|
176
|
+
- test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
177
|
+
- test/dummy/tmp/cache/assets/test/sprockets/e7726188d3504b41f9ac5e31d1eedea7
|
178
|
+
- test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
179
|
+
- test/dummy/tmp/cache/assets/test/sprockets/fb009e9fefe26f5f83de37860988c77d
|
180
|
+
- test/test_helper.rb
|
181
|
+
- test/watarase_test.rb
|
182
|
+
homepage: https://github.com/kobayashi-tbn/watarase
|
183
|
+
licenses: []
|
184
|
+
metadata: {}
|
185
|
+
post_install_message:
|
186
|
+
rdoc_options: []
|
187
|
+
require_paths:
|
188
|
+
- lib
|
189
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - '>='
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '0'
|
194
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
195
|
+
requirements:
|
196
|
+
- - '>='
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: '0'
|
199
|
+
requirements: []
|
200
|
+
rubyforge_project:
|
201
|
+
rubygems_version: 2.0.0
|
202
|
+
signing_key:
|
203
|
+
specification_version: 4
|
204
|
+
summary: Image uploader for icon
|
205
|
+
test_files:
|
206
|
+
- test/dummy/app/assets/images/rails.png
|
207
|
+
- test/dummy/app/assets/javascripts/application.js
|
208
|
+
- test/dummy/app/assets/javascripts/users.js.coffee
|
209
|
+
- test/dummy/app/assets/stylesheets/application.css
|
210
|
+
- test/dummy/app/assets/stylesheets/scaffolds.css.scss
|
211
|
+
- test/dummy/app/assets/stylesheets/users.css.scss
|
212
|
+
- test/dummy/app/controllers/application_controller.rb
|
213
|
+
- test/dummy/app/controllers/users_controller.rb
|
214
|
+
- test/dummy/app/helpers/application_helper.rb
|
215
|
+
- test/dummy/app/helpers/users_helper.rb
|
216
|
+
- test/dummy/app/models/user.rb
|
217
|
+
- test/dummy/app/models/user_image_holder.rb
|
218
|
+
- test/dummy/app/views/layouts/application.html.erb
|
219
|
+
- test/dummy/app/views/users/_form.html.erb
|
220
|
+
- test/dummy/app/views/users/edit.html.erb
|
221
|
+
- test/dummy/app/views/users/index.html.erb
|
222
|
+
- test/dummy/app/views/users/index.json.jbuilder
|
223
|
+
- test/dummy/app/views/users/new.html.erb
|
224
|
+
- test/dummy/app/views/users/show.html.erb
|
225
|
+
- test/dummy/app/views/users/show.json.jbuilder
|
226
|
+
- test/dummy/bin/bundle
|
227
|
+
- test/dummy/bin/rails
|
228
|
+
- test/dummy/bin/rake
|
229
|
+
- test/dummy/config/application.rb
|
230
|
+
- test/dummy/config/boot.rb
|
231
|
+
- test/dummy/config/database.yml
|
232
|
+
- test/dummy/config/environment.rb
|
233
|
+
- test/dummy/config/environments/development.rb
|
234
|
+
- test/dummy/config/environments/production.rb
|
235
|
+
- test/dummy/config/environments/test.rb
|
236
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
237
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
238
|
+
- test/dummy/config/initializers/inflections.rb
|
239
|
+
- test/dummy/config/initializers/mime_types.rb
|
240
|
+
- test/dummy/config/initializers/secret_token.rb
|
241
|
+
- test/dummy/config/initializers/session_store.rb
|
242
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
243
|
+
- test/dummy/config/locales/en.yml
|
244
|
+
- test/dummy/config/routes.rb
|
245
|
+
- test/dummy/config.ru
|
246
|
+
- test/dummy/db/migrate/20130316163018_create_users.rb
|
247
|
+
- test/dummy/db/migrate/20130318134905_create_user_image_holders.rb
|
248
|
+
- test/dummy/db/schema.rb
|
249
|
+
- test/dummy/db/seeds.rb
|
250
|
+
- test/dummy/Gemfile
|
251
|
+
- test/dummy/Gemfile.lock
|
252
|
+
- test/dummy/log/development.log
|
253
|
+
- test/dummy/log/test.log
|
254
|
+
- test/dummy/public/404.html
|
255
|
+
- test/dummy/public/422.html
|
256
|
+
- test/dummy/public/500.html
|
257
|
+
- test/dummy/public/favicon.ico
|
258
|
+
- test/dummy/public/robots.txt
|
259
|
+
- test/dummy/Rakefile
|
260
|
+
- test/dummy/README.rdoc
|
261
|
+
- test/dummy/test/controllers/users_controller_test.rb
|
262
|
+
- test/dummy/test/fixtures/images/default.png
|
263
|
+
- test/dummy/test/fixtures/user_image_holders.yml
|
264
|
+
- test/dummy/test/fixtures/users.yml
|
265
|
+
- test/dummy/test/helpers/users_helper_test.rb
|
266
|
+
- test/dummy/test/models/user_image_holder_test.rb
|
267
|
+
- test/dummy/test/models/user_test.rb
|
268
|
+
- test/dummy/test/test_helper.rb
|
269
|
+
- test/dummy/tmp/cache/assets/development/sass/d65fc20612cada6cf950acc42e8249eabf15168c/scaffolds.css.scssc
|
270
|
+
- test/dummy/tmp/cache/assets/development/sass/d65fc20612cada6cf950acc42e8249eabf15168c/users.css.scssc
|
271
|
+
- test/dummy/tmp/cache/assets/development/sprockets/10fcfbe6ebae11a40c8eac41939a1b9a
|
272
|
+
- test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
|
273
|
+
- test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
274
|
+
- test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
|
275
|
+
- test/dummy/tmp/cache/assets/development/sprockets/4ad413f3e3326481d2f5f9327bbd0e12
|
276
|
+
- test/dummy/tmp/cache/assets/development/sprockets/639464835e9b3e69e17ff82198bb49d4
|
277
|
+
- test/dummy/tmp/cache/assets/development/sprockets/6c0f2a2c7346b84a92e2cb81473e251b
|
278
|
+
- test/dummy/tmp/cache/assets/development/sprockets/85ae64edf528ce6e981889f3f3c285d9
|
279
|
+
- test/dummy/tmp/cache/assets/development/sprockets/977ead1d20bc9f7e1c191bd4348f9e3a
|
280
|
+
- test/dummy/tmp/cache/assets/development/sprockets/981fdf59c6c819da5a85424ee749e704
|
281
|
+
- test/dummy/tmp/cache/assets/development/sprockets/af0b8e0d6ae482cd467cf7ca6cf461ba
|
282
|
+
- test/dummy/tmp/cache/assets/development/sprockets/bd3936370d0f952ada5774e2230046ed
|
283
|
+
- test/dummy/tmp/cache/assets/development/sprockets/be10cf0a459c2397da8192966ed4ae50
|
284
|
+
- test/dummy/tmp/cache/assets/development/sprockets/cf0fb9efef3ee1bf2ea2c3e108dee600
|
285
|
+
- test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
286
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d46c90159d299e62b189c080134dba53
|
287
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d5c7928882375575ed61c458a61defcf
|
288
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
289
|
+
- test/dummy/tmp/cache/assets/development/sprockets/df8b2265598a7cf1f0db49c6169b3031
|
290
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e2e8f7f4c2e46b20bbaa95d67e83c41e
|
291
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e459168835a5f27b832ace20874f7c10
|
292
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e7726188d3504b41f9ac5e31d1eedea7
|
293
|
+
- test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
294
|
+
- test/dummy/tmp/cache/assets/development/sprockets/fb009e9fefe26f5f83de37860988c77d
|
295
|
+
- test/dummy/tmp/cache/assets/test/sass/d65fc20612cada6cf950acc42e8249eabf15168c/scaffolds.css.scssc
|
296
|
+
- test/dummy/tmp/cache/assets/test/sass/d65fc20612cada6cf950acc42e8249eabf15168c/users.css.scssc
|
297
|
+
- test/dummy/tmp/cache/assets/test/sprockets/10fcfbe6ebae11a40c8eac41939a1b9a
|
298
|
+
- test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
|
299
|
+
- test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
300
|
+
- test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
|
301
|
+
- test/dummy/tmp/cache/assets/test/sprockets/4ad413f3e3326481d2f5f9327bbd0e12
|
302
|
+
- test/dummy/tmp/cache/assets/test/sprockets/6c0f2a2c7346b84a92e2cb81473e251b
|
303
|
+
- test/dummy/tmp/cache/assets/test/sprockets/85ae64edf528ce6e981889f3f3c285d9
|
304
|
+
- test/dummy/tmp/cache/assets/test/sprockets/977ead1d20bc9f7e1c191bd4348f9e3a
|
305
|
+
- test/dummy/tmp/cache/assets/test/sprockets/af0b8e0d6ae482cd467cf7ca6cf461ba
|
306
|
+
- test/dummy/tmp/cache/assets/test/sprockets/bd3936370d0f952ada5774e2230046ed
|
307
|
+
- test/dummy/tmp/cache/assets/test/sprockets/be10cf0a459c2397da8192966ed4ae50
|
308
|
+
- test/dummy/tmp/cache/assets/test/sprockets/cf0fb9efef3ee1bf2ea2c3e108dee600
|
309
|
+
- test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
310
|
+
- test/dummy/tmp/cache/assets/test/sprockets/d46c90159d299e62b189c080134dba53
|
311
|
+
- test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
312
|
+
- test/dummy/tmp/cache/assets/test/sprockets/e7726188d3504b41f9ac5e31d1eedea7
|
313
|
+
- test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
314
|
+
- test/dummy/tmp/cache/assets/test/sprockets/fb009e9fefe26f5f83de37860988c77d
|
315
|
+
- test/test_helper.rb
|
316
|
+
- test/watarase_test.rb
|