psique 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/Gemfile +5 -0
- data/LICENSE +22 -0
- data/README.md +2 -0
- data/Rakefile +34 -0
- data/assets/fonts/psique/roboto-bold.eot +0 -0
- data/assets/fonts/psique/roboto-bold.svg +593 -0
- data/assets/fonts/psique/roboto-bold.ttf +0 -0
- data/assets/fonts/psique/roboto-bold.woff +0 -0
- data/assets/fonts/psique/roboto-regular.eot +0 -0
- data/assets/fonts/psique/roboto-regular.svg +621 -0
- data/assets/fonts/psique/roboto-regular.ttf +0 -0
- data/assets/fonts/psique/roboto-regular.woff +0 -0
- data/assets/fonts/psique/sourcesanspro-bold.eot +0 -0
- data/assets/fonts/psique/sourcesanspro-bold.svg +954 -0
- data/assets/fonts/psique/sourcesanspro-bold.ttf +0 -0
- data/assets/fonts/psique/sourcesanspro-bold.woff +0 -0
- data/assets/fonts/psique/sourcesanspro-regular.eot +0 -0
- data/assets/fonts/psique/sourcesanspro-regular.svg +977 -0
- data/assets/fonts/psique/sourcesanspro-regular.ttf +0 -0
- data/assets/fonts/psique/sourcesanspro-regular.woff +0 -0
- data/assets/images/psique/.keep +0 -0
- data/assets/javascripts/psique.js.coffee +2 -0
- data/assets/javascripts/psique/panels.js.coffee +7 -0
- data/assets/stylesheets/psique.scss +19 -0
- data/assets/stylesheets/psique/_buttons.scss +222 -0
- data/assets/stylesheets/psique/_forms.scss +92 -0
- data/assets/stylesheets/psique/_grid.scss +20 -0
- data/assets/stylesheets/psique/_lists.scss +160 -0
- data/assets/stylesheets/psique/_mixins.scss +69 -0
- data/assets/stylesheets/psique/_panels.scss +148 -0
- data/assets/stylesheets/psique/_settings.scss +127 -0
- data/assets/stylesheets/psique/_summaries.scss +188 -0
- data/assets/stylesheets/psique/_typography.scss +70 -0
- data/doc/assets/_footer.html +7 -0
- data/doc/assets/_header.html +66 -0
- data/doc/assets/brick.png +0 -0
- data/doc/assets/css/doc.css +132 -0
- data/doc/assets/css/github.css +61 -0
- data/doc/assets/css/screen.css +16 -0
- data/doc/assets/script/components.js +89 -0
- data/doc/public/styleguide/brick.png +0 -0
- data/doc/public/styleguide/components.html +593 -0
- data/doc/public/styleguide/core.html +105 -0
- data/doc/public/styleguide/css/doc.css +132 -0
- data/doc/public/styleguide/css/github.css +61 -0
- data/doc/public/styleguide/css/screen.css +16 -0
- data/doc/public/styleguide/index.html +105 -0
- data/doc/public/styleguide/script/components.js +89 -0
- data/hologram_config.yml +28 -0
- data/lib/psique.rb +8 -0
- data/lib/psique/engine.rb +17 -0
- data/lib/psique/version.rb +3 -0
- data/psique.gemspec +33 -0
- data/test/dummy/README.rdoc +3 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/images/.keep +0 -0
- data/test/dummy/app/assets/javascripts/application.js +2 -0
- data/test/dummy/app/assets/stylesheets/application.css.scss +1 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/controllers/styleguide_controller.rb +4 -0
- data/test/dummy/app/views/layouts/application.html.haml +15 -0
- data/test/dummy/app/views/styleguide/index.html.haml +17 -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 +10 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +78 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/assets.rb +8 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -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 +4 -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 +3 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/psique_test.rb +7 -0
- data/test/test_helper.rb +15 -0
- metadata +1185 -0
data/hologram_config.yml
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Hologram will run from same directory where this config file resides
|
|
2
|
+
# All paths should be relative to there
|
|
3
|
+
|
|
4
|
+
# The directory containing the source files to parse recursively
|
|
5
|
+
source: ./assets
|
|
6
|
+
|
|
7
|
+
# The directory that hologram will build to
|
|
8
|
+
destination: ./doc/public/styleguide
|
|
9
|
+
|
|
10
|
+
# The assets needed to build the docs (includes header.html,
|
|
11
|
+
# footer.html, etc)
|
|
12
|
+
# You may put doc related assets here too: images, css, etc.
|
|
13
|
+
documentation_assets: ./doc/assets
|
|
14
|
+
|
|
15
|
+
# Any other asset folders that need to be copied to the destination
|
|
16
|
+
# folder. Typically this will include the css that you are trying to
|
|
17
|
+
# document. May also include additional folders as needed.
|
|
18
|
+
dependencies:
|
|
19
|
+
|
|
20
|
+
# Mark which category should be the index page
|
|
21
|
+
# Alternatively, you may have an index.md in the documentation assets
|
|
22
|
+
# folder instead of specifying this config.
|
|
23
|
+
index: core
|
|
24
|
+
|
|
25
|
+
# To additionally output navigation for top level sections, set the value to
|
|
26
|
+
# 'section'. To output navigation for sub-sections,
|
|
27
|
+
# set the value to `all`
|
|
28
|
+
nav_level: all
|
data/lib/psique.rb
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module Psique
|
|
2
|
+
module Rails
|
|
3
|
+
class Engine < ::Rails::Engine
|
|
4
|
+
isolate_namespace Psique::Rails
|
|
5
|
+
|
|
6
|
+
initializer 'psique.assets.precompile' do |app|
|
|
7
|
+
%w(stylesheets javascripts fonts images).each do |sub|
|
|
8
|
+
app.config.assets.paths << root.join('assets', sub).to_s
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
initializer 'static assets' do |app|
|
|
13
|
+
app.middleware.use ::ActionDispatch::Static, "#{root}/doc/public"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
data/psique.gemspec
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
$LOAD_PATH.push File.expand_path('../lib', __FILE__)
|
|
2
|
+
|
|
3
|
+
# Maintain your gem's version:
|
|
4
|
+
require 'psique/version'
|
|
5
|
+
|
|
6
|
+
# Describe your gem and declare its dependencies:
|
|
7
|
+
Gem::Specification.new do |s|
|
|
8
|
+
s.name = 'psique'
|
|
9
|
+
s.version = Psique::VERSION
|
|
10
|
+
s.authors = ['Rankia']
|
|
11
|
+
s.email = ['rails@rankia.com']
|
|
12
|
+
s.homepage = 'https://github.com/Soluciones/Psique'
|
|
13
|
+
s.summary = "Style Guide in sass/compass ready for Emergia's apps Rails."
|
|
14
|
+
s.description = "Style Guide in sass/compass ready for Emergia's apps Rails."
|
|
15
|
+
s.license = 'MIT'
|
|
16
|
+
|
|
17
|
+
s.files = `git ls-files`.split($RS)
|
|
18
|
+
s.test_files = Dir['test/**/*']
|
|
19
|
+
|
|
20
|
+
s.add_development_dependency 'rails', '~> 4.1.5'
|
|
21
|
+
s.add_development_dependency 'sprockets', '~> 2.11.0'
|
|
22
|
+
s.add_development_dependency 'sqlite3', '~> 1.3.10'
|
|
23
|
+
s.add_development_dependency 'hologram', '~> 1.2.0'
|
|
24
|
+
|
|
25
|
+
s.add_dependency 'sass-rails', '~> 4.0.1'
|
|
26
|
+
s.add_dependency 'compass-rails', '~> 2.0.1'
|
|
27
|
+
s.add_dependency 'normalize-scss', '~> 3.0.2'
|
|
28
|
+
s.add_dependency 'breakpoint', '~> 2.5.0'
|
|
29
|
+
s.add_dependency 'susy', '~> 2.1.3'
|
|
30
|
+
s.add_dependency 'haml', '~> 4.0.5'
|
|
31
|
+
s.add_dependency 'font-awesome-rails', '~> 4.2.0.0'
|
|
32
|
+
s.add_dependency 'coffee-rails', '~> 4.1.0'
|
|
33
|
+
end
|
data/test/dummy/Rakefile
ADDED
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import 'psique';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
!!!
|
|
2
|
+
%html
|
|
3
|
+
%head
|
|
4
|
+
%title Dummy
|
|
5
|
+
%meta{:content => "width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no", :name => "viewport"}/
|
|
6
|
+
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
|
|
7
|
+
= javascript_include_tag 'application', 'data-turbolinks-track' => true
|
|
8
|
+
= csrf_meta_tags
|
|
9
|
+
|
|
10
|
+
/ HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries
|
|
11
|
+
/[if lt IE 9]
|
|
12
|
+
%script{:src => "//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"}
|
|
13
|
+
%script{:src => "//oss.maxcdn.com/respond/1.4.2/respond.min.js"}
|
|
14
|
+
%body
|
|
15
|
+
= yield
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.grid{:style => "background-color: #ccc;"}
|
|
2
|
+
.row
|
|
3
|
+
.col-sm-12.col-lg-9{:style => "background-color: red; min-height: 200px;"}
|
|
4
|
+
.col-sm-12.col-lg-3{:style => "background-color: brown; min-height: 200px;"}
|
|
5
|
+
.row
|
|
6
|
+
.col-sm-12.col-lg-9{:style => "background-color: lime; min-height: 200px;"}
|
|
7
|
+
.row
|
|
8
|
+
.col-sm-12.col-lg-9{:style => "background-color: pink; min-height: 200px;"}
|
|
9
|
+
.row
|
|
10
|
+
.col-sm-12{:style => "background-color: blue; min-height: 200px;"}
|
|
11
|
+
.row
|
|
12
|
+
.col-sm-12{:style => "background-color: orange; min-height: 200px;"}
|
|
13
|
+
.col-sm-12.col-lg-3{:style => "background-color: red; min-height: 200px;"}
|
|
14
|
+
.row
|
|
15
|
+
.col-sm-12.col-lg-6{:style => "background-color: yellow; min-height: 200px;"}
|
|
16
|
+
.col-sm-12.col-lg-6{:style => "background-color: yellow; min-height: 200px;"}
|
|
17
|
+
.col-sm-12.col-lg-3{:style => "background-color: green; min-height: 200px;"}
|
data/test/dummy/bin/rake
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# SQLite version 3.x
|
|
2
|
+
# gem install sqlite3
|
|
3
|
+
#
|
|
4
|
+
# Ensure the SQLite 3 gem is defined in your Gemfile
|
|
5
|
+
# gem 'sqlite3'
|
|
6
|
+
#
|
|
7
|
+
default: &default
|
|
8
|
+
adapter: sqlite3
|
|
9
|
+
pool: 5
|
|
10
|
+
timeout: 5000
|
|
11
|
+
|
|
12
|
+
development:
|
|
13
|
+
<<: *default
|
|
14
|
+
database: db/development.sqlite3
|
|
15
|
+
|
|
16
|
+
# Warning: The database defined as "test" will be erased and
|
|
17
|
+
# re-generated from your development database when you run "rake".
|
|
18
|
+
# Do not set this db to the same as development or production.
|
|
19
|
+
test:
|
|
20
|
+
<<: *default
|
|
21
|
+
database: db/test.sqlite3
|
|
22
|
+
|
|
23
|
+
production:
|
|
24
|
+
<<: *default
|
|
25
|
+
database: db/production.sqlite3
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
Rails.application.configure do
|
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
|
3
|
+
|
|
4
|
+
# In the development environment your application's code is reloaded on
|
|
5
|
+
# every request. This slows down response time but is perfect for development
|
|
6
|
+
# since you don't have to restart the web server when you make code changes.
|
|
7
|
+
config.cache_classes = false
|
|
8
|
+
|
|
9
|
+
# Do not eager load code on boot.
|
|
10
|
+
config.eager_load = false
|
|
11
|
+
|
|
12
|
+
# Show full error reports and disable caching.
|
|
13
|
+
config.consider_all_requests_local = true
|
|
14
|
+
config.action_controller.perform_caching = false
|
|
15
|
+
|
|
16
|
+
# Don't care if the mailer can't send.
|
|
17
|
+
config.action_mailer.raise_delivery_errors = false
|
|
18
|
+
|
|
19
|
+
# Print deprecation notices to the Rails logger.
|
|
20
|
+
config.active_support.deprecation = :log
|
|
21
|
+
|
|
22
|
+
# Raise an error on page load if there are pending migrations.
|
|
23
|
+
config.active_record.migration_error = :page_load
|
|
24
|
+
|
|
25
|
+
# Debug mode disables concatenation and preprocessing of assets.
|
|
26
|
+
# This option may cause significant delays in view rendering with a large
|
|
27
|
+
# number of complex assets.
|
|
28
|
+
config.assets.debug = true
|
|
29
|
+
|
|
30
|
+
# Adds additional error checking when serving assets at runtime.
|
|
31
|
+
# Checks for improperly declared sprockets dependencies.
|
|
32
|
+
# Raises helpful error messages.
|
|
33
|
+
config.assets.raise_runtime_errors = true
|
|
34
|
+
|
|
35
|
+
# Raises error for missing translations
|
|
36
|
+
# config.action_view.raise_on_missing_translations = true
|
|
37
|
+
end
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
Rails.application.configure do
|
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
|
3
|
+
|
|
4
|
+
# Code is not reloaded between requests.
|
|
5
|
+
config.cache_classes = true
|
|
6
|
+
|
|
7
|
+
# Eager load code on boot. This eager loads most of Rails and
|
|
8
|
+
# your application in memory, allowing both threaded web servers
|
|
9
|
+
# and those relying on copy on write to perform better.
|
|
10
|
+
# Rake tasks automatically ignore this option for performance.
|
|
11
|
+
config.eager_load = true
|
|
12
|
+
|
|
13
|
+
# Full error reports are disabled and caching is turned on.
|
|
14
|
+
config.consider_all_requests_local = false
|
|
15
|
+
config.action_controller.perform_caching = true
|
|
16
|
+
|
|
17
|
+
# Enable Rack::Cache to put a simple HTTP cache in front of your application
|
|
18
|
+
# Add `rack-cache` to your Gemfile before enabling this.
|
|
19
|
+
# For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
|
|
20
|
+
# config.action_dispatch.rack_cache = true
|
|
21
|
+
|
|
22
|
+
# Disable Rails's static asset server (Apache or nginx will already do this).
|
|
23
|
+
config.serve_static_assets = false
|
|
24
|
+
|
|
25
|
+
# Compress JavaScripts and CSS.
|
|
26
|
+
config.assets.js_compressor = :uglifier
|
|
27
|
+
# config.assets.css_compressor = :sass
|
|
28
|
+
|
|
29
|
+
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
|
30
|
+
config.assets.compile = false
|
|
31
|
+
|
|
32
|
+
# Generate digests for assets URLs.
|
|
33
|
+
config.assets.digest = true
|
|
34
|
+
|
|
35
|
+
# `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
|
|
36
|
+
|
|
37
|
+
# Specifies the header that your server uses for sending files.
|
|
38
|
+
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
|
|
39
|
+
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
|
|
40
|
+
|
|
41
|
+
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
|
42
|
+
# config.force_ssl = true
|
|
43
|
+
|
|
44
|
+
# Set to :debug to see everything in the log.
|
|
45
|
+
config.log_level = :info
|
|
46
|
+
|
|
47
|
+
# Prepend all log lines with the following tags.
|
|
48
|
+
# config.log_tags = [ :subdomain, :uuid ]
|
|
49
|
+
|
|
50
|
+
# Use a different logger for distributed setups.
|
|
51
|
+
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
|
52
|
+
|
|
53
|
+
# Use a different cache store in production.
|
|
54
|
+
# config.cache_store = :mem_cache_store
|
|
55
|
+
|
|
56
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
|
57
|
+
# config.action_controller.asset_host = "http://assets.example.com"
|
|
58
|
+
|
|
59
|
+
# Ignore bad email addresses and do not raise email delivery errors.
|
|
60
|
+
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
|
|
61
|
+
# config.action_mailer.raise_delivery_errors = false
|
|
62
|
+
|
|
63
|
+
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
|
64
|
+
# the I18n.default_locale when a translation cannot be found).
|
|
65
|
+
config.i18n.fallbacks = true
|
|
66
|
+
|
|
67
|
+
# Send deprecation notices to registered listeners.
|
|
68
|
+
config.active_support.deprecation = :notify
|
|
69
|
+
|
|
70
|
+
# Disable automatic flushing of the log to improve performance.
|
|
71
|
+
# config.autoflush_log = false
|
|
72
|
+
|
|
73
|
+
# Use default logging formatter so that PID and timestamp are not suppressed.
|
|
74
|
+
config.log_formatter = ::Logger::Formatter.new
|
|
75
|
+
|
|
76
|
+
# Do not dump schema after migrations.
|
|
77
|
+
config.active_record.dump_schema_after_migration = false
|
|
78
|
+
end
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
Rails.application.configure do
|
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
|
3
|
+
|
|
4
|
+
# The test environment is used exclusively to run your application's
|
|
5
|
+
# test suite. You never need to work with it otherwise. Remember that
|
|
6
|
+
# your test database is "scratch space" for the test suite and is wiped
|
|
7
|
+
# and recreated between test runs. Don't rely on the data there!
|
|
8
|
+
config.cache_classes = true
|
|
9
|
+
|
|
10
|
+
# Do not eager load code on boot. This avoids loading your whole application
|
|
11
|
+
# just for the purpose of running a single test. If you are using a tool that
|
|
12
|
+
# preloads Rails for running tests, you may have to set it to true.
|
|
13
|
+
config.eager_load = false
|
|
14
|
+
|
|
15
|
+
# Configure static asset server for tests with Cache-Control for performance.
|
|
16
|
+
config.serve_static_assets = true
|
|
17
|
+
config.static_cache_control = 'public, max-age=3600'
|
|
18
|
+
|
|
19
|
+
# Show full error reports and disable caching.
|
|
20
|
+
config.consider_all_requests_local = true
|
|
21
|
+
config.action_controller.perform_caching = false
|
|
22
|
+
|
|
23
|
+
# Raise exceptions instead of rendering exception templates.
|
|
24
|
+
config.action_dispatch.show_exceptions = false
|
|
25
|
+
|
|
26
|
+
# Disable request forgery protection in test environment.
|
|
27
|
+
config.action_controller.allow_forgery_protection = false
|
|
28
|
+
|
|
29
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
|
30
|
+
# The :test delivery method accumulates sent emails in the
|
|
31
|
+
# ActionMailer::Base.deliveries array.
|
|
32
|
+
config.action_mailer.delivery_method = :test
|
|
33
|
+
|
|
34
|
+
# Print deprecation notices to the stderr.
|
|
35
|
+
config.active_support.deprecation = :stderr
|
|
36
|
+
|
|
37
|
+
# Raises error for missing translations
|
|
38
|
+
# config.action_view.raise_on_missing_translations = true
|
|
39
|
+
end
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
|
|
3
|
+
# Version of your assets, change this if you want to expire all your assets.
|
|
4
|
+
Rails.application.config.assets.version = '1.0'
|
|
5
|
+
|
|
6
|
+
# Precompile additional assets.
|
|
7
|
+
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
|
8
|
+
# Rails.application.config.assets.precompile += %w( search.js )
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
|
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
|
5
|
+
|
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
|
|
3
|
+
# Add new inflection rules using the following format. Inflections
|
|
4
|
+
# are locale specific, and you may define rules for as many different
|
|
5
|
+
# locales as you wish. All of these examples are active by default:
|
|
6
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
|
7
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
|
8
|
+
# inflect.singular /^(ox)en/i, '\1'
|
|
9
|
+
# inflect.irregular 'person', 'people'
|
|
10
|
+
# inflect.uncountable %w( fish sheep )
|
|
11
|
+
# end
|
|
12
|
+
|
|
13
|
+
# These inflection rules are supported but not enabled by default:
|
|
14
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
|
15
|
+
# inflect.acronym 'RESTful'
|
|
16
|
+
# end
|