phrasing 4.0.0rc13 → 4.0.0rc14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -0
- data/.travis.yml +0 -0
- data/4.0.0_changes.md +0 -0
- data/CHANGELOG.md +0 -0
- data/Gemfile +0 -0
- data/MIT-LICENSE +0 -0
- data/README-3.md +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/Release_notes_version_4.md +0 -0
- data/app/assets/fonts/icomoon.dev.svg +0 -0
- data/app/assets/fonts/icomoon.eot +0 -0
- data/app/assets/fonts/icomoon.svg +0 -0
- data/app/assets/fonts/icomoon.ttf +0 -0
- data/app/assets/fonts/icomoon.woff +0 -0
- data/app/assets/images/phrasing_icon_edit_all.png +0 -0
- data/app/assets/javascripts/phrasing.js +0 -0
- data/app/assets/javascripts/phrasing_engine.js +0 -0
- data/app/assets/stylesheets/phrasing.scss +0 -0
- data/app/assets/stylesheets/phrasing_edit_mode_bubble.scss +0 -0
- data/app/assets/stylesheets/phrasing_engine.css +0 -0
- data/app/assets/stylesheets/phrasing_fonts.scss +0 -0
- data/app/controllers/phrasing_phrase_versions_controller.rb +0 -0
- data/app/controllers/phrasing_phrases_controller.rb +0 -0
- data/app/helpers/inline_helper.rb +2 -2
- data/app/models/phrasing_phrase.rb +0 -0
- data/app/models/phrasing_phrase_version.rb +0 -0
- data/app/views/layouts/phrasing.html.haml +0 -0
- data/app/views/phrasing/_initializer.html.haml +0 -0
- data/app/views/phrasing/_menu.html.haml +0 -0
- data/app/views/phrasing/_messages.html.haml +0 -0
- data/app/views/phrasing/_production_warning.html.haml +0 -0
- data/app/views/phrasing_phrases/edit.html.haml +0 -0
- data/app/views/phrasing_phrases/help.html.haml +0 -0
- data/app/views/phrasing_phrases/import_export.html.haml +0 -0
- data/app/views/phrasing_phrases/index.html.haml +0 -0
- data/config/routes.rb +0 -0
- data/lib/generators/phrasing/phrasing_generator.rb +0 -0
- data/lib/generators/phrasing/templates/app/helpers/phrasing_helper.rb +0 -0
- data/lib/generators/phrasing/templates/config/initializers/phrasing.rb +0 -0
- data/lib/generators/phrasing/templates/db/migrate/create_phrasing_phrase_versions.rb +0 -0
- data/lib/generators/phrasing/templates/db/migrate/create_phrasing_phrases.rb +0 -0
- data/lib/phrasing.rb +0 -0
- data/lib/phrasing/rails/engine.rb +0 -0
- data/lib/phrasing/serializer.rb +0 -0
- data/lib/phrasing/version.rb +1 -1
- data/phrasing.gemspec +0 -0
- data/spec/controllers/phrasing_phrases_controller.rb +0 -0
- data/spec/dummy/Rakefile +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +0 -0
- data/spec/dummy/app/assets/stylesheets/application.scss +0 -0
- data/spec/dummy/app/controllers/application_controller.rb +0 -0
- data/spec/dummy/app/controllers/site_controller.rb +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +0 -0
- data/spec/dummy/app/helpers/phrasing_helper.rb +0 -0
- data/spec/dummy/app/models/.gitkeep +0 -0
- data/spec/dummy/app/views/layouts/application.html.erb +0 -0
- data/spec/dummy/app/views/site/index.html.erb +0 -0
- data/spec/dummy/config.ru +0 -0
- data/spec/dummy/config/application.rb +0 -0
- data/spec/dummy/config/boot.rb +0 -0
- data/spec/dummy/config/database.yml +0 -0
- data/spec/dummy/config/environment.rb +0 -0
- data/spec/dummy/config/environments/development.rb +0 -0
- data/spec/dummy/config/environments/production.rb +0 -0
- data/spec/dummy/config/environments/test.rb +0 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -0
- data/spec/dummy/config/initializers/inflections.rb +0 -0
- data/spec/dummy/config/initializers/mime_types.rb +0 -0
- data/spec/dummy/config/initializers/phrasing.rb +0 -0
- data/spec/dummy/config/initializers/secret_token.rb +0 -0
- data/spec/dummy/config/initializers/session_store.rb +0 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -0
- data/spec/dummy/config/locales/en.yml +0 -0
- data/spec/dummy/config/routes.rb +0 -0
- data/spec/dummy/db/.gitkeep +0 -0
- data/spec/dummy/db/migrate/20131120000855_create_phrasing_phrases.phrasing_rails_engine.rb +0 -0
- data/spec/dummy/db/migrate/20131120000856_create_phrasing_phrase_versions.phrasing_rails_engine.rb +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/public/404.html +0 -0
- data/spec/dummy/public/422.html +0 -0
- data/spec/dummy/public/500.html +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/factories/phrasing_phrases.rb +0 -0
- data/spec/features/dummy_spec.rb +0 -0
- data/spec/features/phrasing_spec.rb +0 -0
- data/spec/lib/phrasing_serializer_spec.rb +0 -0
- data/spec/lib/phrasing_spec.rb +0 -0
- data/spec/models/phrasing_phrase_spec.rb +0 -0
- data/spec/spec_helper.rb +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b65fe7e7e01f0333d8b8ccf15155066a3f159d5
|
4
|
+
data.tar.gz: dfd04a8e7b78b499489695fc46a8f033ee05a19b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39a805e41b613e871ffc8c2502dfdf06225a5fc268b87b9bf5bbba1e8945f8405f11c78a60df7498a2d1eb021954913e0b697e7108b10337c2d4d7ffd3c5a233
|
7
|
+
data.tar.gz: 57d1cf20b19e7f259e5ad747086017029eb5b092ed88d0a829f877818ef7bf23afb2e5a993847440b3498f6c219e1fff517e355552e15a5e8871d798a8e3ee68
|
data/.gitignore
CHANGED
File without changes
|
data/.travis.yml
CHANGED
File without changes
|
data/4.0.0_changes.md
CHANGED
File without changes
|
data/CHANGELOG.md
CHANGED
File without changes
|
data/Gemfile
CHANGED
File without changes
|
data/MIT-LICENSE
CHANGED
File without changes
|
data/README-3.md
CHANGED
File without changes
|
data/README.md
CHANGED
File without changes
|
data/Rakefile
CHANGED
File without changes
|
data/Release_notes_version_4.md
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -7,7 +7,7 @@ module InlineHelper
|
|
7
7
|
def phrase(*args)
|
8
8
|
if args[0].class.in? [String, Symbol]
|
9
9
|
key, options = args[0].to_s, (args[1] || {})
|
10
|
-
inline(
|
10
|
+
inline(phrasing_extract_record(key, options), :value, options)
|
11
11
|
else
|
12
12
|
record, attribute, options = args[0], args[1], args[2]
|
13
13
|
inline(record, attribute, options || {})
|
@@ -30,7 +30,7 @@ module InlineHelper
|
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
33
|
-
def
|
33
|
+
def phrasing_extract_record(key, options = {})
|
34
34
|
key = options[:scope] ? "#{options[:scope]}.#{key}" : key
|
35
35
|
PhrasingPhrase.find_phrase(key)
|
36
36
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/config/routes.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/phrasing.rb
CHANGED
File without changes
|
File without changes
|
data/lib/phrasing/serializer.rb
CHANGED
File without changes
|
data/lib/phrasing/version.rb
CHANGED
data/phrasing.gemspec
CHANGED
File without changes
|
File without changes
|
data/spec/dummy/Rakefile
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/spec/dummy/config.ru
CHANGED
File without changes
|
File without changes
|
data/spec/dummy/config/boot.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/spec/dummy/config/routes.rb
CHANGED
File without changes
|
data/spec/dummy/db/.gitkeep
CHANGED
File without changes
|
File without changes
|
data/spec/dummy/db/migrate/20131120000856_create_phrasing_phrase_versions.phrasing_rails_engine.rb
CHANGED
File without changes
|
data/spec/dummy/db/test.sqlite3
CHANGED
File without changes
|
data/spec/dummy/public/404.html
CHANGED
File without changes
|
data/spec/dummy/public/422.html
CHANGED
File without changes
|
data/spec/dummy/public/500.html
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/spec/features/dummy_spec.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/spec/lib/phrasing_spec.rb
CHANGED
File without changes
|
File without changes
|
data/spec/spec_helper.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phrasing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.0rc14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomislav Car
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-06-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|