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

lotus / view / 239
98%

Build:
DEFAULT BRANCH: master
Ran 22 Oct 2015 08:26AM UTC
Jobs 16
Files 23
Run time 5min
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

pending completion
239

push

travis-ci

jodosha
Allow `Lotus::View::Template` to accept one or two arguments

The first one is the template path, while the second is the optional
encoding.

For production code, the encoding is always specified. The value to look
at is `Lotus::View.configuration.default_encoding`.

I made it optional only for testing purposes.
When we generate a view test in `lotusrb`, it prepares the template like
this:

  # ...
  describe Web::Views::Home::Index do
    # ...
    let(:template)  { Lotus::View::Template.new('apps/web/templates/home/index.html.erb') }
  end

It's annoying to be forced to specify the encoding in this case. Most of
the applications out there just use UTF-8. So we are simplifying the
most common case.

/cc @lotus/core-team

1 of 1 new or added line in 1 file covered. (100.0%)

585 of 600 relevant lines covered (97.5%)

464.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 239.1 (2.0.0) 22 Oct 2015 08:26AM UTC 0
99.65
Travis Job 239.1
2 239.2 (2.1.0) 22 Oct 2015 08:26AM UTC 0
99.65
Travis Job 239.2
3 239.3 (2.1.1) 22 Oct 2015 08:27AM UTC 0
99.65
Travis Job 239.3
4 239.4 (2.1.2) 22 Oct 2015 08:26AM UTC 0
99.65
Travis Job 239.4
5 239.5 (2.1.3) 22 Oct 2015 08:26AM UTC 0
99.65
Travis Job 239.5
6 239.6 (2.1.4) 22 Oct 2015 08:27AM UTC 0
99.65
Travis Job 239.6
7 239.7 (2.1.5) 22 Oct 2015 08:27AM UTC 0
99.65
Travis Job 239.7
8 239.8 (2.1.6) 22 Oct 2015 08:27AM UTC 0
99.65
Travis Job 239.8
9 239.9 (2.1.7) 22 Oct 2015 08:28AM UTC 0
99.65
Travis Job 239.9
10 239.10 (2.2.0) 22 Oct 2015 08:27AM UTC 0
99.65
Travis Job 239.10
11 239.11 (2.2.1) 22 Oct 2015 08:28AM UTC 0
99.65
Travis Job 239.11
12 239.12 (2.2.2) 22 Oct 2015 08:28AM UTC 0
99.65
Travis Job 239.12
13 239.13 (2.2.3) 22 Oct 2015 08:29AM UTC 0
99.65
Travis Job 239.13
14 239.14 (jruby-9000) 22 Oct 2015 08:31AM UTC 0
0.0
Travis Job 239.14
15 239.15 (jruby-head) 22 Oct 2015 08:31AM UTC 0
0.0
Travis Job 239.15
16 239.16 (rbx-2) 22 Oct 2015 08:30AM UTC 0
100.0
Travis Job 239.16
Source Files on build 239
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #239
  • d588671c on github
  • Prev Build on master (#237)
  • Next Build on master (#247)
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