ro_commands 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +37 -0
- data/Rakefile +4 -14
- data/bin/ro +2 -31
- data/bin/ro_client +2 -5
- data/bin/ro_server +2 -5
- data/bin/rubyscripts +6 -0
- data/{lib/ro_commands/core_ext/symbol.rb → config/boot.rb} +0 -0
- data/config/rorc.rb +66 -3
- data/lib/bash_builder.rb +18 -9
- data/lib/bash_builder_helper.rb +3 -3
- data/lib/bash_debug.rb +4 -2
- data/lib/bash_templates/crawler.sh +1 -0
- data/lib/bash_templates/file.sh +1 -1
- data/lib/bash_templates/git.sh +3 -0
- data/lib/{ro_commands/core_ext/thor.rb → bash_templates/grep.sh} +0 -0
- data/lib/bash_templates/misc.sh +25 -8
- data/{test/dummy/public/favicon.ico → lib/bash_templates/mysql.sh} +0 -0
- data/lib/bash_templates/process.sh +0 -0
- data/lib/bash_templates/rails.sh +10 -0
- data/lib/bash_templates/ruby.sh +2 -1
- data/lib/bash_templates/rubymine_idea.sh +38 -9
- data/lib/bash_templates/shortcuts.sh +12 -1
- data/lib/bash_templates/video.sh +2 -3
- data/lib/builder_templates/set_envs.erb +2 -1
- data/lib/builder_templates/working_project_bash.erb +3 -0
- data/lib/deps.rb +13 -0
- data/lib/deps_methods.rb +114 -0
- data/lib/drb/client.rb +7 -28
- data/lib/drb/server.rb +13 -27
- data/lib/dsl/ro_file.rb +23 -0
- data/lib/guard_helpers/base_helper.rb +91 -0
- data/lib/guard_helpers/basic_helper.rb +132 -0
- data/lib/guard_helpers/erb_helper.rb +52 -0
- data/lib/guard_helpers/gem_helper.rb +41 -0
- data/lib/guard_helpers/initd_helper.rb +126 -0
- data/lib/guard_helpers/md_helper.rb +44 -0
- data/lib/guard_helpers/mid_mod_class_methods_helper.rb +45 -0
- data/lib/rails_builder_helper.rb +10 -12
- data/lib/ro_cells.rb +3 -0
- data/lib/ro_cells/base.rb +6 -0
- data/lib/ro_cells/gem.rb +29 -0
- data/lib/ro_commands.rb +3 -10
- data/lib/ro_commands/base.rb +49 -25
- data/lib/ro_commands/crawler.rb +53 -0
- data/lib/ro_commands/file_actions.rb +45 -1
- data/lib/ro_commands/gem.rb +16 -0
- data/lib/ro_commands/generate.rb +13 -1
- data/lib/ro_commands/generators/base_generator.rb +40 -14
- data/lib/ro_commands/generators/ex.rb +18 -16
- data/lib/ro_commands/generators/rails_generator.rb +37 -0
- data/lib/ro_commands/generators/rails_new_app.rb +23 -0
- data/lib/ro_commands/generators/rails_templates/Gemfile.erb +57 -0
- data/lib/ro_commands/generators/rails_templates/rodebug.erb +23 -0
- data/lib/ro_commands/generators/rails_templates/try.erb +1 -0
- data/lib/ro_commands/generators/rodebug.rb +37 -0
- data/lib/ro_commands/generators/spec_file.rb +49 -27
- data/lib/ro_commands/generators/templates/ex.erb +1 -28
- data/lib/ro_commands/generators/templates/spec.erb +0 -3
- data/lib/ro_commands/info.rb +5 -3
- data/lib/ro_commands/init.rb +40 -0
- data/lib/ro_commands/misc.rb +9 -0
- data/lib/ro_commands/navigate.rb +52 -28
- data/lib/ro_commands/processes.rb +1 -1
- data/lib/ro_commands/rails.rb +51 -34
- data/lib/ro_commands/refactor.rb +2 -0
- data/lib/ro_commands/ro_gist.rb +39 -0
- data/lib/ro_commands/shortcuts.rb +63 -14
- data/lib/ro_commands/templates/Gemfile.tt +1 -0
- data/lib/ro_commands/try.rb +2 -2
- data/lib/ro_commands/typography.rb +12 -0
- data/lib/ro_commands/version.rb +2 -2
- data/lib/ro_commands/video.rb +6 -0
- data/lib/ro_commands/zeus_templates/custom_plan.rb +11 -16
- data/lib/ro_commands/zeus_templates/zeus.json +10 -6
- data/lib/ro_commands_bin.rb +34 -0
- data/lib/ro_core_ext.rb +6 -0
- data/lib/ro_core_ext/array.rb +22 -0
- data/lib/ro_core_ext/hash.rb +21 -0
- data/lib/ro_core_ext/misc_helper.rb +16 -0
- data/lib/ro_core_ext/module_misc.rb +70 -0
- data/lib/ro_core_ext/object.rb +11 -0
- data/lib/ro_core_ext/pry.rb +10 -0
- data/lib/ro_core_ext/string.rb +37 -0
- data/lib/ro_core_ext/symbol.rb +0 -0
- data/lib/ro_core_ext/thor.rb +0 -0
- data/lib/ro_default.rb +8 -0
- data/lib/ro_file.rb +71 -0
- data/lib/ro_helpers.rb +5 -0
- data/lib/ro_helpers/all_ro_commands.rb +4 -0
- data/lib/ro_helpers/all_ro_commands_files.rb +42 -0
- data/lib/ro_helpers/bash.rb +100 -0
- data/lib/{ro_commands → ro_helpers}/hook.rb +1 -1
- data/lib/ro_helpers/out.rb +154 -0
- data/lib/ro_helpers/ro_bin_helper.rb +107 -0
- data/lib/{ro_commands → ro_helpers}/ro_helper.rb +1 -1
- data/lib/ro_misc/exec.rb +16 -0
- data/lib/ro_rails_helpers.rb +6 -0
- data/lib/ro_rails_helpers/handler.rb +33 -0
- data/lib/ro_rspec_helpers.rb +7 -0
- data/lib/ro_rspec_helpers/deps.rb +4 -0
- data/lib/ro_rspec_helpers/ro_faker.rb +116 -0
- data/lib/ro_rspec_helpers/ro_spec_helper.rb +48 -0
- data/lib/ro_rspec_helpers/run_in.rb +7 -0
- data/lib/ro_rspec_helpers/spec_matchers.rb +30 -0
- data/lib/set_envs_helper.rb +17 -8
- data/ro_commands.sh +221 -158
- data/spec/bin_spec.rb +13 -0
- data/spec/fixtures/Gemfile +58 -0
- data/spec/fixtures/Gemfile.lock +236 -0
- data/spec/fixtures/bash/try1 +0 -0
- data/spec/fixtures/bash/try2 +0 -0
- data/spec/fixtures/basic_helper/Guardfile +0 -0
- data/spec/fixtures/basic_helper/lib/guard_helpers/no1_guard_helper.rb +5 -0
- data/spec/fixtures/basic_helper/lib/guard_helpers/no2_guard_helper.rb +5 -0
- data/spec/fixtures/basic_helper/lib/guard_helpers/no3_guard_helper.rb +5 -0
- data/spec/fixtures/deps/lib/dir/f.rb +0 -0
- data/spec/fixtures/deps/lib/dir/f2.rb +0 -0
- data/spec/fixtures/deps_methods/lib/path/to/file.rb +7 -0
- data/spec/fixtures/deps_methods/lib/ro_commands/cmd.rb +6 -0
- data/spec/fixtures/file_actions/loli +0 -0
- data/spec/fixtures/file_actions/lolicon.rb +0 -0
- data/spec/fixtures/for_git/tmp/rspec_guard_result +1 -0
- data/spec/fixtures/for_method_backup/version.rb +3 -0
- data/spec/fixtures/for_methods/version.rb +0 -0
- data/spec/fixtures/for_process/config.ru +11 -0
- data/spec/fixtures/for_process/tmp/rspec_guard_result +1 -0
- data/spec/fixtures/for_rails/Gemfile +58 -0
- data/spec/fixtures/for_rails/Gemfile.lock +236 -0
- data/{test/dummy → spec/fixtures/for_rails}/README.rdoc +0 -0
- data/spec/fixtures/for_rails/Rakefile +6 -0
- data/{test/dummy → spec/fixtures/for_rails}/app/assets/javascripts/application.js +3 -0
- data/spec/fixtures/for_rails/app/assets/javascripts/articles.js.coffee +3 -0
- data/spec/fixtures/for_rails/app/assets/javascripts/comments.js.coffee +3 -0
- data/spec/fixtures/for_rails/app/assets/javascripts/users.js.coffee +3 -0
- data/{test/dummy → spec/fixtures/for_rails}/app/assets/stylesheets/application.css +0 -0
- data/spec/fixtures/for_rails/app/assets/stylesheets/articles.css.scss +3 -0
- data/spec/fixtures/for_rails/app/assets/stylesheets/comments.css.scss +3 -0
- data/spec/fixtures/for_rails/app/assets/stylesheets/scaffolds.css.scss +69 -0
- data/spec/fixtures/for_rails/app/assets/stylesheets/users.css.scss +3 -0
- data/{test/dummy → spec/fixtures/for_rails}/app/controllers/application_controller.rb +0 -0
- data/spec/fixtures/for_rails/app/controllers/articles_controller.rb +74 -0
- data/spec/fixtures/for_rails/app/controllers/comments_controller.rb +74 -0
- data/spec/fixtures/for_rails/app/controllers/users_controller.rb +74 -0
- data/{test/dummy → spec/fixtures/for_rails}/app/helpers/application_helper.rb +0 -0
- data/spec/fixtures/for_rails/app/helpers/articles_helper.rb +2 -0
- data/spec/fixtures/for_rails/app/helpers/comments_helper.rb +2 -0
- data/spec/fixtures/for_rails/app/helpers/users_helper.rb +2 -0
- data/spec/fixtures/for_rails/app/models/article.rb +2 -0
- data/spec/fixtures/for_rails/app/models/comment.rb +2 -0
- data/spec/fixtures/for_rails/app/models/user.rb +2 -0
- data/spec/fixtures/for_rails/app/views/articles/_form.html.erb +29 -0
- data/spec/fixtures/for_rails/app/views/articles/edit.html.erb +6 -0
- data/spec/fixtures/for_rails/app/views/articles/index.html.erb +31 -0
- data/spec/fixtures/for_rails/app/views/articles/index.json.jbuilder +4 -0
- data/spec/fixtures/for_rails/app/views/articles/new.html.erb +5 -0
- data/spec/fixtures/for_rails/app/views/articles/show.html.erb +19 -0
- data/spec/fixtures/for_rails/app/views/articles/show.json.jbuilder +1 -0
- data/spec/fixtures/for_rails/app/views/comments/_form.html.erb +29 -0
- data/spec/fixtures/for_rails/app/views/comments/edit.html.erb +6 -0
- data/spec/fixtures/for_rails/app/views/comments/index.html.erb +31 -0
- data/spec/fixtures/for_rails/app/views/comments/index.json.jbuilder +4 -0
- data/spec/fixtures/for_rails/app/views/comments/new.html.erb +5 -0
- data/spec/fixtures/for_rails/app/views/comments/show.html.erb +19 -0
- data/spec/fixtures/for_rails/app/views/comments/show.json.jbuilder +1 -0
- data/spec/fixtures/for_rails/app/views/layouts/application.html.erb +14 -0
- data/spec/fixtures/for_rails/app/views/users/_form.html.erb +25 -0
- data/spec/fixtures/for_rails/app/views/users/edit.html.erb +6 -0
- data/spec/fixtures/for_rails/app/views/users/index.html.erb +29 -0
- data/spec/fixtures/for_rails/app/views/users/index.json.jbuilder +4 -0
- data/spec/fixtures/for_rails/app/views/users/new.html.erb +5 -0
- data/spec/fixtures/for_rails/app/views/users/show.html.erb +14 -0
- data/spec/fixtures/for_rails/app/views/users/show.json.jbuilder +1 -0
- data/{test/dummy → spec/fixtures/for_rails}/bin/bundle +0 -0
- data/{test/dummy → spec/fixtures/for_rails}/bin/rails +0 -0
- data/{test/dummy → spec/fixtures/for_rails}/bin/rake +0 -0
- data/{test/dummy → spec/fixtures/for_rails}/config.ru +0 -0
- data/spec/fixtures/for_rails/config/application.rb +23 -0
- data/spec/fixtures/for_rails/config/boot.rb +4 -0
- data/spec/fixtures/for_rails/config/database.yml +39 -0
- data/spec/fixtures/for_rails/config/environment.rb +5 -0
- data/{test/dummy → spec/fixtures/for_rails}/config/environments/development.rb +1 -1
- data/{test/dummy → spec/fixtures/for_rails}/config/environments/production.rb +1 -1
- data/{test/dummy → spec/fixtures/for_rails}/config/environments/test.rb +1 -1
- data/{test/dummy → spec/fixtures/for_rails}/config/initializers/backtrace_silencers.rb +0 -0
- data/{test/dummy → spec/fixtures/for_rails}/config/initializers/filter_parameter_logging.rb +0 -0
- data/{test/dummy → spec/fixtures/for_rails}/config/initializers/inflections.rb +0 -0
- data/{test/dummy → spec/fixtures/for_rails}/config/initializers/mime_types.rb +0 -0
- data/{test/dummy → spec/fixtures/for_rails}/config/initializers/secret_token.rb +2 -2
- data/spec/fixtures/for_rails/config/initializers/session_store.rb +3 -0
- data/{test/dummy → spec/fixtures/for_rails}/config/initializers/wrap_parameters.rb +0 -0
- data/{test/dummy → spec/fixtures/for_rails}/config/locales/en.yml +0 -0
- data/spec/fixtures/for_rails/config/routes.rb +62 -0
- data/spec/fixtures/for_rails/db/migrate/20131208083747_create_articles.rb +11 -0
- data/spec/fixtures/for_rails/db/migrate/20131208083756_create_comments.rb +11 -0
- data/spec/fixtures/for_rails/db/migrate/20131208083835_create_users.rb +10 -0
- data/spec/fixtures/for_rails/db/seeds.rb +7 -0
- data/{test/dummy → spec/fixtures/for_rails}/public/404.html +0 -0
- data/{test/dummy → spec/fixtures/for_rails}/public/422.html +0 -0
- data/{test/dummy → spec/fixtures/for_rails}/public/500.html +0 -0
- data/spec/fixtures/for_rails/public/favicon.ico +0 -0
- data/spec/fixtures/for_rails/public/robots.txt +5 -0
- data/spec/fixtures/for_rails/test/test_helper.rb +15 -0
- data/spec/fixtures/generator/update_spec_tree/backup/Gemfile +45 -0
- data/spec/fixtures/generator/update_spec_tree/backup/Gemfile.lock +119 -0
- data/spec/fixtures/generator/update_spec_tree/backup/README.rdoc +28 -0
- data/{test/dummy → spec/fixtures/generator/update_spec_tree/backup}/Rakefile +1 -1
- data/spec/fixtures/generator/update_spec_tree/backup/app/assets/javascripts/application.js +16 -0
- data/spec/fixtures/generator/update_spec_tree/backup/app/assets/stylesheets/application.css +13 -0
- data/spec/fixtures/generator/update_spec_tree/backup/app/controllers/application_controller.rb +5 -0
- data/spec/fixtures/generator/update_spec_tree/backup/app/helpers/application_helper.rb +2 -0
- data/{test/dummy → spec/fixtures/generator/update_spec_tree/backup}/app/views/layouts/application.html.erb +1 -1
- data/spec/fixtures/generator/update_spec_tree/backup/bin/bundle +3 -0
- data/spec/fixtures/generator/update_spec_tree/backup/bin/rails +4 -0
- data/spec/fixtures/generator/update_spec_tree/backup/bin/rake +4 -0
- data/spec/fixtures/generator/update_spec_tree/backup/config.ru +4 -0
- data/{test/dummy → spec/fixtures/generator/update_spec_tree/backup}/config/application.rb +4 -4
- data/spec/fixtures/generator/update_spec_tree/backup/config/boot.rb +4 -0
- data/{test/dummy → spec/fixtures/generator/update_spec_tree/backup}/config/database.yml +0 -0
- data/{test/dummy → spec/fixtures/generator/update_spec_tree/backup}/config/environment.rb +1 -1
- data/spec/fixtures/generator/update_spec_tree/backup/config/environments/development.rb +29 -0
- data/spec/fixtures/generator/update_spec_tree/backup/config/environments/production.rb +80 -0
- data/spec/fixtures/generator/update_spec_tree/backup/config/environments/test.rb +36 -0
- data/spec/fixtures/generator/update_spec_tree/backup/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/fixtures/generator/update_spec_tree/backup/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/fixtures/generator/update_spec_tree/backup/config/initializers/inflections.rb +16 -0
- data/spec/fixtures/generator/update_spec_tree/backup/config/initializers/mime_types.rb +5 -0
- data/spec/fixtures/generator/update_spec_tree/backup/config/initializers/secret_token.rb +12 -0
- data/spec/fixtures/generator/update_spec_tree/backup/config/initializers/session_store.rb +3 -0
- data/spec/fixtures/generator/update_spec_tree/backup/config/initializers/wrap_parameters.rb +14 -0
- data/spec/fixtures/generator/update_spec_tree/backup/config/locales/en.yml +23 -0
- data/{test/dummy → spec/fixtures/generator/update_spec_tree/backup}/config/routes.rb +1 -1
- data/spec/fixtures/generator/update_spec_tree/backup/db/seeds.rb +7 -0
- data/spec/fixtures/generator/update_spec_tree/backup/lib/assets/try1.rb +11 -0
- data/spec/fixtures/generator/update_spec_tree/backup/lib/tasks/try2.rb +11 -0
- data/spec/fixtures/generator/update_spec_tree/backup/lib/try.rb +19 -0
- data/spec/fixtures/generator/update_spec_tree/backup/public/404.html +58 -0
- data/spec/fixtures/generator/update_spec_tree/backup/public/422.html +58 -0
- data/spec/fixtures/generator/update_spec_tree/backup/public/500.html +57 -0
- data/spec/fixtures/generator/update_spec_tree/backup/public/favicon.ico +0 -0
- data/spec/fixtures/generator/update_spec_tree/backup/public/robots.txt +5 -0
- data/spec/fixtures/generator/update_spec_tree/backup/spec/spec_helper.rb +17 -0
- data/spec/fixtures/generator/update_spec_tree/backup/test/test_helper.rb +15 -0
- data/spec/fixtures/generator/update_spec_tree/try/Gemfile +45 -0
- data/spec/fixtures/generator/update_spec_tree/try/Gemfile.lock +119 -0
- data/spec/fixtures/generator/update_spec_tree/try/README.rdoc +28 -0
- data/spec/fixtures/generator/update_spec_tree/try/Rakefile +6 -0
- data/spec/fixtures/generator/update_spec_tree/try/app/assets/javascripts/application.js +16 -0
- data/spec/fixtures/generator/update_spec_tree/try/app/assets/stylesheets/application.css +13 -0
- data/spec/fixtures/generator/update_spec_tree/try/app/controllers/application_controller.rb +5 -0
- data/spec/fixtures/generator/update_spec_tree/try/app/helpers/application_helper.rb +2 -0
- data/spec/fixtures/generator/update_spec_tree/try/app/views/layouts/application.html.erb +14 -0
- data/spec/fixtures/generator/update_spec_tree/try/bin/bundle +3 -0
- data/spec/fixtures/generator/update_spec_tree/try/bin/rails +4 -0
- data/spec/fixtures/generator/update_spec_tree/try/bin/rake +4 -0
- data/spec/fixtures/generator/update_spec_tree/try/config.ru +4 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/application.rb +23 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/boot.rb +4 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/database.yml +25 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/environment.rb +5 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/environments/development.rb +29 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/environments/production.rb +80 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/environments/test.rb +36 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/initializers/inflections.rb +16 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/initializers/mime_types.rb +5 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/initializers/secret_token.rb +12 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/initializers/session_store.rb +3 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/initializers/wrap_parameters.rb +14 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/locales/en.yml +23 -0
- data/spec/fixtures/generator/update_spec_tree/try/config/routes.rb +56 -0
- data/spec/fixtures/generator/update_spec_tree/try/db/seeds.rb +7 -0
- data/spec/fixtures/generator/update_spec_tree/try/lib/assets/try1.rb +11 -0
- data/spec/fixtures/generator/update_spec_tree/try/lib/tasks/try2.rb +11 -0
- data/spec/fixtures/generator/update_spec_tree/try/lib/try.rb +19 -0
- data/spec/fixtures/generator/update_spec_tree/try/log/development.log +0 -0
- data/spec/fixtures/generator/update_spec_tree/try/public/404.html +58 -0
- data/spec/fixtures/generator/update_spec_tree/try/public/422.html +58 -0
- data/spec/fixtures/generator/update_spec_tree/try/public/500.html +57 -0
- data/spec/fixtures/generator/update_spec_tree/try/public/favicon.ico +0 -0
- data/spec/fixtures/generator/update_spec_tree/try/public/robots.txt +5 -0
- data/spec/fixtures/generator/update_spec_tree/try/spec/spec_helper.rb +17 -0
- data/spec/fixtures/generator/update_spec_tree/try/test/test_helper.rb +15 -0
- data/spec/fixtures/generators/lib/guard_helpers/ro_helper.rb +0 -0
- data/spec/fixtures/generators/spec/lib/guard_helpers/ro_helper_spec.rb +2 -0
- data/spec/fixtures/handler/error_page.html +1 -0
- data/spec/fixtures/handler/result.html +1 -0
- data/spec/fixtures/lib/element/backup.rb +0 -0
- data/spec/fixtures/navigate/faker_ro_commands/lib/ro_generators/a_generator.rb +0 -0
- data/spec/fixtures/navigate/faker_ro_commands/lib/typography/a_file.rb +0 -0
- data/spec/fixtures/rails_navigate/app/controllers/one_controller.rb +0 -0
- data/spec/fixtures/rails_navigate/app/controllers/two_controller.rb +0 -0
- data/spec/fixtures/rails_navigate/app/decorators/two_decorator.rb +0 -0
- data/spec/fixtures/rails_navigate/app/models/two_model.rb +0 -0
- data/spec/fixtures/rails_navigate/lib/path/to/file.rb +0 -0
- data/spec/fixtures/rails_navigate/lib/path/to/file2.rb +0 -0
- data/spec/fixtures/rails_new_app/try_create_rails/Gemfile +57 -0
- data/spec/fixtures/rails_new_app/try_create_rails/README.rdoc +28 -0
- data/spec/fixtures/rails_new_app/try_create_rails/Rakefile +6 -0
- data/spec/fixtures/rails_new_app/try_create_rails/app/assets/javascripts/application.js +16 -0
- data/spec/fixtures/rails_new_app/try_create_rails/app/assets/stylesheets/application.css +13 -0
- data/spec/fixtures/rails_new_app/try_create_rails/app/controllers/application_controller.rb +5 -0
- data/spec/fixtures/rails_new_app/try_create_rails/app/helpers/application_helper.rb +2 -0
- data/spec/fixtures/rails_new_app/try_create_rails/app/views/layouts/application.html.erb +14 -0
- data/spec/fixtures/rails_new_app/try_create_rails/bin/bundle +3 -0
- data/spec/fixtures/rails_new_app/try_create_rails/bin/rails +4 -0
- data/spec/fixtures/rails_new_app/try_create_rails/bin/rake +4 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config.ru +4 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/application.rb +23 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/boot.rb +4 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/database.yml +39 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/environment.rb +5 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/environments/development.rb +29 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/environments/production.rb +80 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/environments/test.rb +36 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/initializers/inflections.rb +16 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/initializers/mime_types.rb +5 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/initializers/secret_token.rb +12 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/initializers/session_store.rb +3 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/initializers/wrap_parameters.rb +14 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/locales/en.yml +23 -0
- data/spec/fixtures/rails_new_app/try_create_rails/config/routes.rb +56 -0
- data/spec/fixtures/rails_new_app/try_create_rails/db/seeds.rb +7 -0
- data/spec/fixtures/rails_new_app/try_create_rails/public/404.html +58 -0
- data/spec/fixtures/rails_new_app/try_create_rails/public/422.html +58 -0
- data/spec/fixtures/rails_new_app/try_create_rails/public/500.html +57 -0
- data/spec/fixtures/rails_new_app/try_create_rails/public/favicon.ico +0 -0
- data/spec/fixtures/rails_new_app/try_create_rails/public/robots.txt +5 -0
- data/spec/fixtures/rails_new_app/try_create_rails/test/test_helper.rb +15 -0
- data/spec/fixtures/ro_bin_helper/gem1/lib/ro_commands/cmd1.rb +0 -0
- data/spec/fixtures/ro_bin_helper/gem1/lib/ro_commands/cmd2.rb +0 -0
- data/spec/fixtures/ro_bin_helper/gem2/lib/ro_commands/cmd1.rb +0 -0
- data/spec/fixtures/ro_bin_helper/gem2/lib/ro_commands/cmd2.rb +0 -0
- data/spec/fixtures/ro_commands_bin/lib/ro_commands/outside_ro_command.rb +5 -0
- data/spec/fixtures/ro_gist/ex/ex3.rb +0 -0
- data/spec/fixtures/ro_gist/ex/ex3_spec.rb +0 -0
- data/spec/fixtures/rodebug/config/routes.rb +6 -0
- data/spec/fixtures/spec/spec_helper.rb +20 -0
- data/spec/fixtures/tmp/rspec_guard_result +5 -0
- data/spec/fixtures/try_create_rails/Gemfile +58 -0
- data/spec/fixtures/try_create_rails/README.rdoc +28 -0
- data/spec/fixtures/try_create_rails/Rakefile +6 -0
- data/spec/fixtures/try_create_rails/app/assets/javascripts/application.js +16 -0
- data/spec/fixtures/try_create_rails/app/assets/stylesheets/application.css +13 -0
- data/spec/fixtures/try_create_rails/app/controllers/application_controller.rb +5 -0
- data/spec/fixtures/try_create_rails/app/helpers/application_helper.rb +2 -0
- data/spec/fixtures/try_create_rails/app/views/layouts/application.html.erb +14 -0
- data/spec/fixtures/try_create_rails/bin/bundle +3 -0
- data/spec/fixtures/try_create_rails/bin/rails +4 -0
- data/spec/fixtures/try_create_rails/bin/rake +4 -0
- data/spec/fixtures/try_create_rails/config.ru +4 -0
- data/spec/fixtures/try_create_rails/config/application.rb +23 -0
- data/spec/fixtures/try_create_rails/config/boot.rb +4 -0
- data/spec/fixtures/try_create_rails/config/database.yml +39 -0
- data/spec/fixtures/try_create_rails/config/environment.rb +5 -0
- data/spec/fixtures/try_create_rails/config/environments/development.rb +29 -0
- data/spec/fixtures/try_create_rails/config/environments/production.rb +80 -0
- data/spec/fixtures/try_create_rails/config/environments/test.rb +36 -0
- data/spec/fixtures/try_create_rails/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/fixtures/try_create_rails/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/fixtures/try_create_rails/config/initializers/inflections.rb +16 -0
- data/spec/fixtures/try_create_rails/config/initializers/mime_types.rb +5 -0
- data/spec/fixtures/try_create_rails/config/initializers/secret_token.rb +12 -0
- data/spec/fixtures/try_create_rails/config/initializers/session_store.rb +3 -0
- data/spec/fixtures/try_create_rails/config/initializers/wrap_parameters.rb +14 -0
- data/spec/fixtures/try_create_rails/config/locales/en.yml +23 -0
- data/spec/fixtures/try_create_rails/config/routes.rb +56 -0
- data/spec/fixtures/try_create_rails/db/seeds.rb +7 -0
- data/spec/fixtures/try_create_rails/public/404.html +58 -0
- data/spec/fixtures/try_create_rails/public/422.html +58 -0
- data/spec/fixtures/try_create_rails/public/500.html +57 -0
- data/spec/fixtures/try_create_rails/public/favicon.ico +0 -0
- data/spec/fixtures/try_create_rails/public/robots.txt +5 -0
- data/spec/fixtures/try_create_rails/test/test_helper.rb +15 -0
- data/spec/lib/all_spec.rb +36 -0
- data/spec/lib/bash_builder_spec.rb +75 -0
- data/spec/lib/bash_debug_spec.rb +24 -0
- data/spec/lib/core_ext/misc_helper_spec.rb +20 -0
- data/spec/lib/core_ext/module_misc_spec.rb +38 -0
- data/spec/lib/deps_methods_spec.rb +52 -0
- data/spec/lib/deps_spec.rb +27 -0
- data/spec/lib/guard_helpers/base_helper_spec.rb +56 -0
- data/spec/lib/guard_helpers/basic_helper_spec.rb +44 -0
- data/spec/lib/guard_helpers/gem_helper_spec.rb +14 -0
- data/spec/lib/guard_helpers/mid_mod_class_method_helper_spec.rb +35 -0
- data/spec/lib/ro_cells/gem_spec.rb +25 -0
- data/spec/lib/ro_commands/base_config_spec.rb +0 -0
- data/spec/lib/ro_commands/base_spec.rb +45 -0
- data/spec/lib/ro_commands/dsl/file_spec.rb +0 -0
- data/spec/lib/ro_commands/env/base_config_spec.rb +0 -0
- data/spec/lib/ro_commands/env/ro_proc_spec.rb +0 -0
- data/spec/lib/ro_commands/env/ro_process_spec.rb +0 -0
- data/spec/lib/ro_commands/file_actions_spec.rb +31 -0
- data/spec/lib/ro_commands/generate_spec.rb +7 -0
- data/spec/lib/ro_commands/generators/base_generator_spec.rb +2 -0
- data/spec/lib/ro_commands/generators/ex_spec.rb +33 -0
- data/spec/lib/ro_commands/generators/lib_spec.rb +2 -0
- data/spec/lib/ro_commands/generators/rails_generator_spec.rb +22 -0
- data/spec/lib/ro_commands/generators/rails_new_app_spec.rb +20 -0
- data/spec/lib/ro_commands/generators/rodebug_spec.rb +17 -0
- data/spec/lib/ro_commands/generators/spec_file_spec.rb +69 -0
- data/spec/lib/ro_commands/git_flow_spec.rb +19 -0
- data/spec/lib/ro_commands/git_spec.rb +0 -0
- data/spec/lib/ro_commands/misc_spec.rb +35 -0
- data/spec/lib/ro_commands/navigate_spec.rb +46 -0
- data/spec/lib/ro_commands/out_spec.rb +23 -0
- data/spec/lib/ro_commands/process_spec.rb +0 -0
- data/spec/lib/ro_commands/processes_spec.rb +0 -0
- data/spec/lib/ro_commands/rails_spec.rb +83 -0
- data/spec/lib/ro_commands/refactor_spec.rb +52 -0
- data/spec/lib/ro_commands/ro_gist_spec.rb +23 -0
- data/spec/lib/ro_commands/ro_helper_spec.rb +32 -0
- data/spec/lib/ro_commands/rubymine_spec.rb +0 -0
- data/spec/lib/ro_commands/version_spec.rb +0 -0
- data/spec/lib/ro_commands/zeus_spec.rb +12 -0
- data/spec/lib/ro_commands_bin_spec.rb +21 -0
- data/spec/lib/ro_commands_spec.rb +1 -0
- data/spec/lib/ro_core_ext/array_spec.rb +11 -0
- data/spec/lib/ro_core_ext/hash_spec.rb +12 -0
- data/spec/lib/ro_core_ext/object_spec.rb +12 -0
- data/spec/lib/ro_core_ext/string_spec.rb +10 -0
- data/spec/lib/ro_file_spec.rb +27 -0
- data/spec/lib/ro_helpers/all_ro_commands_spec.rb +9 -0
- data/spec/lib/ro_helpers/bash_spec.rb +40 -0
- data/spec/lib/ro_helpers/ro_bin_helper_spec.rb +23 -0
- data/spec/lib/ro_rails_helpers/handler_spec.rb +23 -0
- data/spec/lib/ro_rspec_helpers/ro_faker_spec.rb +14 -0
- data/spec/lib/ro_rspec_helpers/spec_helpers_spec.rb +5 -0
- data/spec/lib/ro_rspec_helpers_spec.rb +8 -0
- data/spec/lib/shortcuts_spec.rb +8 -0
- data/spec/lib/tasks/roro_commands_tasks_spec.rb +2 -0
- data/spec/lib/try_spec.rb +0 -0
- data/spec/lib/typography/test/typography_test_spec.rb +2 -0
- data/spec/ro_faker_templates/error_page.erb +1 -0
- data/spec/ro_faker_templates/outside_ro_commands.tt +5 -0
- data/spec/ro_faker_templates/rails4/Gemfile +58 -0
- data/spec/ro_faker_templates/rails4/Gemfile.lock +236 -0
- data/spec/ro_faker_templates/rails4/README.rdoc +28 -0
- data/spec/ro_faker_templates/rails4/Rakefile +6 -0
- data/spec/ro_faker_templates/rails4/app/assets/javascripts/application.js +16 -0
- data/spec/ro_faker_templates/rails4/app/assets/javascripts/articles.js.coffee +3 -0
- data/spec/ro_faker_templates/rails4/app/assets/javascripts/comments.js.coffee +3 -0
- data/spec/ro_faker_templates/rails4/app/assets/javascripts/users.js.coffee +3 -0
- data/spec/ro_faker_templates/rails4/app/assets/stylesheets/application.css +13 -0
- data/spec/ro_faker_templates/rails4/app/assets/stylesheets/articles.css.scss +3 -0
- data/spec/ro_faker_templates/rails4/app/assets/stylesheets/comments.css.scss +3 -0
- data/spec/ro_faker_templates/rails4/app/assets/stylesheets/scaffolds.css.scss +69 -0
- data/spec/ro_faker_templates/rails4/app/assets/stylesheets/users.css.scss +3 -0
- data/spec/ro_faker_templates/rails4/app/controllers/application_controller.rb +5 -0
- data/spec/ro_faker_templates/rails4/app/controllers/articles_controller.rb +74 -0
- data/spec/ro_faker_templates/rails4/app/controllers/comments_controller.rb +74 -0
- data/spec/ro_faker_templates/rails4/app/controllers/users_controller.rb +74 -0
- data/spec/ro_faker_templates/rails4/app/helpers/application_helper.rb +2 -0
- data/spec/ro_faker_templates/rails4/app/helpers/articles_helper.rb +2 -0
- data/spec/ro_faker_templates/rails4/app/helpers/comments_helper.rb +2 -0
- data/spec/ro_faker_templates/rails4/app/helpers/users_helper.rb +2 -0
- data/spec/ro_faker_templates/rails4/app/models/article.rb +2 -0
- data/spec/ro_faker_templates/rails4/app/models/comment.rb +2 -0
- data/spec/ro_faker_templates/rails4/app/models/user.rb +2 -0
- data/spec/ro_faker_templates/rails4/app/views/articles/_form.html.erb +29 -0
- data/spec/ro_faker_templates/rails4/app/views/articles/edit.html.erb +6 -0
- data/spec/ro_faker_templates/rails4/app/views/articles/index.html.erb +31 -0
- data/spec/ro_faker_templates/rails4/app/views/articles/index.json.jbuilder +4 -0
- data/spec/ro_faker_templates/rails4/app/views/articles/new.html.erb +5 -0
- data/spec/ro_faker_templates/rails4/app/views/articles/show.html.erb +19 -0
- data/spec/ro_faker_templates/rails4/app/views/articles/show.json.jbuilder +1 -0
- data/spec/ro_faker_templates/rails4/app/views/comments/_form.html.erb +29 -0
- data/spec/ro_faker_templates/rails4/app/views/comments/edit.html.erb +6 -0
- data/spec/ro_faker_templates/rails4/app/views/comments/index.html.erb +31 -0
- data/spec/ro_faker_templates/rails4/app/views/comments/index.json.jbuilder +4 -0
- data/spec/ro_faker_templates/rails4/app/views/comments/new.html.erb +5 -0
- data/spec/ro_faker_templates/rails4/app/views/comments/show.html.erb +19 -0
- data/spec/ro_faker_templates/rails4/app/views/comments/show.json.jbuilder +1 -0
- data/spec/ro_faker_templates/rails4/app/views/layouts/application.html.erb +14 -0
- data/spec/ro_faker_templates/rails4/app/views/users/_form.html.erb +25 -0
- data/spec/ro_faker_templates/rails4/app/views/users/edit.html.erb +6 -0
- data/spec/ro_faker_templates/rails4/app/views/users/index.html.erb +29 -0
- data/spec/ro_faker_templates/rails4/app/views/users/index.json.jbuilder +4 -0
- data/spec/ro_faker_templates/rails4/app/views/users/new.html.erb +5 -0
- data/spec/ro_faker_templates/rails4/app/views/users/show.html.erb +14 -0
- data/spec/ro_faker_templates/rails4/app/views/users/show.json.jbuilder +1 -0
- data/spec/ro_faker_templates/rails4/bin/bundle +3 -0
- data/spec/ro_faker_templates/rails4/bin/rails +4 -0
- data/spec/ro_faker_templates/rails4/bin/rake +4 -0
- data/spec/ro_faker_templates/rails4/config.ru +4 -0
- data/spec/ro_faker_templates/rails4/config/application.rb +23 -0
- data/spec/ro_faker_templates/rails4/config/boot.rb +4 -0
- data/spec/ro_faker_templates/rails4/config/database.yml +39 -0
- data/spec/ro_faker_templates/rails4/config/environment.rb +5 -0
- data/spec/ro_faker_templates/rails4/config/environments/development.rb +29 -0
- data/spec/ro_faker_templates/rails4/config/environments/production.rb +80 -0
- data/spec/ro_faker_templates/rails4/config/environments/test.rb +36 -0
- data/spec/ro_faker_templates/rails4/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/ro_faker_templates/rails4/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/ro_faker_templates/rails4/config/initializers/inflections.rb +16 -0
- data/spec/ro_faker_templates/rails4/config/initializers/mime_types.rb +5 -0
- data/spec/ro_faker_templates/rails4/config/initializers/secret_token.rb +12 -0
- data/spec/ro_faker_templates/rails4/config/initializers/session_store.rb +3 -0
- data/spec/ro_faker_templates/rails4/config/initializers/wrap_parameters.rb +14 -0
- data/spec/ro_faker_templates/rails4/config/locales/en.yml +23 -0
- data/spec/ro_faker_templates/rails4/config/routes.rb +62 -0
- data/spec/ro_faker_templates/rails4/db/migrate/20131208083747_create_articles.rb +11 -0
- data/spec/ro_faker_templates/rails4/db/migrate/20131208083756_create_comments.rb +11 -0
- data/spec/ro_faker_templates/rails4/db/migrate/20131208083835_create_users.rb +10 -0
- data/spec/ro_faker_templates/rails4/db/seeds.rb +7 -0
- data/spec/ro_faker_templates/rails4/public/404.html +58 -0
- data/spec/ro_faker_templates/rails4/public/422.html +58 -0
- data/spec/ro_faker_templates/rails4/public/500.html +57 -0
- data/spec/ro_faker_templates/rails4/public/favicon.ico +0 -0
- data/spec/ro_faker_templates/rails4/public/robots.txt +5 -0
- data/spec/ro_faker_templates/rails4/test/test_helper.rb +15 -0
- data/spec/ro_faker_templates/routes.erb +3 -0
- data/spec/spec_helper.rb +40 -0
- metadata +1001 -84
- data/README.rdoc +0 -3
- data/lib/ro_commands/core_ext/hash.rb +0 -5
- data/lib/ro_commands/core_ext/string.rb +0 -18
- data/lib/ro_commands/dsl/ro_file.rb +0 -24
- data/lib/ro_commands/helpers/all.rb +0 -8
- data/lib/ro_commands/helpers/all_files.rb +0 -21
- data/lib/ro_commands/helpers/bash.rb +0 -59
- data/lib/ro_commands/helpers/out.rb +0 -88
- data/test/dummy/config/boot.rb +0 -5
- data/test/dummy/config/initializers/session_store.rb +0 -3
- data/test/roro_commands_test.rb +0 -7
- data/test/test_helper.rb +0 -15
data/spec/bin_spec.rb
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
source "http://ruby.taobao.org"
|
2
|
+
gem 'ro_commands'
|
3
|
+
|
4
|
+
gem 'rspec'
|
5
|
+
gem 'rspec-rails'
|
6
|
+
gem 'spork-rails'
|
7
|
+
gem 'zeus'
|
8
|
+
gem 'bootstrap-sass'
|
9
|
+
|
10
|
+
group :test, :development do
|
11
|
+
gem 'rubymine_heaven'
|
12
|
+
gem 'guard'
|
13
|
+
gem 'guard-livereload'
|
14
|
+
gem 'guard-rspec'
|
15
|
+
end
|
16
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
17
|
+
gem 'rails', '~>4.0.1'
|
18
|
+
|
19
|
+
# Use mysql as the database for Active Record
|
20
|
+
gem 'mysql2'
|
21
|
+
|
22
|
+
# Use SCSS for stylesheets
|
23
|
+
gem 'sass-rails', '~> 4.0.0'
|
24
|
+
|
25
|
+
# Use Uglifier as compressor for JavaScript assets
|
26
|
+
gem 'uglifier', '>= 1.3.0'
|
27
|
+
|
28
|
+
# Use CoffeeScript for .js.coffee assets and views
|
29
|
+
gem 'coffee-rails', '~> 4.0.0'
|
30
|
+
|
31
|
+
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
|
32
|
+
# gem 'therubyracer', platforms: :ruby
|
33
|
+
|
34
|
+
# Use jquery as the JavaScript library
|
35
|
+
gem 'jquery-rails'
|
36
|
+
|
37
|
+
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
|
38
|
+
gem 'turbolinks'
|
39
|
+
|
40
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
41
|
+
gem 'jbuilder', '~> 1.2'
|
42
|
+
|
43
|
+
group :doc do
|
44
|
+
# bundle exec rake doc:rails generates the API under doc/api.
|
45
|
+
gem 'sdoc', require: false
|
46
|
+
end
|
47
|
+
|
48
|
+
# Use ActiveModel has_secure_password
|
49
|
+
# gem 'bcrypt-ruby', '~> 3.1.2'
|
50
|
+
|
51
|
+
# Use unicorn as the app server
|
52
|
+
# gem 'unicorn'
|
53
|
+
|
54
|
+
# Use Capistrano for deployment
|
55
|
+
# gem 'capistrano', group: :development
|
56
|
+
|
57
|
+
# Use debugger
|
58
|
+
# gem 'debugger', group: [:development, :test]
|
@@ -0,0 +1,236 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://ruby.taobao.org/
|
3
|
+
specs:
|
4
|
+
actionmailer (4.0.2)
|
5
|
+
actionpack (= 4.0.2)
|
6
|
+
mail (~> 2.5.4)
|
7
|
+
actionpack (4.0.2)
|
8
|
+
activesupport (= 4.0.2)
|
9
|
+
builder (~> 3.1.0)
|
10
|
+
erubis (~> 2.7.0)
|
11
|
+
rack (~> 1.5.2)
|
12
|
+
rack-test (~> 0.6.2)
|
13
|
+
activemodel (4.0.2)
|
14
|
+
activesupport (= 4.0.2)
|
15
|
+
builder (~> 3.1.0)
|
16
|
+
activerecord (4.0.2)
|
17
|
+
activemodel (= 4.0.2)
|
18
|
+
activerecord-deprecated_finders (~> 1.0.2)
|
19
|
+
activesupport (= 4.0.2)
|
20
|
+
arel (~> 4.0.0)
|
21
|
+
activerecord-deprecated_finders (1.0.3)
|
22
|
+
activesupport (4.0.2)
|
23
|
+
i18n (~> 0.6, >= 0.6.4)
|
24
|
+
minitest (~> 4.2)
|
25
|
+
multi_json (~> 1.3)
|
26
|
+
thread_safe (~> 0.1)
|
27
|
+
tzinfo (~> 0.3.37)
|
28
|
+
arel (4.0.1)
|
29
|
+
atomic (1.1.14)
|
30
|
+
bootstrap-sass (3.0.3.0)
|
31
|
+
sass (~> 3.2)
|
32
|
+
builder (3.1.4)
|
33
|
+
capistrano (3.0.1)
|
34
|
+
i18n
|
35
|
+
rake (>= 10.0.0)
|
36
|
+
sshkit (>= 0.0.23)
|
37
|
+
capybara (2.2.0)
|
38
|
+
mime-types (>= 1.16)
|
39
|
+
nokogiri (>= 1.3.3)
|
40
|
+
rack (>= 1.0.0)
|
41
|
+
rack-test (>= 0.5.4)
|
42
|
+
xpath (~> 2.0)
|
43
|
+
capybara-webkit (1.1.0)
|
44
|
+
capybara (~> 2.0, >= 2.0.2)
|
45
|
+
json
|
46
|
+
celluloid (0.15.2)
|
47
|
+
timers (~> 1.1.0)
|
48
|
+
coderay (1.1.0)
|
49
|
+
coffee-rails (4.0.1)
|
50
|
+
coffee-script (>= 2.2.0)
|
51
|
+
railties (>= 4.0.0, < 5.0)
|
52
|
+
coffee-script (2.2.0)
|
53
|
+
coffee-script-source
|
54
|
+
execjs
|
55
|
+
coffee-script-source (1.6.3)
|
56
|
+
diff-lcs (1.2.5)
|
57
|
+
em-websocket (0.5.0)
|
58
|
+
eventmachine (>= 0.12.9)
|
59
|
+
http_parser.rb (~> 0.5.3)
|
60
|
+
erubis (2.7.0)
|
61
|
+
eventmachine (1.0.3)
|
62
|
+
execjs (2.0.2)
|
63
|
+
ffi (1.9.3)
|
64
|
+
formatador (0.2.4)
|
65
|
+
guard (2.2.4)
|
66
|
+
formatador (>= 0.2.4)
|
67
|
+
listen (~> 2.1)
|
68
|
+
lumberjack (~> 1.0)
|
69
|
+
pry (>= 0.9.12)
|
70
|
+
thor (>= 0.18.1)
|
71
|
+
guard-livereload (2.1.0)
|
72
|
+
em-websocket (~> 0.5)
|
73
|
+
guard (~> 2.0)
|
74
|
+
multi_json (~> 1.8)
|
75
|
+
guard-rspec (4.2.0)
|
76
|
+
guard (>= 2.1.1)
|
77
|
+
rspec (>= 2.14, < 4.0)
|
78
|
+
hike (1.2.3)
|
79
|
+
http_parser.rb (0.5.3)
|
80
|
+
i18n (0.6.9)
|
81
|
+
jbuilder (1.5.3)
|
82
|
+
activesupport (>= 3.0.0)
|
83
|
+
multi_json (>= 1.2.0)
|
84
|
+
jquery-rails (3.0.4)
|
85
|
+
railties (>= 3.0, < 5.0)
|
86
|
+
thor (>= 0.14, < 2.0)
|
87
|
+
json (1.8.1)
|
88
|
+
listen (2.4.0)
|
89
|
+
celluloid (>= 0.15.2)
|
90
|
+
rb-fsevent (>= 0.9.3)
|
91
|
+
rb-inotify (>= 0.9)
|
92
|
+
lumberjack (1.0.4)
|
93
|
+
mail (2.5.4)
|
94
|
+
mime-types (~> 1.16)
|
95
|
+
treetop (~> 1.4.8)
|
96
|
+
method_source (0.8.2)
|
97
|
+
mime-types (1.25.1)
|
98
|
+
mini_portile (0.5.2)
|
99
|
+
minitest (4.7.5)
|
100
|
+
multi_json (1.8.2)
|
101
|
+
mysql2 (0.3.14)
|
102
|
+
net-scp (1.1.2)
|
103
|
+
net-ssh (>= 2.6.5)
|
104
|
+
net-ssh (2.7.0)
|
105
|
+
nokogiri (1.6.0)
|
106
|
+
mini_portile (~> 0.5.0)
|
107
|
+
polyglot (0.3.3)
|
108
|
+
pry (0.9.12.4)
|
109
|
+
coderay (~> 1.0)
|
110
|
+
method_source (~> 0.8)
|
111
|
+
slop (~> 3.4)
|
112
|
+
rack (1.5.2)
|
113
|
+
rack-test (0.6.2)
|
114
|
+
rack (>= 1.0)
|
115
|
+
rails (4.0.2)
|
116
|
+
actionmailer (= 4.0.2)
|
117
|
+
actionpack (= 4.0.2)
|
118
|
+
activerecord (= 4.0.2)
|
119
|
+
activesupport (= 4.0.2)
|
120
|
+
bundler (>= 1.3.0, < 2.0)
|
121
|
+
railties (= 4.0.2)
|
122
|
+
sprockets-rails (~> 2.0.0)
|
123
|
+
railties (4.0.2)
|
124
|
+
actionpack (= 4.0.2)
|
125
|
+
activesupport (= 4.0.2)
|
126
|
+
rake (>= 0.8.7)
|
127
|
+
thor (>= 0.18.1, < 2.0)
|
128
|
+
rake (10.1.0)
|
129
|
+
rb-fsevent (0.9.3)
|
130
|
+
rb-inotify (0.9.2)
|
131
|
+
ffi (>= 0.5.0)
|
132
|
+
rdoc (3.12.2)
|
133
|
+
json (~> 1.4)
|
134
|
+
ro_commands (0.0.3)
|
135
|
+
actionpack (>= 4.0.1)
|
136
|
+
activesupport
|
137
|
+
capistrano
|
138
|
+
capybara
|
139
|
+
capybara-webkit
|
140
|
+
coderay
|
141
|
+
guard
|
142
|
+
method_source
|
143
|
+
net-ssh
|
144
|
+
pry
|
145
|
+
rails
|
146
|
+
term-ansicolor
|
147
|
+
thor
|
148
|
+
zeus
|
149
|
+
rspec (2.14.1)
|
150
|
+
rspec-core (~> 2.14.0)
|
151
|
+
rspec-expectations (~> 2.14.0)
|
152
|
+
rspec-mocks (~> 2.14.0)
|
153
|
+
rspec-core (2.14.7)
|
154
|
+
rspec-expectations (2.14.4)
|
155
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
156
|
+
rspec-mocks (2.14.4)
|
157
|
+
rspec-rails (2.14.0)
|
158
|
+
actionpack (>= 3.0)
|
159
|
+
activesupport (>= 3.0)
|
160
|
+
railties (>= 3.0)
|
161
|
+
rspec-core (~> 2.14.0)
|
162
|
+
rspec-expectations (~> 2.14.0)
|
163
|
+
rspec-mocks (~> 2.14.0)
|
164
|
+
rubymine_heaven (0.0.3)
|
165
|
+
rails (>= 3.0.0)
|
166
|
+
sass (3.2.12)
|
167
|
+
sass-rails (4.0.1)
|
168
|
+
railties (>= 4.0.0, < 5.0)
|
169
|
+
sass (>= 3.1.10)
|
170
|
+
sprockets-rails (~> 2.0.0)
|
171
|
+
sdoc (0.3.20)
|
172
|
+
json (>= 1.1.3)
|
173
|
+
rdoc (~> 3.10)
|
174
|
+
slop (3.4.7)
|
175
|
+
spork (1.0.0rc4)
|
176
|
+
spork-rails (4.0.0)
|
177
|
+
rails (>= 3.0.0, < 5)
|
178
|
+
spork (>= 1.0rc0)
|
179
|
+
sprockets (2.10.1)
|
180
|
+
hike (~> 1.2)
|
181
|
+
multi_json (~> 1.0)
|
182
|
+
rack (~> 1.0)
|
183
|
+
tilt (~> 1.1, != 1.3.0)
|
184
|
+
sprockets-rails (2.0.1)
|
185
|
+
actionpack (>= 3.0)
|
186
|
+
activesupport (>= 3.0)
|
187
|
+
sprockets (~> 2.8)
|
188
|
+
sshkit (1.2.0)
|
189
|
+
net-scp (>= 1.1.2)
|
190
|
+
net-ssh
|
191
|
+
term-ansicolor
|
192
|
+
term-ansicolor (1.2.2)
|
193
|
+
tins (~> 0.8)
|
194
|
+
thor (0.18.1)
|
195
|
+
thread_safe (0.1.3)
|
196
|
+
atomic
|
197
|
+
tilt (1.4.1)
|
198
|
+
timers (1.1.0)
|
199
|
+
tins (0.13.1)
|
200
|
+
treetop (1.4.15)
|
201
|
+
polyglot
|
202
|
+
polyglot (>= 0.3.1)
|
203
|
+
turbolinks (2.0.0)
|
204
|
+
coffee-rails
|
205
|
+
tzinfo (0.3.38)
|
206
|
+
uglifier (2.3.2)
|
207
|
+
execjs (>= 0.3.0)
|
208
|
+
json (>= 1.8.0)
|
209
|
+
xpath (2.0.0)
|
210
|
+
nokogiri (~> 1.3)
|
211
|
+
zeus (0.13.3)
|
212
|
+
method_source (>= 0.6.7)
|
213
|
+
|
214
|
+
PLATFORMS
|
215
|
+
ruby
|
216
|
+
|
217
|
+
DEPENDENCIES
|
218
|
+
bootstrap-sass
|
219
|
+
coffee-rails (~> 4.0.0)
|
220
|
+
guard
|
221
|
+
guard-livereload
|
222
|
+
guard-rspec
|
223
|
+
jbuilder (~> 1.2)
|
224
|
+
jquery-rails
|
225
|
+
mysql2
|
226
|
+
rails (~> 4.0.1)
|
227
|
+
ro_commands
|
228
|
+
rspec
|
229
|
+
rspec-rails
|
230
|
+
rubymine_heaven
|
231
|
+
sass-rails (~> 4.0.0)
|
232
|
+
sdoc
|
233
|
+
spork-rails
|
234
|
+
turbolinks
|
235
|
+
uglifier (>= 1.3.0)
|
236
|
+
zeus
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
/home/zxr/Dropbox/ruby_project/ro_commands/spec/lib/ro_commands/git_spec.rb:15
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1,58 @@
|
|
1
|
+
source "http://ruby.taobao.org"
|
2
|
+
gem 'ro_commands'
|
3
|
+
|
4
|
+
gem 'rspec'
|
5
|
+
gem 'rspec-rails'
|
6
|
+
gem 'spork-rails'
|
7
|
+
gem 'zeus'
|
8
|
+
gem 'bootstrap-sass'
|
9
|
+
|
10
|
+
group :test, :development do
|
11
|
+
gem 'rubymine_heaven'
|
12
|
+
gem 'guard'
|
13
|
+
gem 'guard-livereload'
|
14
|
+
gem 'guard-rspec'
|
15
|
+
end
|
16
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
17
|
+
gem 'rails', '~>4.0.1'
|
18
|
+
|
19
|
+
# Use mysql as the database for Active Record
|
20
|
+
gem 'mysql2'
|
21
|
+
|
22
|
+
# Use SCSS for stylesheets
|
23
|
+
gem 'sass-rails', '~> 4.0.0'
|
24
|
+
|
25
|
+
# Use Uglifier as compressor for JavaScript assets
|
26
|
+
gem 'uglifier', '>= 1.3.0'
|
27
|
+
|
28
|
+
# Use CoffeeScript for .js.coffee assets and views
|
29
|
+
gem 'coffee-rails', '~> 4.0.0'
|
30
|
+
|
31
|
+
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
|
32
|
+
# gem 'therubyracer', platforms: :ruby
|
33
|
+
|
34
|
+
# Use jquery as the JavaScript library
|
35
|
+
gem 'jquery-rails'
|
36
|
+
|
37
|
+
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
|
38
|
+
gem 'turbolinks'
|
39
|
+
|
40
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
41
|
+
gem 'jbuilder', '~> 1.2'
|
42
|
+
|
43
|
+
group :doc do
|
44
|
+
# bundle exec rake doc:rails generates the API under doc/api.
|
45
|
+
gem 'sdoc', require: false
|
46
|
+
end
|
47
|
+
|
48
|
+
# Use ActiveModel has_secure_password
|
49
|
+
# gem 'bcrypt-ruby', '~> 3.1.2'
|
50
|
+
|
51
|
+
# Use unicorn as the app server
|
52
|
+
# gem 'unicorn'
|
53
|
+
|
54
|
+
# Use Capistrano for deployment
|
55
|
+
# gem 'capistrano', group: :development
|
56
|
+
|
57
|
+
# Use debugger
|
58
|
+
# gem 'debugger', group: [:development, :test]
|
@@ -0,0 +1,236 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://ruby.taobao.org/
|
3
|
+
specs:
|
4
|
+
actionmailer (4.0.2)
|
5
|
+
actionpack (= 4.0.2)
|
6
|
+
mail (~> 2.5.4)
|
7
|
+
actionpack (4.0.2)
|
8
|
+
activesupport (= 4.0.2)
|
9
|
+
builder (~> 3.1.0)
|
10
|
+
erubis (~> 2.7.0)
|
11
|
+
rack (~> 1.5.2)
|
12
|
+
rack-test (~> 0.6.2)
|
13
|
+
activemodel (4.0.2)
|
14
|
+
activesupport (= 4.0.2)
|
15
|
+
builder (~> 3.1.0)
|
16
|
+
activerecord (4.0.2)
|
17
|
+
activemodel (= 4.0.2)
|
18
|
+
activerecord-deprecated_finders (~> 1.0.2)
|
19
|
+
activesupport (= 4.0.2)
|
20
|
+
arel (~> 4.0.0)
|
21
|
+
activerecord-deprecated_finders (1.0.3)
|
22
|
+
activesupport (4.0.2)
|
23
|
+
i18n (~> 0.6, >= 0.6.4)
|
24
|
+
minitest (~> 4.2)
|
25
|
+
multi_json (~> 1.3)
|
26
|
+
thread_safe (~> 0.1)
|
27
|
+
tzinfo (~> 0.3.37)
|
28
|
+
arel (4.0.1)
|
29
|
+
atomic (1.1.14)
|
30
|
+
bootstrap-sass (3.0.3.0)
|
31
|
+
sass (~> 3.2)
|
32
|
+
builder (3.1.4)
|
33
|
+
capistrano (3.0.1)
|
34
|
+
i18n
|
35
|
+
rake (>= 10.0.0)
|
36
|
+
sshkit (>= 0.0.23)
|
37
|
+
capybara (2.2.0)
|
38
|
+
mime-types (>= 1.16)
|
39
|
+
nokogiri (>= 1.3.3)
|
40
|
+
rack (>= 1.0.0)
|
41
|
+
rack-test (>= 0.5.4)
|
42
|
+
xpath (~> 2.0)
|
43
|
+
capybara-webkit (1.1.0)
|
44
|
+
capybara (~> 2.0, >= 2.0.2)
|
45
|
+
json
|
46
|
+
celluloid (0.15.2)
|
47
|
+
timers (~> 1.1.0)
|
48
|
+
coderay (1.1.0)
|
49
|
+
coffee-rails (4.0.1)
|
50
|
+
coffee-script (>= 2.2.0)
|
51
|
+
railties (>= 4.0.0, < 5.0)
|
52
|
+
coffee-script (2.2.0)
|
53
|
+
coffee-script-source
|
54
|
+
execjs
|
55
|
+
coffee-script-source (1.6.3)
|
56
|
+
diff-lcs (1.2.5)
|
57
|
+
em-websocket (0.5.0)
|
58
|
+
eventmachine (>= 0.12.9)
|
59
|
+
http_parser.rb (~> 0.5.3)
|
60
|
+
erubis (2.7.0)
|
61
|
+
eventmachine (1.0.3)
|
62
|
+
execjs (2.0.2)
|
63
|
+
ffi (1.9.3)
|
64
|
+
formatador (0.2.4)
|
65
|
+
guard (2.2.4)
|
66
|
+
formatador (>= 0.2.4)
|
67
|
+
listen (~> 2.1)
|
68
|
+
lumberjack (~> 1.0)
|
69
|
+
pry (>= 0.9.12)
|
70
|
+
thor (>= 0.18.1)
|
71
|
+
guard-livereload (2.1.0)
|
72
|
+
em-websocket (~> 0.5)
|
73
|
+
guard (~> 2.0)
|
74
|
+
multi_json (~> 1.8)
|
75
|
+
guard-rspec (4.2.0)
|
76
|
+
guard (>= 2.1.1)
|
77
|
+
rspec (>= 2.14, < 4.0)
|
78
|
+
hike (1.2.3)
|
79
|
+
http_parser.rb (0.5.3)
|
80
|
+
i18n (0.6.9)
|
81
|
+
jbuilder (1.5.3)
|
82
|
+
activesupport (>= 3.0.0)
|
83
|
+
multi_json (>= 1.2.0)
|
84
|
+
jquery-rails (3.0.4)
|
85
|
+
railties (>= 3.0, < 5.0)
|
86
|
+
thor (>= 0.14, < 2.0)
|
87
|
+
json (1.8.1)
|
88
|
+
listen (2.4.0)
|
89
|
+
celluloid (>= 0.15.2)
|
90
|
+
rb-fsevent (>= 0.9.3)
|
91
|
+
rb-inotify (>= 0.9)
|
92
|
+
lumberjack (1.0.4)
|
93
|
+
mail (2.5.4)
|
94
|
+
mime-types (~> 1.16)
|
95
|
+
treetop (~> 1.4.8)
|
96
|
+
method_source (0.8.2)
|
97
|
+
mime-types (1.25.1)
|
98
|
+
mini_portile (0.5.2)
|
99
|
+
minitest (4.7.5)
|
100
|
+
multi_json (1.8.2)
|
101
|
+
mysql2 (0.3.14)
|
102
|
+
net-scp (1.1.2)
|
103
|
+
net-ssh (>= 2.6.5)
|
104
|
+
net-ssh (2.7.0)
|
105
|
+
nokogiri (1.6.0)
|
106
|
+
mini_portile (~> 0.5.0)
|
107
|
+
polyglot (0.3.3)
|
108
|
+
pry (0.9.12.4)
|
109
|
+
coderay (~> 1.0)
|
110
|
+
method_source (~> 0.8)
|
111
|
+
slop (~> 3.4)
|
112
|
+
rack (1.5.2)
|
113
|
+
rack-test (0.6.2)
|
114
|
+
rack (>= 1.0)
|
115
|
+
rails (4.0.2)
|
116
|
+
actionmailer (= 4.0.2)
|
117
|
+
actionpack (= 4.0.2)
|
118
|
+
activerecord (= 4.0.2)
|
119
|
+
activesupport (= 4.0.2)
|
120
|
+
bundler (>= 1.3.0, < 2.0)
|
121
|
+
railties (= 4.0.2)
|
122
|
+
sprockets-rails (~> 2.0.0)
|
123
|
+
railties (4.0.2)
|
124
|
+
actionpack (= 4.0.2)
|
125
|
+
activesupport (= 4.0.2)
|
126
|
+
rake (>= 0.8.7)
|
127
|
+
thor (>= 0.18.1, < 2.0)
|
128
|
+
rake (10.1.0)
|
129
|
+
rb-fsevent (0.9.3)
|
130
|
+
rb-inotify (0.9.2)
|
131
|
+
ffi (>= 0.5.0)
|
132
|
+
rdoc (3.12.2)
|
133
|
+
json (~> 1.4)
|
134
|
+
ro_commands (0.0.3)
|
135
|
+
actionpack (>= 4.0.1)
|
136
|
+
activesupport
|
137
|
+
capistrano
|
138
|
+
capybara
|
139
|
+
capybara-webkit
|
140
|
+
coderay
|
141
|
+
guard
|
142
|
+
method_source
|
143
|
+
net-ssh
|
144
|
+
pry
|
145
|
+
rails (~> 4.0.0)
|
146
|
+
term-ansicolor
|
147
|
+
thor
|
148
|
+
zeus
|
149
|
+
rspec (2.14.1)
|
150
|
+
rspec-core (~> 2.14.0)
|
151
|
+
rspec-expectations (~> 2.14.0)
|
152
|
+
rspec-mocks (~> 2.14.0)
|
153
|
+
rspec-core (2.14.7)
|
154
|
+
rspec-expectations (2.14.4)
|
155
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
156
|
+
rspec-mocks (2.14.4)
|
157
|
+
rspec-rails (2.14.0)
|
158
|
+
actionpack (>= 3.0)
|
159
|
+
activesupport (>= 3.0)
|
160
|
+
railties (>= 3.0)
|
161
|
+
rspec-core (~> 2.14.0)
|
162
|
+
rspec-expectations (~> 2.14.0)
|
163
|
+
rspec-mocks (~> 2.14.0)
|
164
|
+
rubymine_heaven (0.0.3)
|
165
|
+
rails (>= 3.0.0)
|
166
|
+
sass (3.2.12)
|
167
|
+
sass-rails (4.0.1)
|
168
|
+
railties (>= 4.0.0, < 5.0)
|
169
|
+
sass (>= 3.1.10)
|
170
|
+
sprockets-rails (~> 2.0.0)
|
171
|
+
sdoc (0.3.20)
|
172
|
+
json (>= 1.1.3)
|
173
|
+
rdoc (~> 3.10)
|
174
|
+
slop (3.4.7)
|
175
|
+
spork (1.0.0rc4)
|
176
|
+
spork-rails (4.0.0)
|
177
|
+
rails (>= 3.0.0, < 5)
|
178
|
+
spork (>= 1.0rc0)
|
179
|
+
sprockets (2.10.1)
|
180
|
+
hike (~> 1.2)
|
181
|
+
multi_json (~> 1.0)
|
182
|
+
rack (~> 1.0)
|
183
|
+
tilt (~> 1.1, != 1.3.0)
|
184
|
+
sprockets-rails (2.0.1)
|
185
|
+
actionpack (>= 3.0)
|
186
|
+
activesupport (>= 3.0)
|
187
|
+
sprockets (~> 2.8)
|
188
|
+
sshkit (1.2.0)
|
189
|
+
net-scp (>= 1.1.2)
|
190
|
+
net-ssh
|
191
|
+
term-ansicolor
|
192
|
+
term-ansicolor (1.2.2)
|
193
|
+
tins (~> 0.8)
|
194
|
+
thor (0.18.1)
|
195
|
+
thread_safe (0.1.3)
|
196
|
+
atomic
|
197
|
+
tilt (1.4.1)
|
198
|
+
timers (1.1.0)
|
199
|
+
tins (0.13.1)
|
200
|
+
treetop (1.4.15)
|
201
|
+
polyglot
|
202
|
+
polyglot (>= 0.3.1)
|
203
|
+
turbolinks (2.0.0)
|
204
|
+
coffee-rails
|
205
|
+
tzinfo (0.3.38)
|
206
|
+
uglifier (2.3.2)
|
207
|
+
execjs (>= 0.3.0)
|
208
|
+
json (>= 1.8.0)
|
209
|
+
xpath (2.0.0)
|
210
|
+
nokogiri (~> 1.3)
|
211
|
+
zeus (0.13.3)
|
212
|
+
method_source (>= 0.6.7)
|
213
|
+
|
214
|
+
PLATFORMS
|
215
|
+
ruby
|
216
|
+
|
217
|
+
DEPENDENCIES
|
218
|
+
bootstrap-sass
|
219
|
+
coffee-rails (~> 4.0.0)
|
220
|
+
guard
|
221
|
+
guard-livereload
|
222
|
+
guard-rspec
|
223
|
+
jbuilder (~> 1.2)
|
224
|
+
jquery-rails
|
225
|
+
mysql2
|
226
|
+
rails (~> 4.0.1)
|
227
|
+
ro_commands
|
228
|
+
rspec
|
229
|
+
rspec-rails
|
230
|
+
rubymine_heaven
|
231
|
+
sass-rails (~> 4.0.0)
|
232
|
+
sdoc
|
233
|
+
spork-rails
|
234
|
+
turbolinks
|
235
|
+
uglifier (>= 1.3.0)
|
236
|
+
zeus
|