txtblx 0.0.1
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.md +63 -0
- data/Rakefile +32 -0
- data/app/assets/javascripts/txtblx/application.js +13 -0
- data/app/assets/stylesheets/txtblx/application.css +15 -0
- data/app/controllers/txtblx/application_controller.rb +4 -0
- data/app/helpers/txtblx/application_helper.rb +4 -0
- data/app/helpers/txtblx/textblocks_helper.rb +14 -0
- data/app/models/txtblx/textblock.rb +24 -0
- data/app/views/layouts/txtblx/application.html.erb +14 -0
- data/config/locales/activerecord.de.yml +12 -0
- data/config/locales/txtblx.de.yml +3 -0
- data/config/locales/txtblx.en.yml +3 -0
- data/config/routes.rb +2 -0
- data/db/migrate/20150405222157_create_txtblx_textblocks.rb +14 -0
- data/lib/tasks/txtblx_tasks.rake +4 -0
- data/lib/txtblx/ability_mixin.rb +11 -0
- data/lib/txtblx/admin/textblocks.rb +59 -0
- data/lib/txtblx/configuration.rb +13 -0
- data/lib/txtblx/engine.rb +16 -0
- data/lib/txtblx/version.rb +3 -0
- data/lib/txtblx.rb +13 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +8 -0
- data/spec/dummy/app/controllers/dummies_controller.rb +5 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/dummies/index.html.erb +3 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +29 -0
- data/spec/dummy/config/application.rb +32 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +41 -0
- data/spec/dummy/config/environments/production.rb +79 -0
- data/spec/dummy/config/environments/test.rb +42 -0
- data/spec/dummy/config/initializers/assets.rb +11 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +6 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20150406173449_create_snaps_tags.snaps.rb +13 -0
- data/spec/dummy/db/schema.rb +36 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +25 -0
- data/spec/dummy/log/test.log +2647 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/factories/txtblx_textblocks.rb +16 -0
- data/spec/features/display_spec.rb +13 -0
- data/spec/helpers/textblocks_helper_spec.rb +22 -0
- data/spec/models/txtblx/textblock_spec.rb +19 -0
- data/spec/spec_helper.rb +31 -0
- metadata +285 -0
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/404.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
62
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/422.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The change you wanted was rejected.</h1>
|
62
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,66 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/500.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>We're sorry, but something went wrong.</h1>
|
62
|
+
</div>
|
63
|
+
<p>If you are the application owner check the logs for more information.</p>
|
64
|
+
</div>
|
65
|
+
</body>
|
66
|
+
</html>
|
File without changes
|
@@ -0,0 +1,16 @@
|
|
1
|
+
FactoryGirl.define do
|
2
|
+
factory :textblock, :class => 'Txtblx::Textblock' do
|
3
|
+
perma_id 1
|
4
|
+
key "some.key"
|
5
|
+
description ""
|
6
|
+
text ""
|
7
|
+
text_html ""
|
8
|
+
path "MyString"
|
9
|
+
|
10
|
+
trait :published do
|
11
|
+
after :create do |textblock|
|
12
|
+
textblock.publish
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module Txtblx
|
4
|
+
feature 'visitor on homepage' do
|
5
|
+
scenario 'sees text from textblock', :focus => true do
|
6
|
+
create(:textblock, :published, key: 'homepage.welcome', text_html: 'Welcome to Dummy App')
|
7
|
+
|
8
|
+
visit('/')
|
9
|
+
|
10
|
+
expect(page).to have_content('Welcome to Dummy App')
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module Txtblx
|
4
|
+
describe TextblocksHelper do
|
5
|
+
describe '.txt' do
|
6
|
+
it 'returns text_html from a textblock by key' do
|
7
|
+
create(:textblock, :published, key: 'homepage.welcome', text_html: 'Welcome to Dummy App')
|
8
|
+
|
9
|
+
result = helper.txt('homepage.welcome')
|
10
|
+
|
11
|
+
expect(result).to include('Welcome to Dummy App')
|
12
|
+
end
|
13
|
+
|
14
|
+
it 'returns an error message with the key if key is not found' do
|
15
|
+
result = helper.txt('homepage.welcome')
|
16
|
+
|
17
|
+
expect(result).to include(I18n.t('txtblx.missing_key', key: 'homepage.welcome'))
|
18
|
+
expect(result).to include('homepage.welcome')
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module Txtblx
|
4
|
+
RSpec.describe Textblock, type: :model do
|
5
|
+
describe 'text_html' do
|
6
|
+
it 'is automatically generated from html' do
|
7
|
+
textblock = Textblock.create(key: 'some key', text: 'some text')
|
8
|
+
|
9
|
+
expect(textblock.text_html).to be_present
|
10
|
+
end
|
11
|
+
|
12
|
+
it 'urls are replaced with links' do
|
13
|
+
textblock = Textblock.create(key: 'some key', text: 'some text inlcuding http://example.com')
|
14
|
+
|
15
|
+
expect(textblock.text_html).to include('<a href="http://example.com"')
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
ENV['RAILS_ENV'] ||= 'test'
|
2
|
+
|
3
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
4
|
+
require 'rspec/rails'
|
5
|
+
require 'rspec/autorun'
|
6
|
+
require 'factory_girl_rails'
|
7
|
+
|
8
|
+
Rails.backtrace_cleaner.remove_silencers!
|
9
|
+
|
10
|
+
# Load support files
|
11
|
+
|
12
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
13
|
+
|
14
|
+
RSpec.configure do |config|
|
15
|
+
config.mock_with :rspec
|
16
|
+
config.use_transactional_fixtures = true
|
17
|
+
config.infer_base_class_for_anonymous_controllers = false
|
18
|
+
config.infer_spec_type_from_file_location!
|
19
|
+
config.order = "random"
|
20
|
+
end
|
21
|
+
|
22
|
+
RSpec.configure do |config|
|
23
|
+
# Allow to use build and create methods without FactoryGirl prefix.
|
24
|
+
config.include FactoryGirl::Syntax::Methods
|
25
|
+
|
26
|
+
# Make sure factories are up to date when using spring
|
27
|
+
config.before(:all) do
|
28
|
+
FactoryGirl.reload
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
metadata
ADDED
@@ -0,0 +1,285 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: txtblx
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Codevise Solutions Ltd
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-04-08 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.2.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.2.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: snaps
|
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: activeadmin
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: auto_html
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: sqlite3
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rspec-rails
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: capybara
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: factory_girl_rails
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
description: Txtblx provides a simple way to allow Active Admin users to edit interface
|
126
|
+
copy.
|
127
|
+
email:
|
128
|
+
- info@codevise.de
|
129
|
+
executables: []
|
130
|
+
extensions: []
|
131
|
+
extra_rdoc_files: []
|
132
|
+
files:
|
133
|
+
- MIT-LICENSE
|
134
|
+
- README.md
|
135
|
+
- Rakefile
|
136
|
+
- app/assets/javascripts/txtblx/application.js
|
137
|
+
- app/assets/stylesheets/txtblx/application.css
|
138
|
+
- app/controllers/txtblx/application_controller.rb
|
139
|
+
- app/helpers/txtblx/application_helper.rb
|
140
|
+
- app/helpers/txtblx/textblocks_helper.rb
|
141
|
+
- app/models/txtblx/textblock.rb
|
142
|
+
- app/views/layouts/txtblx/application.html.erb
|
143
|
+
- config/locales/activerecord.de.yml
|
144
|
+
- config/locales/txtblx.de.yml
|
145
|
+
- config/locales/txtblx.en.yml
|
146
|
+
- config/routes.rb
|
147
|
+
- db/migrate/20150405222157_create_txtblx_textblocks.rb
|
148
|
+
- lib/tasks/txtblx_tasks.rake
|
149
|
+
- lib/txtblx.rb
|
150
|
+
- lib/txtblx/ability_mixin.rb
|
151
|
+
- lib/txtblx/admin/textblocks.rb
|
152
|
+
- lib/txtblx/configuration.rb
|
153
|
+
- lib/txtblx/engine.rb
|
154
|
+
- lib/txtblx/version.rb
|
155
|
+
- spec/dummy/README.rdoc
|
156
|
+
- spec/dummy/Rakefile
|
157
|
+
- spec/dummy/app/assets/javascripts/application.js
|
158
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
159
|
+
- spec/dummy/app/controllers/application_controller.rb
|
160
|
+
- spec/dummy/app/controllers/dummies_controller.rb
|
161
|
+
- spec/dummy/app/helpers/application_helper.rb
|
162
|
+
- spec/dummy/app/views/dummies/index.html.erb
|
163
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
164
|
+
- spec/dummy/bin/bundle
|
165
|
+
- spec/dummy/bin/rails
|
166
|
+
- spec/dummy/bin/rake
|
167
|
+
- spec/dummy/bin/setup
|
168
|
+
- spec/dummy/config.ru
|
169
|
+
- spec/dummy/config/application.rb
|
170
|
+
- spec/dummy/config/boot.rb
|
171
|
+
- spec/dummy/config/database.yml
|
172
|
+
- spec/dummy/config/environment.rb
|
173
|
+
- spec/dummy/config/environments/development.rb
|
174
|
+
- spec/dummy/config/environments/production.rb
|
175
|
+
- spec/dummy/config/environments/test.rb
|
176
|
+
- spec/dummy/config/initializers/assets.rb
|
177
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
178
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
179
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
180
|
+
- spec/dummy/config/initializers/inflections.rb
|
181
|
+
- spec/dummy/config/initializers/mime_types.rb
|
182
|
+
- spec/dummy/config/initializers/session_store.rb
|
183
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
184
|
+
- spec/dummy/config/locales/en.yml
|
185
|
+
- spec/dummy/config/routes.rb
|
186
|
+
- spec/dummy/config/secrets.yml
|
187
|
+
- spec/dummy/db/development.sqlite3
|
188
|
+
- spec/dummy/db/migrate/20150406173449_create_snaps_tags.snaps.rb
|
189
|
+
- spec/dummy/db/schema.rb
|
190
|
+
- spec/dummy/db/test.sqlite3
|
191
|
+
- spec/dummy/log/development.log
|
192
|
+
- spec/dummy/log/test.log
|
193
|
+
- spec/dummy/public/404.html
|
194
|
+
- spec/dummy/public/422.html
|
195
|
+
- spec/dummy/public/500.html
|
196
|
+
- spec/dummy/public/favicon.ico
|
197
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
|
198
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
199
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
|
200
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
201
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
202
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
203
|
+
- spec/factories/txtblx_textblocks.rb
|
204
|
+
- spec/features/display_spec.rb
|
205
|
+
- spec/helpers/textblocks_helper_spec.rb
|
206
|
+
- spec/models/txtblx/textblock_spec.rb
|
207
|
+
- spec/spec_helper.rb
|
208
|
+
homepage: https://github.com/codevise/txtblx
|
209
|
+
licenses:
|
210
|
+
- MIT
|
211
|
+
metadata: {}
|
212
|
+
post_install_message:
|
213
|
+
rdoc_options: []
|
214
|
+
require_paths:
|
215
|
+
- lib
|
216
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
217
|
+
requirements:
|
218
|
+
- - '>='
|
219
|
+
- !ruby/object:Gem::Version
|
220
|
+
version: '0'
|
221
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
222
|
+
requirements:
|
223
|
+
- - '>='
|
224
|
+
- !ruby/object:Gem::Version
|
225
|
+
version: '0'
|
226
|
+
requirements: []
|
227
|
+
rubyforge_project:
|
228
|
+
rubygems_version: 2.2.2
|
229
|
+
signing_key:
|
230
|
+
specification_version: 4
|
231
|
+
summary: Editable, revisioned front-end texts for rails apps.
|
232
|
+
test_files:
|
233
|
+
- spec/features/display_spec.rb
|
234
|
+
- spec/spec_helper.rb
|
235
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
236
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
|
237
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
|
238
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
239
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
240
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
241
|
+
- spec/dummy/public/404.html
|
242
|
+
- spec/dummy/public/422.html
|
243
|
+
- spec/dummy/public/500.html
|
244
|
+
- spec/dummy/public/favicon.ico
|
245
|
+
- spec/dummy/README.rdoc
|
246
|
+
- spec/dummy/Rakefile
|
247
|
+
- spec/dummy/config.ru
|
248
|
+
- spec/dummy/bin/rake
|
249
|
+
- spec/dummy/bin/rails
|
250
|
+
- spec/dummy/bin/bundle
|
251
|
+
- spec/dummy/bin/setup
|
252
|
+
- spec/dummy/config/locales/en.yml
|
253
|
+
- spec/dummy/config/boot.rb
|
254
|
+
- spec/dummy/config/secrets.yml
|
255
|
+
- spec/dummy/config/application.rb
|
256
|
+
- spec/dummy/config/environment.rb
|
257
|
+
- spec/dummy/config/environments/test.rb
|
258
|
+
- spec/dummy/config/environments/production.rb
|
259
|
+
- spec/dummy/config/environments/development.rb
|
260
|
+
- spec/dummy/config/database.yml
|
261
|
+
- spec/dummy/config/routes.rb
|
262
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
263
|
+
- spec/dummy/config/initializers/inflections.rb
|
264
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
265
|
+
- spec/dummy/config/initializers/session_store.rb
|
266
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
267
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
268
|
+
- spec/dummy/config/initializers/mime_types.rb
|
269
|
+
- spec/dummy/config/initializers/assets.rb
|
270
|
+
- spec/dummy/db/test.sqlite3
|
271
|
+
- spec/dummy/db/migrate/20150406173449_create_snaps_tags.snaps.rb
|
272
|
+
- spec/dummy/db/schema.rb
|
273
|
+
- spec/dummy/db/development.sqlite3
|
274
|
+
- spec/dummy/app/controllers/dummies_controller.rb
|
275
|
+
- spec/dummy/app/controllers/application_controller.rb
|
276
|
+
- spec/dummy/app/assets/javascripts/application.js
|
277
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
278
|
+
- spec/dummy/app/helpers/application_helper.rb
|
279
|
+
- spec/dummy/app/views/dummies/index.html.erb
|
280
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
281
|
+
- spec/dummy/log/development.log
|
282
|
+
- spec/dummy/log/test.log
|
283
|
+
- spec/factories/txtblx_textblocks.rb
|
284
|
+
- spec/helpers/textblocks_helper_spec.rb
|
285
|
+
- spec/models/txtblx/textblock_spec.rb
|