Sha256: c1956340ea07337ccd56a431d800ff29b2a6eb73bfd364b2fa77a07b38d156eb
Contents?: true
Size: 747 Bytes
Versions: 1
Compression:
Stored size: 747 Bytes
Contents
class Cukigem class << self attr_accessor :project_root, :temp_root, :application_name, :paths_to_clear def app_root File.join(temp_root, application_name) end end self.project_root = File.expand_path(File.join(File.dirname(__FILE__), '..','..', '..')).freeze #Now, below I'm referencing to a symbolic link, outside of the rails application. self.temp_root = File.join(project_root, "/non_rails_tmp").freeze self.application_name = "rails_app".freeze self.paths_to_clear = %w[ "db/*.sqlite3", "db/migrate/*.rb", "app/views/**", "app/controllers/**", "app/helpers/**", "app/models/**", "vendor/plugins/**", "public/images/**", "public/stylesheets/**" ] end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
musicbrainz_ruby-0.1.3 | features/support/cukigem.rb |