Displaying 20 results from an estimated 3000 matches similar to: "--color doesn''t work with --drb w/rspec_autotest"
2007 Mar 30
2
gallery issue...
Hi,
i''m new of both webgen and ruby, so maybe this can be a dumb question, but
i can''t recognize any solution by myself.
I use webgen 0.4.1 (the newest webgen .deb package).
I''m trying to make a test gallery, without succeeding in it.
i done (ehm, copied) the yeah.gallery file in the root directory:
1 title: Example Gallery
2 imagesPerPage: 32
3 images:
2007 Apr 01
4
rake w/rspec
How can I spec out a rake task?
How can I use rake in my spec''s? I want to fix this rake
spec:autotest bug with --drb and --color. How can I get rake output?
How would I get out of autotest? My initial thought is just to run
the command in the spec.
Scott
2007 Apr 03
1
metainfo.yaml
Can there be multiple metainfo.yaml files in different directories?
I can''t find any indication in the docs, and I''m upgrading an old
project based on webgen 0.3.8 which has this sort of setup.
By the way, to parse my own inline html with textile I was able to
write a content converter quite successfully.
Scott
2007 Mar 20
1
submitting a patch
I''ve created a short patch so that spec.opts can use a single line
(or multiple lines for backwards compatibility) for options. I''ve
run the specs against spec:trunk
I have two questions:
1. I''ve run rake pre_commit, but after the specs are done running, I
get this error:
rake aborted!
ERROR while running webgen: /opt/local/lib/ruby/site_ruby/1.8/
2007 May 11
12
tutorial
Hello, Hello
Where i can found a good tutorial about Rspec ?
thanks
2007 Mar 05
1
Changing the order in the menu for a directory
I find the file metaconfig.yaml very useful and I use it for setting
the title and order of files.
However, I can''t find a way to change the order of a directory.
Consider the file layout:
index.page
dir/sub1.page
I want to choose whether the order in the menu is [index,dir] or [dir, index].
I tried with:
dir/:
orderInfo: 1
or
dir:
orderInfo: 1
2011 Feb 07
8
Pygments
The Pygments highlighter supports many more languages than CodeRay.
Pygments is written in Python, but I''ve seen non-Python projects use it
(Jekyll, Pygments).
There''s also this: https://github.com/nex3/rb-pygments
Any idea how much work it would be to add Pygments support to Webgen?
2008 Jan 04
2
Menu - labels
Webgen uses file paths to generate multilevel menues, bread crumbs etc. And
limits the character range in paths to a-zA-Z. As the directory names are
used verbatim as menu labels this is fairly limitting for non-english pages.
Is there a way to map directory names to configurable UTF8 strings for menu
labels?
oao
2007 Feb 23
5
rspec on rails 0 7 5 1
Hi there,
I can''t upgrade rspec on rails to 0.7.5.1. I followed the install guide
on the website without sucsess. Here''s my env info:
$ rails -v
Rails 1.2.2
$ gem -v
0.9.2
$ spec -v
RSpec-0.7.5.1 (r1395) - BDD for Ruby
http://rspec.rubyforge.org/
$ spec ...
<snip>
############################################################################
Your RSpec on Rails plugin
2010 Feb 10
1
metainfo tag called instead of a custom one
Hi,
I had adapted this mailto tag
http://pjkh.com/articles/2007/12/14/webgen-mailto-tag
Now webgen gives me errors like so:
ERROR -- No default mandatory parameter specified for tag
''Webgen::Tag::Metainfo'' but set in </contact.en.html>
ERROR -- No value for meta info key ''mailto'' in </contact.en.html>
found in </contact.en.html>
2007 Apr 09
10
changes in 0.8 and greater - should_
Has the should_... syntax changed? I''m getting errors when running
the following:
should_render(:index)
should_be_valid
should_not_be_valid
should_respond_to
should_be
should_render
I thought the syntax changed to something like the following:
obj.should render(:index)
but this doesn''t seem to work.
Scott
2007 Mar 30
4
Current status of webgen 0.4.3 and 0.5.0 (new plugin system)
Hi everybody!
As the easter holidays have now finally arrived and all the exams are
over, I will have more time for webgen again!
Summary
=======
* Changes included in the upcoming 0.4.3 release
* webgen repository
* Status on 0.5.0
* Detailed information on the new 0.5.0 plugin system
Changes for 0.4.3
-----------------
I have collected all mails/forum entries/ML postings in which bugs
2008 Aug 16
2
Partial site generation
Thank you for providing excellent tools.
I''d like to know about the partial site generation provided by webgen 0.5.2.
http://rubyforge.org/forum/forum.php?forum_id=26516
> When a file that was in the menu changed, all files which
> included a menu with a link to this file got regenerated,
> too. However, that was not always necessary since the content
> of the changed file
2008 Jan 02
5
anchor tags?
Hi,
Is there a cool webgen way to do anchor tags? I''ve just been doing this:
<span id="anchor_name"/>
...but is there a better way?
Thanks,
Chad
2007 Dec 06
6
mock libraries, Object#send, and Object#__send__
What is the appropriate way to stub out (and put an expectation on
Object#__send__), without getting warnings from the Rspec mock library?
Scott
2007 Apr 10
5
using YAML for --failures and --examples
As it is currently, in trunk, --failures and --examples except a text
file, each line containing the name of a spec.
I''m wondering: Would a a patch to use YAML (instead or as well as)
plain text be welcomed? I''m thinking of a yaml file like the following:
spec_file_1:
file: spec/person_spec.rb
specs:
- should have first name
- should provide email address
2007 Oct 23
9
Running rails specs outside of the normal project tree
I want to create a spec/regressions directory with various
regressions (for my rails project). I tried the following:
describe LoginController, "regression for user creation when
steves_sister does not exist", :behavior_type => :controller do
controller_name :login
before :each do
@params = {
"commit"=>"Create Account",
2007 Aug 14
4
Stubbing all methods
Mocha''s mock/stub framework has the ability to stub all methods on a
mock given. Does RSpec''s mocking framework have this ability? And
if not, is there some reason it shouldn''t be implemeneted?
Regards,
Scott
2007 Feb 27
8
Using a subversion repository to spec in a rails app
Is it a bad practice to use a subversion repository to the trunk of
rspec and rspec_on_rails? Or rather, is it doomed to fail, since my
gem will always be out of date?
I know I can''t use spec, installed from gem,s if I have the latest
revision of rspec and rspec_on_rails checked into my plugins
directory. But I should still be able to use it with the --drb
option, correct?