Giter Site home page Giter Site logo

webby's Issues

Warning on rake 0.9.4

I had a warning on rake 0.9.4.

$ webby -T                               
WARNING: Global access to Rake DSL methods is deprecated.  Please include
    ...  Rake::DSL into classes and modules which use the Rake DSL methods.
WARNING: DSL method Webby::Apps::Main#import called at /Users/hoge/.rvm/gems/ruby-1.8.7-p352@webby/gems/webby-0.9.4/lib/webby/apps/main.rb:177:in `import_default_tasks'
WARNING: DSL method Webby::Apps::Main#import called at /Users/hoge/.rvm/gems/ruby-1.8.7-p352@webby/gems/webby-0.9.4/lib/webby/apps/main.rb:181:in `import_website_tasks'

Partial page rendering

The "autobuild" option does not seem to re-render the parent page when the partial is updated. After updating/changing the partial, I have to make a change to and save the parent page to get the parent to display the updated partial.

e.g.

parent.txt must be edited and saved otherwise _partial.txt is not rendered into parent.txt.

Would be good to get this fixed.

Fixing encoding issue in core_ext/string.rb

When running webby-gen under Ruby 1.9.1 an invalid multibyte character in the String extensions file will potentially produce an encoding error.

webby-0.9.4/lib/webby.rb:104:in `require': gems/ruby-1.9.1-p378/gems/webby-0.9.4/lib/webby/core_ext/string.rb:15: invalid multibyte char (US-ASCII) (SyntaxError)

webby-0.9.4/lib/webby/core_ext/string.rb:15: invalid multibyte char (US-ASCII)

This can be fixed by simply specifying UTF-8 encoding throughout the string extensions file using something like…

# encoding: utf-8

Maybe this fix could be added to master?

reopening IO breaks in passenger 2.2.8/2.2.9

In the core_ext/kernel.rb file, the method cmd_available? dups and reopens STDOUT/STDERR which causes issues under passenger. I've hacked my local gem to use backticks and redirect as part of the command.

I can fork and submit a pull request if you'd like.

HTML5 and HAML don't work together.

Any chance of getting support for html5?

bugs include:

!!! 5 renders as <!DOCTYPE 5 SYSTEM>

%header
    .some-class

Renders as:

<header></header>
<div class="some-class"></div>

Thanks

a question when creating a page

hi.

as3:/webby-site# webby create:page 'new page'
/usr/local/ruby/lib/ruby/gems/2.0.0/gems/webby-0.9.4/lib/webby/resources/resource.rb:12: warning: undefining object_id' may cause serious problems /usr/local/ruby/lib/ruby/gems/2.0.0/gems/webby-0.9.4/lib/webby/apps/main.rb:177:inblock in import_default_tasks': undefined method import' for #<Webby::Apps::Main:0xb9efd828> (NoMethodError) from /usr/local/ruby/lib/ruby/gems/2.0.0/gems/webby-0.9.4/lib/webby/apps/main.rb:177:ineach'
from /usr/local/ruby/lib/ruby/gems/2.0.0/gems/webby-0.9.4/lib/webby/apps/main.rb:177:in import_default_tasks' from /usr/local/ruby/lib/ruby/gems/2.0.0/gems/webby-0.9.4/lib/webby/apps/main.rb:107:ininit'
from /usr/local/ruby/lib/ruby/gems/2.0.0/gems/webby-0.9.4/lib/webby/apps/main.rb:33:in run' from /usr/local/ruby/lib/ruby/gems/2.0.0/gems/webby-0.9.4/lib/webby/apps/main.rb:12:inrun'
from /usr/local/ruby/lib/ruby/gems/2.0.0/gems/webby-0.9.4/bin/webby:39:in <top (required)>' from /usr/local/ruby/bin/webby:23:inload'
from /usr/local/ruby/bin/webby:23:in `

'
as3:/webby-site#

how to fix it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.