megam_api 1.8.15 → 1.8.16
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/core/components.rb +10 -0
- 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: ad93f5223b09881ca75af18ecf0fdd94db307e57
|
4
|
+
data.tar.gz: 2603ac05a467a0025b116f0ee76c8b93bbff8402
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 351d75d64027503a98cdc9a75454a1b54b69db899c54b9d9898a5fb838daf8f36be153fa9b6992bf134535ca215cdcec52496eaaf426a845242f6a2357b615aa
|
7
|
+
data.tar.gz: 37c712f610cf32d8943f639208ee38e9f827d62f50fb7a09b0176db65b38c954af33d8747fe1e7a38130f1d90b3e80c48990c15da5682836498562f07d4f669c
|
data/lib/megam/api/version.rb
CHANGED
@@ -19,6 +19,7 @@ module Megam
|
|
19
19
|
@rtype = nil
|
20
20
|
@source = nil
|
21
21
|
@oneclick = nil
|
22
|
+
@branch = nil
|
22
23
|
@url = nil
|
23
24
|
@created_at = nil
|
24
25
|
|
@@ -173,6 +174,14 @@ module Megam
|
|
173
174
|
end
|
174
175
|
end
|
175
176
|
|
177
|
+
def branch(arg = nil)
|
178
|
+
if !arg.nil?
|
179
|
+
@branch = arg
|
180
|
+
else
|
181
|
+
@branch
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
176
185
|
def url(arg = nil)
|
177
186
|
if !arg.nil?
|
178
187
|
@url = arg
|
@@ -260,6 +269,7 @@ module Megam
|
|
260
269
|
asm.repo[:rtype] = ro['rtype'] if ro && ro.key?('rtype')
|
261
270
|
asm.repo[:source] = ro['source'] if ro && ro.key?('source')
|
262
271
|
asm.repo[:oneclick] = ro['oneclick'] if ro && ro.key?('oneclick')
|
272
|
+
asm.repo[:branch] = ro['branch'] if ro && ro.key?('branch')
|
263
273
|
asm.repo[:url] = ro['url'] if ro && ro.key?('url')
|
264
274
|
asm.created_at(o['created_at']) if o.key?('created_at')
|
265
275
|
asm
|
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.16
|
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-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: excon
|