Module: Milkshake::RubygemsExtentions::Specification
- Defined in:
- lib/milkshake/rubygems_extentions/specification.rb
Instance Method Summary collapse
- #rails_dependencies ⇒ Object
- #store_persistent_load_information! ⇒ Object
- #use_persistent_load_information! ⇒ Object
Instance Method Details
#rails_dependencies ⇒ Object
6 7 8 9 10 11 |
# File 'lib/milkshake/rubygems_extentions/specification.rb', line 6 def rails_dependencies path = File.join(self.full_gem_path, 'config', 'milkshake.yml') return YAML.load_file(path)['gems'] rescue return(@engine_dependencies || {}) end |
#store_persistent_load_information! ⇒ Object
13 14 15 16 |
# File 'lib/milkshake/rubygems_extentions/specification.rb', line 13 def store_persistent_load_information! @persistent_loaded = @loaded @persistent_loaded_from = @loaded_from end |
#use_persistent_load_information! ⇒ Object
18 19 20 21 |
# File 'lib/milkshake/rubygems_extentions/specification.rb', line 18 def use_persistent_load_information! @loaded = @persistent_loaded @loaded_from = @persistent_loaded_from end |