Commit Graph

359 Commits

Author SHA1 Message Date
Santiago Pastorino
276618c652 Merge pull request #1676 from neerajdotname/make_test_name_meaningful
Remove "is_assed" with something more meaningful
2011-06-13 05:49:00 -07:00
Neeraj Singh
54c651a6bb Remove "is_assed" with something more meaningful 2011-06-13 04:34:09 -04:00
Ryan Bates
4dc3bb9cbd namespace engine assets 2011-06-12 18:29:14 -07:00
José Valim
eb8c0a7b1a Merge pull request #1356 from flippingbits/fix_engine_generator
Fix engine's generator
2011-06-09 00:01:00 -07:00
Stefan Sprenger
246c367570 Use RAILS_ISOLATED_ENGINE and fix namespaced generators tests 2011-06-07 12:16:05 +02:00
J. Edward Dewyea
baf2a9cb7f properly require javascript libraries when generating mountable engine 2011-05-30 05:58:39 -04:00
Stefan Sprenger
e38d3752c3 Generate script/rails only if --full is given 2011-05-27 13:44:10 +02:00
Stefan Sprenger
a0ee2270d3 Fix appending ' 2011-05-27 13:29:22 +02:00
Stefan Sprenger
9935c308f1 Fix and test ENGINE_PATH and ENGINE_ROOT 2011-05-27 08:25:56 +02:00
Stefan Sprenger
6ee461237a We're now using generators directly 2011-05-26 17:54:31 +02:00
Stefan Sprenger
4686ace999 Use global namespace Rails 2011-05-26 12:06:17 +02:00
Stefan Sprenger
22be5ca8b9 Improve test assertion 2011-05-25 15:12:54 +02:00
Stefan Sprenger
360b98f061 Remove whitespaces from empty line 2011-05-25 15:03:42 +02:00
Stefan Sprenger
5cf934eab5 Add test files to engine's gemspec 2011-05-25 15:03:07 +02:00
José Valim
41eac9b3f6 Merge pull request #1260 from flippingbits/master
Remove shebang from the template
2011-05-25 05:40:31 -07:00
Arun Agrawal
d9204c1391 Using load_generators 2011-05-25 13:13:24 +05:30
Guillermo Iguaran
6e1dbb87ef Remove deprecated plugin generator 2011-05-24 23:03:01 -05:00
José Valim
594b749f3c Streamline generators initialization flow. 2011-05-25 01:16:50 +02:00
tomhuda
74ade51eee Move SCSS generators and default templates from Rails to the Sass Railtie (d435726312601edb3ba6f97b34f562221f72c1f8).
* Sass gem registers a compressor
* Sass gem registers generators for assets and scaffold
* Create a default stylesheet_engine ("css") for apps that remove the Sass gem
2011-05-24 16:04:28 -07:00
David Heinemeier Hansson
dea4035082 Remove asserts for js ext stuff thats not used any more 2011-05-24 10:22:06 -05:00
Stefan Sprenger
e2a0a94c6e Add test for shebang in engine's script/rails file 2011-05-24 13:57:36 +02:00
dmathieu
3d9d9f86f5 create the dummy app if there's no test_unit but there's a dummy_path 2011-05-24 13:18:27 +02:00
José Valim
b8118ef492 Fix failing test suite (please run tests before sending pull requests :S) 2011-05-24 12:37:57 +02:00
Stefan Sprenger
855d14dd94 Add test for gemspec of the generated engine 2011-05-24 09:30:23 +02:00
Arun Agrawal
69bad8f517 Let's load jruby-openssl now for all. #jruby 2011-05-22 15:49:30 +05:30
Akira Matsuda
cce461511b be sure to parenthesize the arguments when the first one is a RegExp literal
this fixes: "warning: ambiguous first argument; put parentheses or even spaces"
because: you need this to tell the parser that you're not calling :/ method (division)
details (Japanese!): http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-dev/42445?42370-43277
2011-05-18 23:20:19 +09:00
Guillermo Iguaran
d52fc25ac7 Fixing typo in test for turn gem 2011-05-18 00:31:01 -05:00
Teng Siong Ong
da29e0bfc2 don't include 'turn' gem in Gemfile if test unit is skipped. 2011-05-18 10:21:45 +08:00
Teng Siong Ong
ea306da4eb add tests for ruby-debug gem in Gemfile and make sure that ruby-debug19 is used as long as RUBY_VERSION > '1.9'. 2011-05-18 10:08:34 +08:00
siong1987
5df9d0081b add test case for turn gem for testunit. 2011-05-18 09:56:45 +08:00
Santiago Pastorino
0a070a2444 Run bundle install once when using plugin_new --full --mountable. Closes #555 2011-05-17 18:29:20 -04:00
Akira Matsuda
4d1752bfb2 generate HTML5 number_field tag for integer fields 2011-05-16 23:45:39 +09:00
Arun Agrawal
546db693fb Fixed failing tests for namespaced_generators_test. in 1.9.2 2011-05-14 14:06:06 +05:30
Xavier Noria
26cfd1f283 application and plugin generation run bundle install unless --skip-gemfile or --skip-bundle 2011-05-14 02:37:41 +02:00
Prem Sichanugrist
f2769ebd7e Update Mailer generator to use 1.9 styled hash when run on Ruby 1.9
As always, you can run `--old-style-hash` to override that.
2011-05-13 18:25:32 -04:00
Xavier Noria
2e5d31223c use #quietly in a few places, and s/silence/capture/ where intention is capture 2011-05-13 02:11:47 +02:00
Xavier Noria
bdbb15e5a5 new reporting method Kernel#quietly 2011-05-13 01:41:52 +02:00
Xavier Noria
b0062eef34 silences stderr to prevent an expected error message in the test suite from being echoed 2011-05-13 01:06:27 +02:00
Xavier Noria
ead9e4e626 say silence when you mean silence 2011-05-13 01:06:27 +02:00
Xavier Noria
c88dddbe4d application and plugin generation run bundle check unless --skip-gemfile
The purpose of this feature is that the user knows whether
dependencies are satisfied. In particular, if they are not
he will be warned upfront, rather than finding out himself
in an abrupt way by trying to run something.
2011-05-13 01:06:27 +02:00
Xavier Noria
55d87d2b5c removes duplicate tests 2011-05-13 01:06:27 +02:00
Xavier Noria
fa8623b52e adds comments clarifying the role of SharedGeneratorTests 2011-05-07 00:11:50 +02:00
Aditya Sanghi
a8cfceca55 be consistent 2011-05-06 21:02:20 +05:30
Aditya Sanghi
cdf1842caa review fixes 2011-05-06 20:59:15 +05:30
Aditya Sanghi
9b5c29038d default orm and test_framework to false; change application.rb template accordingly 2011-05-06 20:29:11 +05:30
Aditya Sanghi
75e1e2175d When skipping skip active record, mark config.generators.orm to false; LH 5796 remainder 2011-05-06 18:04:20 +05:30
Arun Agrawal
2f331fd9b2 Adding jruby-openssl in Gemfile by default. #jruby 2011-05-05 08:30:26 +05:30
Arun Agrawal
dd9200c32e Fixed tests for new_plugin_generator. 2011-05-04 15:07:06 +05:30
Xavier Noria
d9c39c3ae9 restores the -j option, but now it accepts the name of any library
If passed "foo", a gem "foo-rails" is added to the Gemfile
and "foo" and "foo_ujs" are required in the application
JavaScript manifest.
2011-05-04 10:33:53 +02:00
Xavier Noria
b2aacc346c Prototype and Scriptaculous are no longer vendored, but provided by prototype-rails from now on, also the -j option of the application generator is removed 2011-04-30 03:53:24 +02:00