search for: raketask

Displaying 11 results from an estimated 11 matches for "raketask".

2010 Nov 06
2
Custom File List for Rails 3 Spec Task
I have some javascript specs (using the jspec javascript framework) in my rails 3 project, living in the spec/javascript directory. How can I exclude the ruby files in the jspec project from being run when I run "rake spec"? RSpec::Core::RakeTask used to take a file list (which was usually generated with a glob pattern and an explicit call to Dir.glob). Now it only takes a glob pattern: http://rdoc.info/github/rspec/rspec-core/master/RSpec/Core/RakeTask#pattern-instance_method So how am I supposed to express the following in one glob pat...
2007 Sep 04
7
Rake tasks getting in the way of edge (uses gem instead)
So I''d been running gem releases of rspec for the past several months, and I installed edge rspec so that I can use Story Runner. I''m running into a problem because I''ve got a couple rake tasks that reference "spec/rake/raketask". If I try to run "rake spec" then it pulls in the gem version instead of the plugin version. rake blows up saying that the versions are incompatible...RSpec is at 1.0.8 and rspec_on_rails is at r2507. If I remove those rake tasks then it runs fine. So it just seems that when rak...
2007 Sep 22
3
merb_sequel raketasks not working?
I''m trying to run on trunk. When I run "rake -T" I get an error: undefined local variable or method `full_config'' for Merb::Orms::Sequel:Module I''m not 100% sure that I haven''t messed something up, so I hesitate to cry "bug" without checking with everyone. Is anyone else seeing this? P.S. I''m running merb trunk installed as a gem,
2010 Nov 03
3
Rake task for focused examples
Hi, Is it possible to make a rake task to run examples with a certain filter on? In this case I want to run rake spec:focused and run only the examples with :focus => true. - Toni
2012 Dec 20
0
Announce: Hiera 1.1.2-rc2 available
...operate with /dev/null config file Matthaus Owens (7): 483f58b Add quantal to default cows list in build_defaults. 8439326 Remove fedora 15 mocks from default mocks in build_defaults. fa794bd (#17087) Fix backend key in hiera.yaml 9937977 (maint) Handle lack of RSpec::Core::RakeTask gracefully 3d8785c Update Hiera VERSION to 1.1.2-rc1 1fd1466 (#18214) Update gem dependency to json_pure from json a9c0e14 Update Hiera VERSION to 1.1.2-rc2 Sharif Nassar (1): ee341f7 Spelling. -- You received this message because you are subscribed to the Google Groups &...
2007 Jul 26
0
Rake task database to XML export
Hi all... I am a new bie of ruby rails. i was working with some task to get a database table to be exported in to an XMLFile. I need to write a raketask for that. Can some one please help me with some good stuff having with you regarding the rake task file written to do that dbtable to xml file file conversions. Please help me with some sample code or links Thanks to all in advance -- Posted via http://www.ruby-forum.com/. --~--~---------~--~---...
2014 Aug 12
0
How to make puppetlabs_spec_helper ignore modules inside fixtures
...it is trying to run the 'apt' tests, and it is failing (I think) because I am not providing the appropriate facts. Is there a way to ignore the rspecs inside the fixtures/modules/ directory? I tried to do this: require 'rake'require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |t| t.pattern = 'spec/*/*_spec.rb'end But it didn't work. Can anybody point me in the right direction here? Thanks in advance, Seb -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this...
2010 Oct 25
2
Fail to load spec/rake/spectask
Hi! I''m a newbie at Ruby. I''m trying to run rspec tests using rake. In my rake file I include spec/rake/spectask. It fails to load giving me the following message: rake aborted! no such file to load -- spec/rake/spectask C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in `raw_load_rakefile'' I''m using version 1.8.7 of Ruby. I have installed rake
2013 Aug 30
3
rspec-puppet not working
I''m trying to get rspec-puppet working and have run into a problem. I have a VM running ubuntu lucid, have installed rubygems 1.3.5 from the apt package and have install rspec-puppet (and other required gems), and rake, using gem install. I''ve run rspec-puppet-init in the module I want to test, and have created a very basic spec file for one of the classes in my module.
2007 May 22
7
ActiveRecord::Base.connection.create_database defaults to latin1
...eate_database you''ll notice that by default the created db will use latin1 encoding. I created a plugin to handle different charset and collations (on top of helping you with other boring DB tasks). You can check out the early version of the plugin svn checkout svn://rubyforge.org/var/svn/raketasks/db_tasks (I really need to move my projects out of rubyforge, it''s a real pain to browse the code) Anyway, if people consider that it''s an important feature, I''d be glad to submit a patch. Ohh, by the way, when you set your database with a specific charset, tables inher...
2007 Sep 22
9
skeleton and configs
...that''s a given. the schema dir: I think this should be created by whichever ORM plugin/lib you have chosen to use. Not all merb apps will even need a database. the spec dir: perfect, one single obvious place to get your mocks/specs in order the scripts dir: this should be removed. Raketasks are to "scripts" as merb is to actionpack ;) ....and "rake -T" is your friend. Regards chrisfarms. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20070922/fe58afde/attachment-0001.h...