Class: TYCiCore::Lib
- Inherits:
-
Object
- Object
- TYCiCore::Lib
- Defined in:
- lib/tuya/ci/core/lib/lib.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#branch ⇒ Object
Returns the value of attribute branch.
-
#project ⇒ Object
Returns the value of attribute project.
-
#repo ⇒ Object
Returns the value of attribute repo.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
- #create(type, target_path, tag, new_branch, temp) ⇒ Object
- #podspec_project ⇒ Object
- #source(type) ⇒ Object
Instance Attribute Details
#branch ⇒ Object
Returns the value of attribute branch.
11 12 13 |
# File 'lib/tuya/ci/core/lib/lib.rb', line 11 def branch @branch end |
#project ⇒ Object
Returns the value of attribute project.
12 13 14 |
# File 'lib/tuya/ci/core/lib/lib.rb', line 12 def project @project end |
#repo ⇒ Object
Returns the value of attribute repo.
10 11 12 |
# File 'lib/tuya/ci/core/lib/lib.rb', line 10 def repo @repo end |
#version ⇒ Object
Returns the value of attribute version.
13 14 15 |
# File 'lib/tuya/ci/core/lib/lib.rb', line 13 def version @version end |
Instance Method Details
#create(type, target_path, tag, new_branch, temp) ⇒ Object
19 20 21 |
# File 'lib/tuya/ci/core/lib/lib.rb', line 19 def create(type, target_path, tag, new_branch, temp) end |
#podspec_project ⇒ Object
15 16 17 |
# File 'lib/tuya/ci/core/lib/lib.rb', line 15 def podspec_project "#{@project}.podspec" end |
#source(type) ⇒ Object
23 24 25 26 27 |
# File 'lib/tuya/ci/core/lib/lib.rb', line 23 def source(type) puts "Job: #{@project} version: #{@version} on :#{@branch} repo: #{@repo}".green build_source end |