kuztuscms 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +9 -0
- data/.rvmrc +55 -0
- data/Gemfile +18 -0
- data/Gemfile.lock +156 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +12 -0
- data/Rakefile +29 -0
- data/app/assets/images/kuztuscms/.gitkeep +0 -0
- data/app/assets/images/kuztuscms/glyphicons-halflings-white.png +0 -0
- data/app/assets/images/kuztuscms/glyphicons-halflings.png +0 -0
- data/app/assets/javascripts/kuztuscms/.DS_Store +0 -0
- data/app/assets/javascripts/kuztuscms/application.js +15 -0
- data/app/assets/javascripts/kuztuscms/bootstrap.js +1720 -0
- data/app/assets/javascripts/kuztuscms/codemirror-compressed.js +1 -0
- data/app/assets/stylesheets/kuztuscms/.DS_Store +0 -0
- data/app/assets/stylesheets/kuztuscms/application.css.scss +16 -0
- data/app/assets/stylesheets/kuztuscms/bootstrap-responsive.css +581 -0
- data/app/assets/stylesheets/kuztuscms/bootstrap.css +3496 -0
- data/app/assets/stylesheets/kuztuscms/codemirror.css +115 -0
- data/app/controllers/kuztuscms/articles_controller.rb +53 -0
- data/app/controllers/kuztuscms/home_controller.rb +6 -0
- data/app/controllers/kuztuscms/layouts_controller.rb +75 -0
- data/app/controllers/kuztuscms/pages_controller.rb +73 -0
- data/app/controllers/kuztuscms/settings_controller.rb +48 -0
- data/app/controllers/kuztuscms/templates_controller.rb +72 -0
- data/app/controllers/kuztuscms/users_controller.rb +74 -0
- data/app/controllers/kuztuscms_controller.rb +23 -0
- data/app/helpers/kuztuscms/application_helper.rb +4 -0
- data/app/models/kuztuscms/article.rb +4 -0
- data/app/models/kuztuscms/layout.rb +14 -0
- data/app/models/kuztuscms/page.rb +8 -0
- data/app/models/kuztuscms/setting.rb +11 -0
- data/app/models/kuztuscms/template.rb +14 -0
- data/app/models/kuztuscms/user.rb +20 -0
- data/app/views/devise/_links.erb +27 -0
- data/app/views/devise/confirmations/new.html.erb +12 -0
- data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
- data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
- data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
- data/app/views/devise/passwords/edit.html.erb +16 -0
- data/app/views/devise/passwords/new.html.erb +18 -0
- data/app/views/devise/registrations/edit.html.erb +25 -0
- data/app/views/devise/registrations/new.html.erb +21 -0
- data/app/views/devise/sessions/new.html.erb +31 -0
- data/app/views/devise/unlocks/new.html.erb +19 -0
- data/app/views/kuztuscms/articles/_form.html.erb +35 -0
- data/app/views/kuztuscms/articles/edit.html.erb +1 -0
- data/app/views/kuztuscms/articles/index.html.erb +22 -0
- data/app/views/kuztuscms/articles/new.html.erb +1 -0
- data/app/views/kuztuscms/articles/show.html.erb +4 -0
- data/app/views/kuztuscms/home/index.html.erb +1 -0
- data/app/views/kuztuscms/layouts/_form.html.erb +58 -0
- data/app/views/kuztuscms/layouts/edit.html.erb +2 -0
- data/app/views/kuztuscms/layouts/index.html.erb +32 -0
- data/app/views/kuztuscms/layouts/new.html.erb +2 -0
- data/app/views/kuztuscms/pages/_form.html.erb +72 -0
- data/app/views/kuztuscms/pages/edit.html.erb +1 -0
- data/app/views/kuztuscms/pages/index.html.erb +28 -0
- data/app/views/kuztuscms/pages/new.html.erb +1 -0
- data/app/views/kuztuscms/pages/show.html.erb +1 -0
- data/app/views/kuztuscms/settings/_form.html.erb +35 -0
- data/app/views/kuztuscms/settings/edit.html.erb +1 -0
- data/app/views/kuztuscms/settings/index.html.erb +24 -0
- data/app/views/kuztuscms/settings/new.html.erb +1 -0
- data/app/views/kuztuscms/shared/_codemirror.html.erb +20 -0
- data/app/views/kuztuscms/templates/_form.html.erb +58 -0
- data/app/views/kuztuscms/templates/edit.html.erb +3 -0
- data/app/views/kuztuscms/templates/index.html.erb +28 -0
- data/app/views/kuztuscms/templates/new.html.erb +2 -0
- data/app/views/kuztuscms/users/_form.html.erb +56 -0
- data/app/views/kuztuscms/users/edit.html.erb +1 -0
- data/app/views/kuztuscms/users/index.html.erb +28 -0
- data/app/views/kuztuscms/users/new.html.erb +1 -0
- data/app/views/kuztuscms/users/show.html.erb +15 -0
- data/app/views/layouts/kuztuscms/application.html.erb +57 -0
- data/config/initializers/devise.rb +225 -0
- data/config/initializers/resolver.rb +65 -0
- data/config/locales/devise.en.yml +57 -0
- data/config/locales/en.yml +5 -0
- data/config/routes.rb +18 -0
- data/db/migrate/20120218074040_devise_create_kuztuscms_users.rb +52 -0
- data/db/migrate/20120218075211_create_kuztuscms_pages.rb +15 -0
- data/db/migrate/20120311080242_create_kuztuscms_templates.rb +38 -0
- data/db/migrate/20120311141419_create_kuztuscms_articles.rb +10 -0
- data/db/migrate/20120311173954_create_kuztuscms_layouts.rb +43 -0
- data/db/migrate/20120316081613_create_kuztuscms_settings.rb +10 -0
- data/kuztuscms.gemspec +33 -0
- data/lib/kuztuscms/engine.rb +13 -0
- data/lib/kuztuscms/settings.rb +26 -0
- data/lib/kuztuscms/version.rb +3 -0
- data/lib/kuztuscms.rb +7 -0
- data/lib/tasks/kuztuscms_tasks.rake +4 -0
- data/script/rails +8 -0
- data/spec/controllers/kuztuscms/articles_controller_spec.rb +164 -0
- data/spec/controllers/kuztuscms/languages_controller_spec.rb +164 -0
- data/spec/controllers/kuztuscms/layouts_controller_spec.rb +164 -0
- data/spec/controllers/kuztuscms/pages_controller_spec.rb +164 -0
- data/spec/controllers/kuztuscms/settings_controller_spec.rb +164 -0
- data/spec/controllers/kuztuscms/templates_controller_spec.rb +164 -0
- data/spec/controllers/kuztuscms/translations_controller_spec.rb +164 -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/javascripts/home.js +2 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/assets/stylesheets/home.css +4 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/controllers/home_controller.rb +4 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/helpers/home_helper.rb +2 -0
- data/spec/dummy/app/mailers/.gitkeep +0 -0
- data/spec/dummy/app/models/.gitkeep +0 -0
- data/spec/dummy/app/views/home/index.html.erb +3 -0
- data/spec/dummy/app/views/layouts/application.html.erb +16 -0
- data/spec/dummy/config/application.rb +62 -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 +38 -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/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 +9 -0
- data/spec/dummy/config/locales/ru.yml +5 -0
- data/spec/dummy/config/routes.rb +8 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/migrate/20120313083011_devise_create_kuztuscms_users.kuztuscms.rb +59 -0
- data/spec/dummy/db/migrate/20120313083012_create_kuztuscms_pages.kuztuscms.rb +16 -0
- data/spec/dummy/db/migrate/20120313083013_create_kuztuscms_templates.kuztuscms.rb +15 -0
- data/spec/dummy/db/migrate/20120313083014_create_kuztuscms_articles.kuztuscms.rb +11 -0
- data/spec/dummy/db/migrate/20120313083015_create_kuztuscms_layouts.kuztuscms.rb +41 -0
- data/spec/dummy/db/migrate/20120316084434_create_kuztuscms_settings.kuztuscms.rb +11 -0
- data/spec/dummy/db/schema.rb +90 -0
- data/spec/dummy/lib/assets/.gitkeep +0 -0
- data/spec/dummy/log/.gitkeep +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/helpers/kuztuscms/articles_helper_spec.rb +15 -0
- data/spec/helpers/kuztuscms/languages_helper_spec.rb +15 -0
- data/spec/helpers/kuztuscms/layouts_helper_spec.rb +15 -0
- data/spec/helpers/kuztuscms/pages_helper_spec.rb +15 -0
- data/spec/helpers/kuztuscms/settings_helper_spec.rb +15 -0
- data/spec/helpers/kuztuscms/templates_helper_spec.rb +15 -0
- data/spec/helpers/kuztuscms/translations_helper_spec.rb +15 -0
- data/spec/models/kuztuscms/article_spec.rb +5 -0
- data/spec/models/kuztuscms/language_spec.rb +5 -0
- data/spec/models/kuztuscms/layout_spec.rb +5 -0
- data/spec/models/kuztuscms/page_spec.rb +5 -0
- data/spec/models/kuztuscms/setting_spec.rb +5 -0
- data/spec/models/kuztuscms/template_spec.rb +5 -0
- data/spec/models/kuztuscms/translation_spec.rb +5 -0
- data/spec/models/kuztuscms/user_spec.rb +5 -0
- data/spec/routing/kuztuscms/articles_routing_spec.rb +35 -0
- data/spec/routing/kuztuscms/languages_routing_spec.rb +35 -0
- data/spec/routing/kuztuscms/layouts_routing_spec.rb +35 -0
- data/spec/routing/kuztuscms/pages_routing_spec.rb +35 -0
- data/spec/routing/kuztuscms/settings_routing_spec.rb +35 -0
- data/spec/routing/kuztuscms/templates_routing_spec.rb +35 -0
- data/spec/routing/kuztuscms/translations_routing_spec.rb +35 -0
- data/spec/views/kuztuscms/articles/edit.html.erb_spec.rb +20 -0
- data/spec/views/kuztuscms/articles/index.html.erb_spec.rb +24 -0
- data/spec/views/kuztuscms/articles/new.html.erb_spec.rb +20 -0
- data/spec/views/kuztuscms/articles/show.html.erb_spec.rb +18 -0
- data/spec/views/kuztuscms/languages/edit.html.erb_spec.rb +22 -0
- data/spec/views/kuztuscms/languages/index.html.erb_spec.rb +28 -0
- data/spec/views/kuztuscms/languages/new.html.erb_spec.rb +22 -0
- data/spec/views/kuztuscms/languages/show.html.erb_spec.rb +21 -0
- data/spec/views/kuztuscms/layouts/edit.html.erb_spec.rb +20 -0
- data/spec/views/kuztuscms/layouts/index.html.erb_spec.rb +24 -0
- data/spec/views/kuztuscms/layouts/new.html.erb_spec.rb +20 -0
- data/spec/views/kuztuscms/layouts/show.html.erb_spec.rb +18 -0
- data/spec/views/kuztuscms/pages/edit.html.erb_spec.rb +15 -0
- data/spec/views/kuztuscms/pages/index.html.erb_spec.rb +14 -0
- data/spec/views/kuztuscms/pages/new.html.erb_spec.rb +15 -0
- data/spec/views/kuztuscms/pages/show.html.erb_spec.rb +11 -0
- data/spec/views/kuztuscms/settings/edit.html.erb_spec.rb +20 -0
- data/spec/views/kuztuscms/settings/index.html.erb_spec.rb +24 -0
- data/spec/views/kuztuscms/settings/new.html.erb_spec.rb +20 -0
- data/spec/views/kuztuscms/settings/show.html.erb_spec.rb +18 -0
- data/spec/views/kuztuscms/templates/edit.html.erb_spec.rb +28 -0
- data/spec/views/kuztuscms/templates/index.html.erb_spec.rb +40 -0
- data/spec/views/kuztuscms/templates/new.html.erb_spec.rb +28 -0
- data/spec/views/kuztuscms/templates/show.html.erb_spec.rb +30 -0
- data/spec/views/kuztuscms/translations/edit.html.erb_spec.rb +28 -0
- data/spec/views/kuztuscms/translations/index.html.erb_spec.rb +40 -0
- data/spec/views/kuztuscms/translations/new.html.erb_spec.rb +28 -0
- data/spec/views/kuztuscms/translations/show.html.erb_spec.rb +30 -0
- data/test/integration/kuztuscms/setting_test.rb +7 -0
- metadata +351 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe "templates/new" do
|
4
|
+
before(:each) do
|
5
|
+
assign(:template, stub_model(Template,
|
6
|
+
:body => "MyText",
|
7
|
+
:path => "MyString",
|
8
|
+
:format => "MyString",
|
9
|
+
:locale => "MyString",
|
10
|
+
:handler => "MyString",
|
11
|
+
:partial => false
|
12
|
+
).as_new_record)
|
13
|
+
end
|
14
|
+
|
15
|
+
it "renders new template form" do
|
16
|
+
render
|
17
|
+
|
18
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
19
|
+
assert_select "form", :action => templates_path, :method => "post" do
|
20
|
+
assert_select "textarea#template_body", :name => "template[body]"
|
21
|
+
assert_select "input#template_path", :name => "template[path]"
|
22
|
+
assert_select "input#template_format", :name => "template[format]"
|
23
|
+
assert_select "input#template_locale", :name => "template[locale]"
|
24
|
+
assert_select "input#template_handler", :name => "template[handler]"
|
25
|
+
assert_select "input#template_partial", :name => "template[partial]"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe "templates/show" do
|
4
|
+
before(:each) do
|
5
|
+
@template = assign(:template, stub_model(Template,
|
6
|
+
:body => "MyText",
|
7
|
+
:path => "Path",
|
8
|
+
:format => "Format",
|
9
|
+
:locale => "Locale",
|
10
|
+
:handler => "Handler",
|
11
|
+
:partial => false
|
12
|
+
))
|
13
|
+
end
|
14
|
+
|
15
|
+
it "renders attributes in <p>" do
|
16
|
+
render
|
17
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
18
|
+
rendered.should match(/MyText/)
|
19
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
20
|
+
rendered.should match(/Path/)
|
21
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
22
|
+
rendered.should match(/Format/)
|
23
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
24
|
+
rendered.should match(/Locale/)
|
25
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
26
|
+
rendered.should match(/Handler/)
|
27
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
28
|
+
rendered.should match(/false/)
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe "translations/edit" do
|
4
|
+
before(:each) do
|
5
|
+
@translation = assign(:translation, stub_model(Translation,
|
6
|
+
:locale => "MyString",
|
7
|
+
:key_hash => "MyString",
|
8
|
+
:key => "MyText",
|
9
|
+
:value => "MyText",
|
10
|
+
:interpolations => "MyText",
|
11
|
+
:is_proc => false
|
12
|
+
))
|
13
|
+
end
|
14
|
+
|
15
|
+
it "renders the edit translation form" do
|
16
|
+
render
|
17
|
+
|
18
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
19
|
+
assert_select "form", :action => translations_path(@translation), :method => "post" do
|
20
|
+
assert_select "input#translation_locale", :name => "translation[locale]"
|
21
|
+
assert_select "input#translation_key_hash", :name => "translation[key_hash]"
|
22
|
+
assert_select "textarea#translation_key", :name => "translation[key]"
|
23
|
+
assert_select "textarea#translation_value", :name => "translation[value]"
|
24
|
+
assert_select "textarea#translation_interpolations", :name => "translation[interpolations]"
|
25
|
+
assert_select "input#translation_is_proc", :name => "translation[is_proc]"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe "translations/index" do
|
4
|
+
before(:each) do
|
5
|
+
assign(:translations, [
|
6
|
+
stub_model(Translation,
|
7
|
+
:locale => "Locale",
|
8
|
+
:key_hash => "Key Hash",
|
9
|
+
:key => "MyText",
|
10
|
+
:value => "MyText",
|
11
|
+
:interpolations => "MyText",
|
12
|
+
:is_proc => false
|
13
|
+
),
|
14
|
+
stub_model(Translation,
|
15
|
+
:locale => "Locale",
|
16
|
+
:key_hash => "Key Hash",
|
17
|
+
:key => "MyText",
|
18
|
+
:value => "MyText",
|
19
|
+
:interpolations => "MyText",
|
20
|
+
:is_proc => false
|
21
|
+
)
|
22
|
+
])
|
23
|
+
end
|
24
|
+
|
25
|
+
it "renders a list of translations" do
|
26
|
+
render
|
27
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
28
|
+
assert_select "tr>td", :text => "Locale".to_s, :count => 2
|
29
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
30
|
+
assert_select "tr>td", :text => "Key Hash".to_s, :count => 2
|
31
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
32
|
+
assert_select "tr>td", :text => "MyText".to_s, :count => 2
|
33
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
34
|
+
assert_select "tr>td", :text => "MyText".to_s, :count => 2
|
35
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
36
|
+
assert_select "tr>td", :text => "MyText".to_s, :count => 2
|
37
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
38
|
+
assert_select "tr>td", :text => false.to_s, :count => 2
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe "translations/new" do
|
4
|
+
before(:each) do
|
5
|
+
assign(:translation, stub_model(Translation,
|
6
|
+
:locale => "MyString",
|
7
|
+
:key_hash => "MyString",
|
8
|
+
:key => "MyText",
|
9
|
+
:value => "MyText",
|
10
|
+
:interpolations => "MyText",
|
11
|
+
:is_proc => false
|
12
|
+
).as_new_record)
|
13
|
+
end
|
14
|
+
|
15
|
+
it "renders new translation form" do
|
16
|
+
render
|
17
|
+
|
18
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
19
|
+
assert_select "form", :action => translations_path, :method => "post" do
|
20
|
+
assert_select "input#translation_locale", :name => "translation[locale]"
|
21
|
+
assert_select "input#translation_key_hash", :name => "translation[key_hash]"
|
22
|
+
assert_select "textarea#translation_key", :name => "translation[key]"
|
23
|
+
assert_select "textarea#translation_value", :name => "translation[value]"
|
24
|
+
assert_select "textarea#translation_interpolations", :name => "translation[interpolations]"
|
25
|
+
assert_select "input#translation_is_proc", :name => "translation[is_proc]"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe "translations/show" do
|
4
|
+
before(:each) do
|
5
|
+
@translation = assign(:translation, stub_model(Translation,
|
6
|
+
:locale => "Locale",
|
7
|
+
:key_hash => "Key Hash",
|
8
|
+
:key => "MyText",
|
9
|
+
:value => "MyText",
|
10
|
+
:interpolations => "MyText",
|
11
|
+
:is_proc => false
|
12
|
+
))
|
13
|
+
end
|
14
|
+
|
15
|
+
it "renders attributes in <p>" do
|
16
|
+
render
|
17
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
18
|
+
rendered.should match(/Locale/)
|
19
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
20
|
+
rendered.should match(/Key Hash/)
|
21
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
22
|
+
rendered.should match(/MyText/)
|
23
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
24
|
+
rendered.should match(/MyText/)
|
25
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
26
|
+
rendered.should match(/MyText/)
|
27
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
28
|
+
rendered.should match(/false/)
|
29
|
+
end
|
30
|
+
end
|
metadata
ADDED
@@ -0,0 +1,351 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: kuztuscms
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Arturs Kreipans
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-03-17 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: &70202146694000 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70202146694000
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: sass-rails
|
27
|
+
requirement: &70202146691780 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70202146691780
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: coffee-rails
|
38
|
+
requirement: &70202146687640 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
type: :runtime
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70202146687640
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: uglifier
|
49
|
+
requirement: &70202146685040 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
type: :runtime
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *70202146685040
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: devise
|
60
|
+
requirement: &70202146683700 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
66
|
+
type: :runtime
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *70202146683700
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: tzinfo
|
71
|
+
requirement: &70202146681560 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *70202146681560
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: omniauth
|
82
|
+
requirement: &70202146680960 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
type: :runtime
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *70202146680960
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: actionmailer
|
93
|
+
requirement: &70202146680120 !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
type: :runtime
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: *70202146680120
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: sqlite3
|
104
|
+
requirement: &70202146678400 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: *70202146678400
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: rspec-rails
|
115
|
+
requirement: &70202146677400 !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
117
|
+
requirements:
|
118
|
+
- - ! '>='
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
121
|
+
type: :development
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: *70202146677400
|
124
|
+
description: KuztusCMS for rails >= 3.1
|
125
|
+
email:
|
126
|
+
- dummy@email.com
|
127
|
+
executables: []
|
128
|
+
extensions: []
|
129
|
+
extra_rdoc_files: []
|
130
|
+
files:
|
131
|
+
- .gitignore
|
132
|
+
- .rvmrc
|
133
|
+
- Gemfile
|
134
|
+
- Gemfile.lock
|
135
|
+
- MIT-LICENSE
|
136
|
+
- README.rdoc
|
137
|
+
- Rakefile
|
138
|
+
- app/assets/images/kuztuscms/.gitkeep
|
139
|
+
- app/assets/images/kuztuscms/glyphicons-halflings-white.png
|
140
|
+
- app/assets/images/kuztuscms/glyphicons-halflings.png
|
141
|
+
- app/assets/javascripts/kuztuscms/.DS_Store
|
142
|
+
- app/assets/javascripts/kuztuscms/application.js
|
143
|
+
- app/assets/javascripts/kuztuscms/bootstrap.js
|
144
|
+
- app/assets/javascripts/kuztuscms/codemirror-compressed.js
|
145
|
+
- app/assets/stylesheets/kuztuscms/.DS_Store
|
146
|
+
- app/assets/stylesheets/kuztuscms/application.css.scss
|
147
|
+
- app/assets/stylesheets/kuztuscms/bootstrap-responsive.css
|
148
|
+
- app/assets/stylesheets/kuztuscms/bootstrap.css
|
149
|
+
- app/assets/stylesheets/kuztuscms/codemirror.css
|
150
|
+
- app/controllers/kuztuscms/articles_controller.rb
|
151
|
+
- app/controllers/kuztuscms/home_controller.rb
|
152
|
+
- app/controllers/kuztuscms/layouts_controller.rb
|
153
|
+
- app/controllers/kuztuscms/pages_controller.rb
|
154
|
+
- app/controllers/kuztuscms/settings_controller.rb
|
155
|
+
- app/controllers/kuztuscms/templates_controller.rb
|
156
|
+
- app/controllers/kuztuscms/users_controller.rb
|
157
|
+
- app/controllers/kuztuscms_controller.rb
|
158
|
+
- app/helpers/kuztuscms/application_helper.rb
|
159
|
+
- app/models/kuztuscms/article.rb
|
160
|
+
- app/models/kuztuscms/layout.rb
|
161
|
+
- app/models/kuztuscms/page.rb
|
162
|
+
- app/models/kuztuscms/setting.rb
|
163
|
+
- app/models/kuztuscms/template.rb
|
164
|
+
- app/models/kuztuscms/user.rb
|
165
|
+
- app/views/devise/_links.erb
|
166
|
+
- app/views/devise/confirmations/new.html.erb
|
167
|
+
- app/views/devise/mailer/confirmation_instructions.html.erb
|
168
|
+
- app/views/devise/mailer/reset_password_instructions.html.erb
|
169
|
+
- app/views/devise/mailer/unlock_instructions.html.erb
|
170
|
+
- app/views/devise/passwords/edit.html.erb
|
171
|
+
- app/views/devise/passwords/new.html.erb
|
172
|
+
- app/views/devise/registrations/edit.html.erb
|
173
|
+
- app/views/devise/registrations/new.html.erb
|
174
|
+
- app/views/devise/sessions/new.html.erb
|
175
|
+
- app/views/devise/unlocks/new.html.erb
|
176
|
+
- app/views/kuztuscms/articles/_form.html.erb
|
177
|
+
- app/views/kuztuscms/articles/edit.html.erb
|
178
|
+
- app/views/kuztuscms/articles/index.html.erb
|
179
|
+
- app/views/kuztuscms/articles/new.html.erb
|
180
|
+
- app/views/kuztuscms/articles/show.html.erb
|
181
|
+
- app/views/kuztuscms/home/index.html.erb
|
182
|
+
- app/views/kuztuscms/layouts/_form.html.erb
|
183
|
+
- app/views/kuztuscms/layouts/edit.html.erb
|
184
|
+
- app/views/kuztuscms/layouts/index.html.erb
|
185
|
+
- app/views/kuztuscms/layouts/new.html.erb
|
186
|
+
- app/views/kuztuscms/pages/_form.html.erb
|
187
|
+
- app/views/kuztuscms/pages/edit.html.erb
|
188
|
+
- app/views/kuztuscms/pages/index.html.erb
|
189
|
+
- app/views/kuztuscms/pages/new.html.erb
|
190
|
+
- app/views/kuztuscms/pages/show.html.erb
|
191
|
+
- app/views/kuztuscms/settings/_form.html.erb
|
192
|
+
- app/views/kuztuscms/settings/edit.html.erb
|
193
|
+
- app/views/kuztuscms/settings/index.html.erb
|
194
|
+
- app/views/kuztuscms/settings/new.html.erb
|
195
|
+
- app/views/kuztuscms/shared/_codemirror.html.erb
|
196
|
+
- app/views/kuztuscms/templates/_form.html.erb
|
197
|
+
- app/views/kuztuscms/templates/edit.html.erb
|
198
|
+
- app/views/kuztuscms/templates/index.html.erb
|
199
|
+
- app/views/kuztuscms/templates/new.html.erb
|
200
|
+
- app/views/kuztuscms/users/_form.html.erb
|
201
|
+
- app/views/kuztuscms/users/edit.html.erb
|
202
|
+
- app/views/kuztuscms/users/index.html.erb
|
203
|
+
- app/views/kuztuscms/users/new.html.erb
|
204
|
+
- app/views/kuztuscms/users/show.html.erb
|
205
|
+
- app/views/layouts/kuztuscms/application.html.erb
|
206
|
+
- config/initializers/devise.rb
|
207
|
+
- config/initializers/resolver.rb
|
208
|
+
- config/locales/devise.en.yml
|
209
|
+
- config/locales/en.yml
|
210
|
+
- config/routes.rb
|
211
|
+
- db/migrate/20120218074040_devise_create_kuztuscms_users.rb
|
212
|
+
- db/migrate/20120218075211_create_kuztuscms_pages.rb
|
213
|
+
- db/migrate/20120311080242_create_kuztuscms_templates.rb
|
214
|
+
- db/migrate/20120311141419_create_kuztuscms_articles.rb
|
215
|
+
- db/migrate/20120311173954_create_kuztuscms_layouts.rb
|
216
|
+
- db/migrate/20120316081613_create_kuztuscms_settings.rb
|
217
|
+
- kuztuscms.gemspec
|
218
|
+
- lib/kuztuscms.rb
|
219
|
+
- lib/kuztuscms/engine.rb
|
220
|
+
- lib/kuztuscms/settings.rb
|
221
|
+
- lib/kuztuscms/version.rb
|
222
|
+
- lib/tasks/kuztuscms_tasks.rake
|
223
|
+
- script/rails
|
224
|
+
- spec/controllers/kuztuscms/articles_controller_spec.rb
|
225
|
+
- spec/controllers/kuztuscms/languages_controller_spec.rb
|
226
|
+
- spec/controllers/kuztuscms/layouts_controller_spec.rb
|
227
|
+
- spec/controllers/kuztuscms/pages_controller_spec.rb
|
228
|
+
- spec/controllers/kuztuscms/settings_controller_spec.rb
|
229
|
+
- spec/controllers/kuztuscms/templates_controller_spec.rb
|
230
|
+
- spec/controllers/kuztuscms/translations_controller_spec.rb
|
231
|
+
- spec/dummy/README.rdoc
|
232
|
+
- spec/dummy/Rakefile
|
233
|
+
- spec/dummy/app/assets/javascripts/application.js
|
234
|
+
- spec/dummy/app/assets/javascripts/home.js
|
235
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
236
|
+
- spec/dummy/app/assets/stylesheets/home.css
|
237
|
+
- spec/dummy/app/controllers/application_controller.rb
|
238
|
+
- spec/dummy/app/controllers/home_controller.rb
|
239
|
+
- spec/dummy/app/helpers/application_helper.rb
|
240
|
+
- spec/dummy/app/helpers/home_helper.rb
|
241
|
+
- spec/dummy/app/mailers/.gitkeep
|
242
|
+
- spec/dummy/app/models/.gitkeep
|
243
|
+
- spec/dummy/app/views/home/index.html.erb
|
244
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
245
|
+
- spec/dummy/config.ru
|
246
|
+
- spec/dummy/config/application.rb
|
247
|
+
- spec/dummy/config/boot.rb
|
248
|
+
- spec/dummy/config/database.yml
|
249
|
+
- spec/dummy/config/environment.rb
|
250
|
+
- spec/dummy/config/environments/development.rb
|
251
|
+
- spec/dummy/config/environments/production.rb
|
252
|
+
- spec/dummy/config/environments/test.rb
|
253
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
254
|
+
- spec/dummy/config/initializers/inflections.rb
|
255
|
+
- spec/dummy/config/initializers/mime_types.rb
|
256
|
+
- spec/dummy/config/initializers/secret_token.rb
|
257
|
+
- spec/dummy/config/initializers/session_store.rb
|
258
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
259
|
+
- spec/dummy/config/locales/en.yml
|
260
|
+
- spec/dummy/config/locales/ru.yml
|
261
|
+
- spec/dummy/config/routes.rb
|
262
|
+
- spec/dummy/db/migrate/20120313083011_devise_create_kuztuscms_users.kuztuscms.rb
|
263
|
+
- spec/dummy/db/migrate/20120313083012_create_kuztuscms_pages.kuztuscms.rb
|
264
|
+
- spec/dummy/db/migrate/20120313083013_create_kuztuscms_templates.kuztuscms.rb
|
265
|
+
- spec/dummy/db/migrate/20120313083014_create_kuztuscms_articles.kuztuscms.rb
|
266
|
+
- spec/dummy/db/migrate/20120313083015_create_kuztuscms_layouts.kuztuscms.rb
|
267
|
+
- spec/dummy/db/migrate/20120316084434_create_kuztuscms_settings.kuztuscms.rb
|
268
|
+
- spec/dummy/db/schema.rb
|
269
|
+
- spec/dummy/lib/assets/.gitkeep
|
270
|
+
- spec/dummy/log/.gitkeep
|
271
|
+
- spec/dummy/public/404.html
|
272
|
+
- spec/dummy/public/422.html
|
273
|
+
- spec/dummy/public/500.html
|
274
|
+
- spec/dummy/public/favicon.ico
|
275
|
+
- spec/dummy/script/rails
|
276
|
+
- spec/helpers/kuztuscms/articles_helper_spec.rb
|
277
|
+
- spec/helpers/kuztuscms/languages_helper_spec.rb
|
278
|
+
- spec/helpers/kuztuscms/layouts_helper_spec.rb
|
279
|
+
- spec/helpers/kuztuscms/pages_helper_spec.rb
|
280
|
+
- spec/helpers/kuztuscms/settings_helper_spec.rb
|
281
|
+
- spec/helpers/kuztuscms/templates_helper_spec.rb
|
282
|
+
- spec/helpers/kuztuscms/translations_helper_spec.rb
|
283
|
+
- spec/models/kuztuscms/article_spec.rb
|
284
|
+
- spec/models/kuztuscms/language_spec.rb
|
285
|
+
- spec/models/kuztuscms/layout_spec.rb
|
286
|
+
- spec/models/kuztuscms/page_spec.rb
|
287
|
+
- spec/models/kuztuscms/setting_spec.rb
|
288
|
+
- spec/models/kuztuscms/template_spec.rb
|
289
|
+
- spec/models/kuztuscms/translation_spec.rb
|
290
|
+
- spec/models/kuztuscms/user_spec.rb
|
291
|
+
- spec/routing/kuztuscms/articles_routing_spec.rb
|
292
|
+
- spec/routing/kuztuscms/languages_routing_spec.rb
|
293
|
+
- spec/routing/kuztuscms/layouts_routing_spec.rb
|
294
|
+
- spec/routing/kuztuscms/pages_routing_spec.rb
|
295
|
+
- spec/routing/kuztuscms/settings_routing_spec.rb
|
296
|
+
- spec/routing/kuztuscms/templates_routing_spec.rb
|
297
|
+
- spec/routing/kuztuscms/translations_routing_spec.rb
|
298
|
+
- spec/views/kuztuscms/articles/edit.html.erb_spec.rb
|
299
|
+
- spec/views/kuztuscms/articles/index.html.erb_spec.rb
|
300
|
+
- spec/views/kuztuscms/articles/new.html.erb_spec.rb
|
301
|
+
- spec/views/kuztuscms/articles/show.html.erb_spec.rb
|
302
|
+
- spec/views/kuztuscms/languages/edit.html.erb_spec.rb
|
303
|
+
- spec/views/kuztuscms/languages/index.html.erb_spec.rb
|
304
|
+
- spec/views/kuztuscms/languages/new.html.erb_spec.rb
|
305
|
+
- spec/views/kuztuscms/languages/show.html.erb_spec.rb
|
306
|
+
- spec/views/kuztuscms/layouts/edit.html.erb_spec.rb
|
307
|
+
- spec/views/kuztuscms/layouts/index.html.erb_spec.rb
|
308
|
+
- spec/views/kuztuscms/layouts/new.html.erb_spec.rb
|
309
|
+
- spec/views/kuztuscms/layouts/show.html.erb_spec.rb
|
310
|
+
- spec/views/kuztuscms/pages/edit.html.erb_spec.rb
|
311
|
+
- spec/views/kuztuscms/pages/index.html.erb_spec.rb
|
312
|
+
- spec/views/kuztuscms/pages/new.html.erb_spec.rb
|
313
|
+
- spec/views/kuztuscms/pages/show.html.erb_spec.rb
|
314
|
+
- spec/views/kuztuscms/settings/edit.html.erb_spec.rb
|
315
|
+
- spec/views/kuztuscms/settings/index.html.erb_spec.rb
|
316
|
+
- spec/views/kuztuscms/settings/new.html.erb_spec.rb
|
317
|
+
- spec/views/kuztuscms/settings/show.html.erb_spec.rb
|
318
|
+
- spec/views/kuztuscms/templates/edit.html.erb_spec.rb
|
319
|
+
- spec/views/kuztuscms/templates/index.html.erb_spec.rb
|
320
|
+
- spec/views/kuztuscms/templates/new.html.erb_spec.rb
|
321
|
+
- spec/views/kuztuscms/templates/show.html.erb_spec.rb
|
322
|
+
- spec/views/kuztuscms/translations/edit.html.erb_spec.rb
|
323
|
+
- spec/views/kuztuscms/translations/index.html.erb_spec.rb
|
324
|
+
- spec/views/kuztuscms/translations/new.html.erb_spec.rb
|
325
|
+
- spec/views/kuztuscms/translations/show.html.erb_spec.rb
|
326
|
+
- test/integration/kuztuscms/setting_test.rb
|
327
|
+
homepage: http://github.com/fragallia/kuztuscms
|
328
|
+
licenses: []
|
329
|
+
post_install_message:
|
330
|
+
rdoc_options: []
|
331
|
+
require_paths:
|
332
|
+
- lib
|
333
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
334
|
+
none: false
|
335
|
+
requirements:
|
336
|
+
- - ! '>='
|
337
|
+
- !ruby/object:Gem::Version
|
338
|
+
version: '0'
|
339
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
340
|
+
none: false
|
341
|
+
requirements:
|
342
|
+
- - ! '>='
|
343
|
+
- !ruby/object:Gem::Version
|
344
|
+
version: '0'
|
345
|
+
requirements: []
|
346
|
+
rubyforge_project:
|
347
|
+
rubygems_version: 1.8.10
|
348
|
+
signing_key:
|
349
|
+
specification_version: 3
|
350
|
+
summary: KuztusCMS for rails >= 3.1
|
351
|
+
test_files: []
|