enju_export 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +47 -0
- data/app/controllers/export_files_controller.rb +106 -0
- data/app/models/export_file.rb +19 -0
- data/app/views/export_files/_download.html.erb +1 -0
- data/app/views/export_files/_form.html.erb +14 -0
- data/app/views/export_files/edit.html.erb +6 -0
- data/app/views/export_files/index.html.erb +32 -0
- data/app/views/export_files/new.html.erb +5 -0
- data/app/views/export_files/show.html.erb +25 -0
- data/app/views/export_files/show.js.erb +1 -0
- data/app/views/page/403.html.erb +9 -0
- data/app/views/page/403.mobile.erb +5 -0
- data/app/views/page/403.xml.erb +4 -0
- data/app/views/page/404.html.erb +9 -0
- data/app/views/page/404.mobile.erb +5 -0
- data/app/views/page/404.xml.erb +4 -0
- data/config/locales/translation_en.yml +9 -0
- data/config/locales/translation_ja.yml +8 -0
- data/config/routes.rb +3 -0
- data/db/migrate/20120610075759_create_export_files.rb +12 -0
- data/lib/enju_export/engine.rb +9 -0
- data/lib/enju_export/version.rb +3 -0
- data/lib/enju_export.rb +36 -0
- data/lib/tasks/enju_export_tasks.rake +4 -0
- data/spec/controllers/export_files_controller_spec.rb +75 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +23 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/models/ability.rb +14 -0
- data/spec/dummy/app/models/role.rb +47 -0
- data/spec/dummy/app/models/user.rb +28 -0
- data/spec/dummy/app/models/user_has_role.rb +4 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/config/application.rb +60 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +37 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/devise.rb +205 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +60 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/migrate/20111201121844_create_roles.rb +12 -0
- data/spec/dummy/db/migrate/20111201155456_create_users.rb +13 -0
- data/spec/dummy/db/migrate/20111201155513_add_devise_to_users.rb +52 -0
- data/spec/dummy/db/migrate/20111201163718_create_user_has_roles.rb +10 -0
- data/spec/dummy/db/schema.rb +73 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/fixtures/roles.yml +21 -0
- data/spec/fixtures/user_has_roles.yml +41 -0
- data/spec/fixtures/users.yml +69 -0
- data/spec/models/export_file_spec.rb +5 -0
- data/spec/requests/export_files_spec.rb +11 -0
- data/spec/routing/export_files_routing_spec.rb +19 -0
- data/spec/spec_helper.rb +34 -0
- data/spec/support/controller_macros.rb +25 -0
- data/spec/support/devise.rb +4 -0
- data/spec/views/export_files/edit.html.erb_spec.rb +24 -0
- data/spec/views/export_files/index.html.erb_spec.rb +29 -0
- data/spec/views/export_files/new.html.erb_spec.rb +24 -0
- data/spec/views/export_files/show.html.erb_spec.rb +18 -0
- metadata +273 -0
@@ -0,0 +1,41 @@
|
|
1
|
+
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
2
|
+
|
3
|
+
admin:
|
4
|
+
user_id: 1
|
5
|
+
role_id: 4
|
6
|
+
|
7
|
+
librarian1:
|
8
|
+
user_id: 2
|
9
|
+
role_id: 3
|
10
|
+
|
11
|
+
user1:
|
12
|
+
user_id: 3
|
13
|
+
role_id: 2
|
14
|
+
|
15
|
+
librarian2:
|
16
|
+
user_id: 4
|
17
|
+
role_id: 3
|
18
|
+
|
19
|
+
user2:
|
20
|
+
user_id: 5
|
21
|
+
role_id: 2
|
22
|
+
|
23
|
+
user3:
|
24
|
+
user_id: 6
|
25
|
+
role_id: 2
|
26
|
+
|
27
|
+
user4:
|
28
|
+
user_id: 7
|
29
|
+
role_id: 2
|
30
|
+
|
31
|
+
# == Schema Information
|
32
|
+
#
|
33
|
+
# Table name: user_has_roles
|
34
|
+
#
|
35
|
+
# id :integer not null, primary key
|
36
|
+
# user_id :integer
|
37
|
+
# role_id :integer
|
38
|
+
# created_at :datetime
|
39
|
+
# updated_at :datetime
|
40
|
+
#
|
41
|
+
|
@@ -0,0 +1,69 @@
|
|
1
|
+
---
|
2
|
+
admin:
|
3
|
+
updated_at: 2008-05-31 13:16:30.163731 +09:00
|
4
|
+
encrypted_password: $2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi
|
5
|
+
user_group_id: 2
|
6
|
+
id: 1
|
7
|
+
note:
|
8
|
+
username: admin
|
9
|
+
email: tanabe@kamata.lib.teu.ac.jp
|
10
|
+
created_at: 2007-11-19 16:58:32.111941 +09:00
|
11
|
+
required_role_id: 4
|
12
|
+
librarian1:
|
13
|
+
updated_at: 2008-05-31 12:41:16.337474 +09:00
|
14
|
+
encrypted_password: $2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS
|
15
|
+
user_group_id: 1
|
16
|
+
id: 2
|
17
|
+
note:
|
18
|
+
username: librarian1
|
19
|
+
email: librarian1@kamata.lib.teu.ac.jp
|
20
|
+
created_at: 2007-11-19 16:58:33.172441 +09:00
|
21
|
+
required_role_id: 1
|
22
|
+
user1:
|
23
|
+
updated_at: 2008-05-31 13:02:25.101261 +09:00
|
24
|
+
encrypted_password: $2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW
|
25
|
+
user_group_id: 1
|
26
|
+
id: 3
|
27
|
+
note:
|
28
|
+
username: user1
|
29
|
+
email: user1@kamata.lib.teu.ac.jp
|
30
|
+
created_at: 2007-11-19 16:58:34.637413 +09:00
|
31
|
+
required_role_id: 3
|
32
|
+
librarian2:
|
33
|
+
updated_at: 2008-05-31 12:42:23.340575 +09:00
|
34
|
+
encrypted_password: $2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS
|
35
|
+
user_group_id: 1
|
36
|
+
id: 4
|
37
|
+
note:
|
38
|
+
username: librarian2
|
39
|
+
created_at: 2008-01-18 12:24:04.222344 +09:00
|
40
|
+
required_role_id: 1
|
41
|
+
user2:
|
42
|
+
updated_at: 2008-05-31 12:42:44.711117 +09:00
|
43
|
+
encrypted_password: $2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca
|
44
|
+
user_group_id: 1
|
45
|
+
id: 5
|
46
|
+
note:
|
47
|
+
username: user2
|
48
|
+
created_at: 2008-01-18 13:29:06.922728 +09:00
|
49
|
+
required_role_id: 2
|
50
|
+
user3:
|
51
|
+
updated_at: 2008-05-31 13:02:25.101261 +09:00
|
52
|
+
encrypted_password: cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417
|
53
|
+
user_group_id: 1
|
54
|
+
id: 6
|
55
|
+
note:
|
56
|
+
username: user3
|
57
|
+
email: user3@kamata.lib.teu.ac.jp
|
58
|
+
created_at: 2007-11-19 16:58:34.637413 +09:00
|
59
|
+
required_role_id: 3
|
60
|
+
user4:
|
61
|
+
updated_at: 2008-05-31 13:02:25.101261 +09:00
|
62
|
+
encrypted_password: cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417
|
63
|
+
user_group_id: 1
|
64
|
+
id: 7
|
65
|
+
note:
|
66
|
+
username: user4
|
67
|
+
email: user4@kamata.lib.teu.ac.jp
|
68
|
+
created_at: 2007-11-19 16:58:34.637413 +09:00
|
69
|
+
required_role_id: 3
|
@@ -0,0 +1,11 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe "ExportFiles" do
|
4
|
+
describe "GET /export_files" do
|
5
|
+
it "works! (now write some real specs)" do
|
6
|
+
# Run the generator again with the --webrat flag if you want to use webrat methods/matchers
|
7
|
+
get export_files_path
|
8
|
+
response.status.should be(302)
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe ExportFilesController do
|
4
|
+
describe "routing" do
|
5
|
+
|
6
|
+
it "routes to #index" do
|
7
|
+
get("/export_files").should route_to("export_files#index")
|
8
|
+
end
|
9
|
+
|
10
|
+
it "routes to #show" do
|
11
|
+
get("/export_files/1").should route_to("export_files#show", :id => "1")
|
12
|
+
end
|
13
|
+
|
14
|
+
it "routes to #destroy" do
|
15
|
+
delete("/export_files/1").should route_to("export_files#destroy", :id => "1")
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
19
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
2
|
+
ENV["RAILS_ENV"] ||= 'test'
|
3
|
+
require File.expand_path("../dummy/config/environment", __FILE__)
|
4
|
+
require 'rspec/rails'
|
5
|
+
require 'rspec/autorun'
|
6
|
+
|
7
|
+
# Requires supporting ruby files with custom matchers and macros, etc,
|
8
|
+
# in spec/support/ and its subdirectories.
|
9
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
10
|
+
|
11
|
+
RSpec.configure do |config|
|
12
|
+
# ## Mock Framework
|
13
|
+
#
|
14
|
+
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
|
15
|
+
#
|
16
|
+
# config.mock_with :mocha
|
17
|
+
# config.mock_with :flexmock
|
18
|
+
# config.mock_with :rr
|
19
|
+
|
20
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
21
|
+
config.fixture_path = "#{::Rails.root}/../../spec/fixtures"
|
22
|
+
|
23
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
24
|
+
# examples within a transaction, remove the following line or assign false
|
25
|
+
# instead of true.
|
26
|
+
config.use_transactional_fixtures = true
|
27
|
+
|
28
|
+
# If true, the base class of anonymous controllers will be inferred
|
29
|
+
# automatically. This will be the default behavior in future versions of
|
30
|
+
# rspec-rails.
|
31
|
+
config.infer_base_class_for_anonymous_controllers = false
|
32
|
+
|
33
|
+
config.extend ControllerMacros, :type => :controller
|
34
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
module ControllerMacros
|
2
|
+
def login_fixture_admin
|
3
|
+
before(:each) do
|
4
|
+
@request.env["devise.mapping"] = Devise.mappings[:admin]
|
5
|
+
@user = users(:admin)
|
6
|
+
sign_in @user
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
def login_fixture_librarian
|
11
|
+
before(:each) do
|
12
|
+
@request.env["devise.mapping"] = Devise.mappings[:user]
|
13
|
+
@user = users(:librarian1)
|
14
|
+
sign_in @user
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
def login_fixture_user
|
19
|
+
before(:each) do
|
20
|
+
@request.env["devise.mapping"] = Devise.mappings[:user]
|
21
|
+
@user = users(:user1)
|
22
|
+
sign_in @user
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe "export_files/edit" do
|
4
|
+
before(:each) do
|
5
|
+
@export_file = assign(:export_file, stub_model(ExportFile,
|
6
|
+
:export_file_name => "MyString",
|
7
|
+
:export_content_type => "MyString",
|
8
|
+
:export_file_size => "MyString",
|
9
|
+
:state => "MyString"
|
10
|
+
))
|
11
|
+
end
|
12
|
+
|
13
|
+
it "renders the edit export_file form" do
|
14
|
+
render
|
15
|
+
|
16
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
17
|
+
assert_select "form", :action => export_files_path(@export_file), :method => "post" do
|
18
|
+
assert_select "input#export_file_export_file_name", :name => "export_file[export_file_name]"
|
19
|
+
assert_select "input#export_file_export_content_type", :name => "export_file[export_content_type]"
|
20
|
+
assert_select "input#export_file_export_file_size", :name => "export_file[export_file_size]"
|
21
|
+
assert_select "input#export_file_state", :name => "export_file[state]"
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe "export_files/index" do
|
4
|
+
before(:each) do
|
5
|
+
assign(:export_files, [
|
6
|
+
stub_model(ExportFile,
|
7
|
+
:export_file_name => "Export File Name",
|
8
|
+
:export_content_type => "Export Content Type",
|
9
|
+
:export_file_size => "Export File Size",
|
10
|
+
:state => "State"
|
11
|
+
),
|
12
|
+
stub_model(ExportFile,
|
13
|
+
:export_file_name => "Export File Name",
|
14
|
+
:export_content_type => "Export Content Type",
|
15
|
+
:export_file_size => "Export File Size",
|
16
|
+
:state => "State"
|
17
|
+
)
|
18
|
+
].paginate(:page => 1))
|
19
|
+
end
|
20
|
+
|
21
|
+
it "renders a list of export_files" do
|
22
|
+
render
|
23
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
24
|
+
assert_select "tr>td", :text => "Export File Name".to_s, :count => 2
|
25
|
+
assert_select "tr>td", :text => "Export Content Type".to_s, :count => 2
|
26
|
+
assert_select "tr>td", :text => "Export File Size".to_s, :count => 2
|
27
|
+
assert_select "tr>td", :text => "State".to_s, :count => 2
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe "export_files/new" do
|
4
|
+
before(:each) do
|
5
|
+
assign(:export_file, stub_model(ExportFile,
|
6
|
+
:export_file_name => "MyString",
|
7
|
+
:export_content_type => "MyString",
|
8
|
+
:export_file_size => "MyString",
|
9
|
+
:state => "MyString"
|
10
|
+
).as_new_record)
|
11
|
+
end
|
12
|
+
|
13
|
+
it "renders new export_file form" do
|
14
|
+
render
|
15
|
+
|
16
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
17
|
+
assert_select "form", :action => export_files_path, :method => "post" do
|
18
|
+
assert_select "input#export_file_export_file_name", :name => "export_file[export_file_name]"
|
19
|
+
assert_select "input#export_file_export_content_type", :name => "export_file[export_content_type]"
|
20
|
+
assert_select "input#export_file_export_file_size", :name => "export_file[export_file_size]"
|
21
|
+
assert_select "input#export_file_state", :name => "export_file[state]"
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe "export_files/show" do
|
4
|
+
before(:each) do
|
5
|
+
@export_file = assign(:export_file, stub_model(ExportFile,
|
6
|
+
:export_file_name => "Export File Name",
|
7
|
+
:export_content_type => "Export Content Type",
|
8
|
+
:export_file_size => "Export File Size",
|
9
|
+
:state => "State"
|
10
|
+
))
|
11
|
+
end
|
12
|
+
|
13
|
+
it "renders attributes in <p>" do
|
14
|
+
render
|
15
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
16
|
+
rendered.should match(/Preparing/)
|
17
|
+
end
|
18
|
+
end
|
metadata
ADDED
@@ -0,0 +1,273 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: enju_export
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Kosuke Tanabe
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-06-19 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.2'
|
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.2'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: state_machine
|
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: paperclip
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: simple_form
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
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: sqlite3
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
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: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: rspec-rails
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
description: Exporting records of Next-L Enju
|
111
|
+
email:
|
112
|
+
- tanabe@mwr.mediacom.keio.ac.jp
|
113
|
+
executables: []
|
114
|
+
extensions: []
|
115
|
+
extra_rdoc_files: []
|
116
|
+
files:
|
117
|
+
- app/controllers/export_files_controller.rb
|
118
|
+
- app/models/export_file.rb
|
119
|
+
- app/views/export_files/_download.html.erb
|
120
|
+
- app/views/export_files/_form.html.erb
|
121
|
+
- app/views/export_files/edit.html.erb
|
122
|
+
- app/views/export_files/index.html.erb
|
123
|
+
- app/views/export_files/new.html.erb
|
124
|
+
- app/views/export_files/show.html.erb
|
125
|
+
- app/views/export_files/show.js.erb
|
126
|
+
- app/views/page/403.html.erb
|
127
|
+
- app/views/page/403.mobile.erb
|
128
|
+
- app/views/page/403.xml.erb
|
129
|
+
- app/views/page/404.html.erb
|
130
|
+
- app/views/page/404.mobile.erb
|
131
|
+
- app/views/page/404.xml.erb
|
132
|
+
- config/locales/translation_en.yml
|
133
|
+
- config/locales/translation_ja.yml
|
134
|
+
- config/routes.rb
|
135
|
+
- db/migrate/20120610075759_create_export_files.rb
|
136
|
+
- lib/enju_export/engine.rb
|
137
|
+
- lib/enju_export/version.rb
|
138
|
+
- lib/enju_export.rb
|
139
|
+
- lib/tasks/enju_export_tasks.rake
|
140
|
+
- MIT-LICENSE
|
141
|
+
- Rakefile
|
142
|
+
- README.rdoc
|
143
|
+
- spec/controllers/export_files_controller_spec.rb
|
144
|
+
- spec/dummy/app/assets/javascripts/application.js
|
145
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
146
|
+
- spec/dummy/app/controllers/application_controller.rb
|
147
|
+
- spec/dummy/app/helpers/application_helper.rb
|
148
|
+
- spec/dummy/app/models/ability.rb
|
149
|
+
- spec/dummy/app/models/role.rb
|
150
|
+
- spec/dummy/app/models/user.rb
|
151
|
+
- spec/dummy/app/models/user_has_role.rb
|
152
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
153
|
+
- spec/dummy/config/application.rb
|
154
|
+
- spec/dummy/config/boot.rb
|
155
|
+
- spec/dummy/config/database.yml
|
156
|
+
- spec/dummy/config/environment.rb
|
157
|
+
- spec/dummy/config/environments/development.rb
|
158
|
+
- spec/dummy/config/environments/production.rb
|
159
|
+
- spec/dummy/config/environments/test.rb
|
160
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
161
|
+
- spec/dummy/config/initializers/devise.rb
|
162
|
+
- spec/dummy/config/initializers/inflections.rb
|
163
|
+
- spec/dummy/config/initializers/mime_types.rb
|
164
|
+
- spec/dummy/config/initializers/secret_token.rb
|
165
|
+
- spec/dummy/config/initializers/session_store.rb
|
166
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
167
|
+
- spec/dummy/config/locales/en.yml
|
168
|
+
- spec/dummy/config/routes.rb
|
169
|
+
- spec/dummy/config.ru
|
170
|
+
- spec/dummy/db/migrate/20111201121844_create_roles.rb
|
171
|
+
- spec/dummy/db/migrate/20111201155456_create_users.rb
|
172
|
+
- spec/dummy/db/migrate/20111201155513_add_devise_to_users.rb
|
173
|
+
- spec/dummy/db/migrate/20111201163718_create_user_has_roles.rb
|
174
|
+
- spec/dummy/db/schema.rb
|
175
|
+
- spec/dummy/db/test.sqlite3
|
176
|
+
- spec/dummy/public/404.html
|
177
|
+
- spec/dummy/public/422.html
|
178
|
+
- spec/dummy/public/500.html
|
179
|
+
- spec/dummy/public/favicon.ico
|
180
|
+
- spec/dummy/Rakefile
|
181
|
+
- spec/dummy/README.rdoc
|
182
|
+
- spec/dummy/script/rails
|
183
|
+
- spec/fixtures/roles.yml
|
184
|
+
- spec/fixtures/user_has_roles.yml
|
185
|
+
- spec/fixtures/users.yml
|
186
|
+
- spec/models/export_file_spec.rb
|
187
|
+
- spec/requests/export_files_spec.rb
|
188
|
+
- spec/routing/export_files_routing_spec.rb
|
189
|
+
- spec/spec_helper.rb
|
190
|
+
- spec/support/controller_macros.rb
|
191
|
+
- spec/support/devise.rb
|
192
|
+
- spec/views/export_files/edit.html.erb_spec.rb
|
193
|
+
- spec/views/export_files/index.html.erb_spec.rb
|
194
|
+
- spec/views/export_files/new.html.erb_spec.rb
|
195
|
+
- spec/views/export_files/show.html.erb_spec.rb
|
196
|
+
homepage: https://github.com/next-l/enju_export
|
197
|
+
licenses: []
|
198
|
+
post_install_message:
|
199
|
+
rdoc_options: []
|
200
|
+
require_paths:
|
201
|
+
- lib
|
202
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
203
|
+
none: false
|
204
|
+
requirements:
|
205
|
+
- - ! '>='
|
206
|
+
- !ruby/object:Gem::Version
|
207
|
+
version: '0'
|
208
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
210
|
+
requirements:
|
211
|
+
- - ! '>='
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: '0'
|
214
|
+
requirements: []
|
215
|
+
rubyforge_project:
|
216
|
+
rubygems_version: 1.8.23
|
217
|
+
signing_key:
|
218
|
+
specification_version: 3
|
219
|
+
summary: enju_export plugin
|
220
|
+
test_files:
|
221
|
+
- spec/controllers/export_files_controller_spec.rb
|
222
|
+
- spec/dummy/app/assets/javascripts/application.js
|
223
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
224
|
+
- spec/dummy/app/controllers/application_controller.rb
|
225
|
+
- spec/dummy/app/helpers/application_helper.rb
|
226
|
+
- spec/dummy/app/models/ability.rb
|
227
|
+
- spec/dummy/app/models/role.rb
|
228
|
+
- spec/dummy/app/models/user.rb
|
229
|
+
- spec/dummy/app/models/user_has_role.rb
|
230
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
231
|
+
- spec/dummy/config/application.rb
|
232
|
+
- spec/dummy/config/boot.rb
|
233
|
+
- spec/dummy/config/database.yml
|
234
|
+
- spec/dummy/config/environment.rb
|
235
|
+
- spec/dummy/config/environments/development.rb
|
236
|
+
- spec/dummy/config/environments/production.rb
|
237
|
+
- spec/dummy/config/environments/test.rb
|
238
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
239
|
+
- spec/dummy/config/initializers/devise.rb
|
240
|
+
- spec/dummy/config/initializers/inflections.rb
|
241
|
+
- spec/dummy/config/initializers/mime_types.rb
|
242
|
+
- spec/dummy/config/initializers/secret_token.rb
|
243
|
+
- spec/dummy/config/initializers/session_store.rb
|
244
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
245
|
+
- spec/dummy/config/locales/en.yml
|
246
|
+
- spec/dummy/config/routes.rb
|
247
|
+
- spec/dummy/config.ru
|
248
|
+
- spec/dummy/db/migrate/20111201121844_create_roles.rb
|
249
|
+
- spec/dummy/db/migrate/20111201155456_create_users.rb
|
250
|
+
- spec/dummy/db/migrate/20111201155513_add_devise_to_users.rb
|
251
|
+
- spec/dummy/db/migrate/20111201163718_create_user_has_roles.rb
|
252
|
+
- spec/dummy/db/schema.rb
|
253
|
+
- spec/dummy/db/test.sqlite3
|
254
|
+
- spec/dummy/public/404.html
|
255
|
+
- spec/dummy/public/422.html
|
256
|
+
- spec/dummy/public/500.html
|
257
|
+
- spec/dummy/public/favicon.ico
|
258
|
+
- spec/dummy/Rakefile
|
259
|
+
- spec/dummy/README.rdoc
|
260
|
+
- spec/dummy/script/rails
|
261
|
+
- spec/fixtures/roles.yml
|
262
|
+
- spec/fixtures/user_has_roles.yml
|
263
|
+
- spec/fixtures/users.yml
|
264
|
+
- spec/models/export_file_spec.rb
|
265
|
+
- spec/requests/export_files_spec.rb
|
266
|
+
- spec/routing/export_files_routing_spec.rb
|
267
|
+
- spec/spec_helper.rb
|
268
|
+
- spec/support/controller_macros.rb
|
269
|
+
- spec/support/devise.rb
|
270
|
+
- spec/views/export_files/edit.html.erb_spec.rb
|
271
|
+
- spec/views/export_files/index.html.erb_spec.rb
|
272
|
+
- spec/views/export_files/new.html.erb_spec.rb
|
273
|
+
- spec/views/export_files/show.html.erb_spec.rb
|