faml 0.7.3 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -3
- data/CHANGELOG.md +3 -0
- data/benchmark/compiling.rb +1 -1
- data/benchmark/context.rb +1 -1
- data/benchmark/rendering.rb +1 -1
- data/benchmark/slim.rb +1 -1
- data/ext/attribute_builder/attribute_builder.cc +1 -5
- data/ext/attribute_builder/extconf.rb +1 -1
- data/faml.gemspec +1 -1
- data/haml_spec_test.rb +1 -1
- data/lib/faml.rb +1 -1
- data/lib/faml/attribute_compiler.rb +1 -1
- data/lib/faml/attribute_optimizer.rb +1 -1
- data/lib/faml/cli.rb +1 -1
- data/lib/faml/compiler.rb +1 -1
- data/lib/faml/engine.rb +1 -1
- data/lib/faml/error.rb +1 -1
- data/lib/faml/filter_compilers.rb +1 -1
- data/lib/faml/filter_compilers/base.rb +1 -1
- data/lib/faml/filter_compilers/cdata.rb +1 -1
- data/lib/faml/filter_compilers/coffee.rb +1 -1
- data/lib/faml/filter_compilers/css.rb +1 -1
- data/lib/faml/filter_compilers/escaped.rb +1 -1
- data/lib/faml/filter_compilers/javascript.rb +1 -1
- data/lib/faml/filter_compilers/markdown.rb +1 -1
- data/lib/faml/filter_compilers/plain.rb +1 -1
- data/lib/faml/filter_compilers/preserve.rb +1 -1
- data/lib/faml/filter_compilers/ruby.rb +1 -1
- data/lib/faml/filter_compilers/sass.rb +1 -1
- data/lib/faml/filter_compilers/scss.rb +1 -1
- data/lib/faml/filter_compilers/tilt_base.rb +1 -1
- data/lib/faml/helpers.rb +1 -1
- data/lib/faml/html.rb +1 -1
- data/lib/faml/newline.rb +1 -1
- data/lib/faml/object_ref.rb +1 -1
- data/lib/faml/rails_handler.rb +1 -1
- data/lib/faml/rails_helpers.rb +1 -1
- data/lib/faml/railtie.rb +1 -1
- data/lib/faml/ruby_syntax_checker.rb +1 -1
- data/lib/faml/script_end.rb +1 -1
- data/lib/faml/static_hash_parser.rb +1 -1
- data/lib/faml/stats.rb +1 -1
- data/lib/faml/text_compiler.rb +1 -1
- data/lib/faml/tilt.rb +1 -1
- data/lib/faml/version.rb +2 -2
- data/spec/compiler_newline_spec.rb +1 -1
- data/spec/rails/app/controllers/application_controller.rb +1 -1
- data/spec/rails/app/controllers/books_controller.rb +1 -1
- data/spec/rails/app/helpers/application_helper.rb +1 -1
- data/spec/rails/app/models/book.rb +1 -1
- data/spec/rails/config/application.rb +1 -1
- data/spec/rails/config/boot.rb +1 -1
- data/spec/rails/config/environment.rb +1 -1
- data/spec/rails/config/environments/development.rb +1 -1
- data/spec/rails/config/environments/production.rb +1 -1
- data/spec/rails/config/environments/test.rb +1 -1
- data/spec/rails/config/initializers/assets.rb +1 -1
- data/spec/rails/config/initializers/backtrace_silencers.rb +1 -1
- data/spec/rails/config/initializers/cookies_serializer.rb +1 -1
- data/spec/rails/config/initializers/filter_parameter_logging.rb +1 -1
- data/spec/rails/config/initializers/inflections.rb +1 -1
- data/spec/rails/config/initializers/mime_types.rb +1 -1
- data/spec/rails/config/initializers/secret_key_base.rb +1 -1
- data/spec/rails/config/initializers/session_store.rb +1 -1
- data/spec/rails/config/initializers/wrap_parameters.rb +1 -1
- data/spec/rails/config/routes.rb +1 -1
- data/spec/rails/db/seeds.rb +1 -1
- data/spec/rails/spec/requests/faml_spec.rb +1 -1
- data/spec/rails_helper.rb +1 -1
- data/spec/render/array_attribute_spec.rb +1 -1
- data/spec/render/attribute_spec.rb +1 -1
- data/spec/render/comment_spec.rb +1 -1
- data/spec/render/doctype_spec.rb +1 -1
- data/spec/render/element_spec.rb +1 -1
- data/spec/render/filters/cdata_spec.rb +1 -1
- data/spec/render/filters/coffee_spec.rb +1 -1
- data/spec/render/filters/css_spec.rb +1 -1
- data/spec/render/filters/escaped_spec.rb +1 -1
- data/spec/render/filters/javascript_spec.rb +1 -1
- data/spec/render/filters/markdown_spec.rb +1 -1
- data/spec/render/filters/plain_spec.rb +1 -1
- data/spec/render/filters/preserve_spec.rb +1 -1
- data/spec/render/filters/ruby_spec.rb +1 -1
- data/spec/render/filters/sass_spec.rb +1 -1
- data/spec/render/filters/scss_spec.rb +1 -1
- data/spec/render/filters_spec.rb +1 -1
- data/spec/render/haml_comment_spec.rb +1 -1
- data/spec/render/hash_attribute_spec.rb +1 -1
- data/spec/render/helpers_spec.rb +1 -1
- data/spec/render/multiline_spec.rb +1 -1
- data/spec/render/newline_spec.rb +1 -1
- data/spec/render/plain_spec.rb +1 -1
- data/spec/render/preserve_spec.rb +1 -1
- data/spec/render/sanitize_spec.rb +1 -1
- data/spec/render/script_spec.rb +1 -1
- data/spec/render/silent_script_spec.rb +1 -1
- data/spec/render/unescape_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/spec/support/incompatibilities_generator.rb +1 -1
- data/spec/tilt_spec.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: edfe97f1920b0da9005f0e09220d9f3d393745ca
|
4
|
+
data.tar.gz: 5dce79fe5a3e5c7b5e68a42d6e672fc05421c6ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ceaa306c2e15b603aecb0d47d191705d14602025d1f5601f08c10361a59f0ba67b404dce3ff00346d2263aa845cfbabfcccaf45f74d65a7eca52229ac829031
|
7
|
+
data.tar.gz: d119b8acd2a51a1a7f68deeb9afbf2ff1428d890fd8fde036cb5f0b52e52117b11eb27df8245ff9c1913bfc5bf7c7601835a92d04cf1a7450682ff4e107860e1
|
data/.travis.yml
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
language: ruby
|
2
2
|
sudo: false
|
3
3
|
rvm:
|
4
|
-
- 2.0.0
|
5
4
|
- 2.1
|
6
5
|
- 2.2
|
6
|
+
- 2.3.0
|
7
7
|
- ruby-head
|
8
8
|
gemfile:
|
9
9
|
- gemfiles/rails_4.0.gemfile
|
@@ -23,7 +23,5 @@ matrix:
|
|
23
23
|
- gemfile: gemfiles/rails_edge.gemfile
|
24
24
|
exclude:
|
25
25
|
# Rails 5 requires to run on Ruby 2.2.0 or newer.
|
26
|
-
- rvm: 2.0.0
|
27
|
-
gemfile: gemfiles/rails_edge.gemfile
|
28
26
|
- rvm: 2.1
|
29
27
|
gemfile: gemfiles/rails_edge.gemfile
|
data/CHANGELOG.md
CHANGED
data/benchmark/compiling.rb
CHANGED
data/benchmark/context.rb
CHANGED
data/benchmark/rendering.rb
CHANGED
data/benchmark/slim.rb
CHANGED
@@ -6,11 +6,7 @@
|
|
6
6
|
#include <string>
|
7
7
|
#include <vector>
|
8
8
|
|
9
|
-
/* faml requires Ruby >= 2.
|
10
|
-
/* RARRAY_AREF() is available since Ruby 2.1 */
|
11
|
-
#if RUBY_API_VERSION_MAJOR == 2 && RUBY_API_VERSION_MINOR < 1
|
12
|
-
#define RARRAY_AREF(a, i) RARRAY_PTR(a)[i]
|
13
|
-
#endif
|
9
|
+
/* faml requires Ruby >= 2.1 */
|
14
10
|
/* rb_utf8_str_new() is available since Ruby 2.2 */
|
15
11
|
#if RUBY_API_VERSION_MAJOR == 2 && RUBY_API_VERSION_MINOR < 2
|
16
12
|
#include <ruby/encoding.h>
|
data/faml.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.extensions = ['ext/attribute_builder/extconf.rb']
|
19
19
|
spec.test_files = spec.files.grep(%r{^(test|spec|features|incompatibilities)/})
|
20
20
|
spec.require_paths = ['lib']
|
21
|
-
spec.required_ruby_version = '>= 2.
|
21
|
+
spec.required_ruby_version = '>= 2.1.0'
|
22
22
|
|
23
23
|
spec.add_dependency 'escape_utils'
|
24
24
|
spec.add_dependency 'haml_parser', '>= 0.4.0'
|
data/haml_spec_test.rb
CHANGED
data/lib/faml.rb
CHANGED
data/lib/faml/cli.rb
CHANGED
data/lib/faml/compiler.rb
CHANGED
data/lib/faml/engine.rb
CHANGED
data/lib/faml/error.rb
CHANGED
data/lib/faml/helpers.rb
CHANGED
data/lib/faml/html.rb
CHANGED
data/lib/faml/newline.rb
CHANGED
data/lib/faml/object_ref.rb
CHANGED
data/lib/faml/rails_handler.rb
CHANGED
data/lib/faml/rails_helpers.rb
CHANGED
data/lib/faml/railtie.rb
CHANGED
data/lib/faml/script_end.rb
CHANGED
data/lib/faml/stats.rb
CHANGED
data/lib/faml/text_compiler.rb
CHANGED
data/lib/faml/tilt.rb
CHANGED
data/lib/faml/version.rb
CHANGED
data/spec/rails/config/boot.rb
CHANGED
data/spec/rails/config/routes.rb
CHANGED
data/spec/rails/db/seeds.rb
CHANGED
data/spec/rails_helper.rb
CHANGED
data/spec/render/comment_spec.rb
CHANGED
data/spec/render/doctype_spec.rb
CHANGED
data/spec/render/element_spec.rb
CHANGED
data/spec/render/filters_spec.rb
CHANGED
data/spec/render/helpers_spec.rb
CHANGED
data/spec/render/newline_spec.rb
CHANGED
data/spec/render/plain_spec.rb
CHANGED
data/spec/render/script_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
data/spec/tilt_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kohei Suzuki
|
@@ -513,7 +513,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
513
513
|
requirements:
|
514
514
|
- - ">="
|
515
515
|
- !ruby/object:Gem::Version
|
516
|
-
version: 2.
|
516
|
+
version: 2.1.0
|
517
517
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
518
518
|
requirements:
|
519
519
|
- - ">="
|
@@ -521,7 +521,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
521
521
|
version: '0'
|
522
522
|
requirements: []
|
523
523
|
rubyforge_project:
|
524
|
-
rubygems_version: 2.
|
524
|
+
rubygems_version: 2.5.1
|
525
525
|
signing_key:
|
526
526
|
specification_version: 4
|
527
527
|
summary: Faster implementation of Haml template language.
|