megam_api 1.8.14 → 1.8.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/megam/api/version.rb +1 -1
- data/lib/megam/mixins/components.rb +6 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d22492f16361f7407e8a8f6cd0cfd682d8d68e45
|
4
|
+
data.tar.gz: 52d92c8b06fe1bd3bac26abe49d04365311cd248
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2b466a0784f8a29d3a91e90b8804bca2db6827964b1e11a079b4bd090b839e562d93a261f54f38b183c86f3887a90dca331d79551d859d08f0c9c4dda9cbde9
|
7
|
+
data.tar.gz: d351d3f900c329064417c1be1e0bfd0436da431486c1331d10876e8a105e61ce076c5f1b4c57bdcf09045dca0996a758e1a46a1864312f65a9e5e3aa308ce36a
|
data/lib/megam/api/version.rb
CHANGED
@@ -64,12 +64,13 @@ module Megam
|
|
64
64
|
|
65
65
|
class Repo
|
66
66
|
include Nilavu::MegamAttributes
|
67
|
-
attr_reader :type, :source, :url, :oneclick
|
67
|
+
attr_reader :type, :source, :url, :oneclick, :branch
|
68
68
|
ATTRIBUTES = [
|
69
69
|
:type,
|
70
70
|
:source,
|
71
71
|
:oneclick,
|
72
|
-
|
72
|
+
:url,
|
73
|
+
:branch]
|
73
74
|
|
74
75
|
def attributes
|
75
76
|
ATTRIBUTES
|
@@ -81,13 +82,15 @@ module Megam
|
|
81
82
|
@source = params[:scm_name] || ""
|
82
83
|
@url = params[:source] || ""
|
83
84
|
@oneclick = params[:oneclick] || ""
|
85
|
+
@branch = params[:scmbranch] || ""
|
84
86
|
end
|
85
87
|
|
86
88
|
def tohash
|
87
89
|
{ rtype: @type,
|
88
90
|
source: @source,
|
89
91
|
oneclick: @oneclick,
|
90
|
-
url: @url
|
92
|
+
url: @url,
|
93
|
+
branch: @branch
|
91
94
|
}
|
92
95
|
end
|
93
96
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: megam_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rajthilak, Kishorekumar Neelamegam, Ranjitha R, Vinodhini V, Rathish VBR, Rajesh
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-11-
|
12
|
+
date: 2016-11-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: excon
|