• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

eagletmt / faml
44%
master: 99%

Build:
Build:
LAST BUILD BRANCH: support_rails60
DEFAULT BRANCH: master
Repo Added 19 Mar 2015 01:54PM UTC
Files 79
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH support_rails60
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • generate-incompatibilities
  • master
  • tilt2-compat
  • v0.2.0
  • v0.2.1
  • v0.2.10
  • v0.2.11
  • v0.2.12
  • v0.2.13
  • v0.2.14
  • v0.2.2
  • v0.2.3
  • v0.2.4
  • v0.2.5
  • v0.2.6
  • v0.2.7
  • v0.2.8
  • v0.2.9

pending completion
449

Pull #51

travis-ci

web-flow
Fix deprecation warning on Rails 6.0

In Rails 6.0 the API for template handlers is changing, a template
handler must now take two arguments [1], the template and the source,
otherwise you will see the following deprecation warning:

```
DEPRECATION WARNING: Single arity template handlers are deprecated. Template handlers must
now accept two parameters, the view object and the source for the view object.
Change:
  >> #<Faml::RailsHandler:0x0000561d54608868>.call(template)
To:
  >> #<Faml::RailsHandler:0x0000561d54608868>.call(template, source)
```

[1] https://www.github.com/rails/rails/commit/28f88e0074
Pull Request #51: Fix deprecation warning on Rails 6.0

4 of 4 new or added lines in 2 files covered. (100.0%)

619 of 1420 relevant lines covered (43.59%)

33.93 hits per line

Relevant lines Covered
Build:
Build:
1420 RELEVANT LINES 619 COVERED LINES
33.93 HITS PER LINE
Source Files on master
  • List 0
  • Changed 30
  • Source Changed 1
  • Coverage Changed 30
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
449 support_rails60 Fix deprecation warning on Rails 6.0 In Rails 6.0 the API for template handlers is changing, a template handler must now take two arguments [1], the template and the source, otherwise you will see the following deprecation warning: ``` DEPRECATI... Pull #51 10 Mar 2020 03:48AM UTC web-flow travis-ci pending completion  
448 ruby27 Support Ruby 2.7 Pull #49 01 Sep 2019 05:48AM UTC web-flow travis-ci pending completion  
447 ruby27 Support Ruby 2.7 Pull #49 01 Sep 2019 05:38AM UTC web-flow travis-ci pending completion  
446 master Cosmetic changes push 16 Jul 2016 07:40PM UTC eagletmt travis-ci pending completion  
445 master Fix for rubocop push 16 Jul 2016 07:19PM UTC eagletmt travis-ci pending completion  
444 master Visibility bug is fixed in rubocop v0.41.0 push 16 Jul 2016 07:02PM UTC eagletmt travis-ci pending completion  
443 master Fix for rubocop push 14 May 2016 01:10PM UTC eagletmt travis-ci pending completion  
442 master Update test targets push 14 May 2016 12:22PM UTC eagletmt travis-ci pending completion  
441 master Specify exact version push 27 Feb 2016 08:10PM UTC eagletmt travis-ci pending completion  
440 master Fix travis push 27 Feb 2016 07:28PM UTC eagletmt travis-ci pending completion  
See All Builds (236)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc