Module: AppVersionTasks

Defined in:
lib/app_version_tasks.rb,
lib/app_version_tasks/version.rb,
lib/app_version_tasks/configuration.rb,
lib/app_version_tasks/semantic_version.rb,
lib/app_version_tasks/semantic_version_file.rb

Overview

Manage and release application semantic versions

Defined Under Namespace

Classes: Configuration, SemanticVersion, SemanticVersionFile

Constant Summary collapse

VERSION =
'0.2.5'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject (readonly)

Returns the value of attribute configuration.



9
10
11
# File 'lib/app_version_tasks.rb', line 9

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



20
21
22
# File 'lib/app_version_tasks.rb', line 20

def self.configure
  yield(configuration)
end

.resetObject



16
17
18
# File 'lib/app_version_tasks.rb', line 16

def self.reset
  @configuration = Configuration.new
end