Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 2 contributors
Commits on May 25, 2012
@antono antono Improved ruby and rails projects
  - removed relevant files from rails project, only
    irrelevant should be ignored
  - add .ruby-version and .rvenv-version and *.gemspec as
    ruby project markers
78e4820
Commits on Jun 13, 2012
@jrockway Merge pull request #22 from antono/ruby-and-rails-improvements
Improved ruby and rails projects
f8502f1
Showing with 6 additions and 21 deletions.
  1. +1 −20 lang/eproject-ruby-on-rails.el
  2. +5 −1 lang/eproject-ruby.el
View
21 lang/eproject-ruby-on-rails.el
@@ -3,26 +3,7 @@
;; Ruby on Rails project
(define-project-type ruby-on-rails (generic)
(and (look-for "Gemfile") (look-for "config/application.rb"))
- :relevant-files ("\.rb$"
- "\.coffee$"
- "\.js$"
- "\.sass$"
- "\.scss$"
- "\.css$"
- "\.less$"
- "\.haml$"
- "\.slim$"
- "\.erb$"
- "\.ru$"
- "\.yml$"
- "\.yaml$"
- "\.feature$"
- "Gemfile$"
- "Capfile$"
- "\.ru$"
- "README\..*$")
- :irrelevant-files ("tmp/.*"
- "log/.*")
+ :irrelevant-files ("app/assets/images/.*" "tmp/.*" "log/.*" "public/.*" "vendor/.*" ".*\\.sqlite?")
:main-file "Gemfile")
(provide 'eproject-ruby-on-rails)
View
6 lang/eproject-ruby.el
@@ -3,6 +3,10 @@
(define-project-type ruby (generic)
(or (look-for "Rakefile")
(look-for "Gemfile")
- (look-for ".rmvrc")))
+ (look-for "\.rmvrc")
+ (look-for "\.ruby-version")
+ (look-for "\.rbenv-version")
+ (look-for ".*\\.gemspec"))
+ :irrelevant-files (".*~"))
(provide 'eproject-ruby)

No commit comments for this range

Something went wrong with that request. Please try again.