megam_api 1.8.15 → 1.8.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d22492f16361f7407e8a8f6cd0cfd682d8d68e45
4
- data.tar.gz: 52d92c8b06fe1bd3bac26abe49d04365311cd248
3
+ metadata.gz: ad93f5223b09881ca75af18ecf0fdd94db307e57
4
+ data.tar.gz: 2603ac05a467a0025b116f0ee76c8b93bbff8402
5
5
  SHA512:
6
- metadata.gz: a2b466a0784f8a29d3a91e90b8804bca2db6827964b1e11a079b4bd090b839e562d93a261f54f38b183c86f3887a90dca331d79551d859d08f0c9c4dda9cbde9
7
- data.tar.gz: d351d3f900c329064417c1be1e0bfd0436da431486c1331d10876e8a105e61ce076c5f1b4c57bdcf09045dca0996a758e1a46a1864312f65a9e5e3aa308ce36a
6
+ metadata.gz: 351d75d64027503a98cdc9a75454a1b54b69db899c54b9d9898a5fb838daf8f36be153fa9b6992bf134535ca215cdcec52496eaaf426a845242f6a2357b615aa
7
+ data.tar.gz: 37c712f610cf32d8943f639208ee38e9f827d62f50fb7a09b0176db65b38c954af33d8747fe1e7a38130f1d90b3e80c48990c15da5682836498562f07d4f669c
@@ -1,5 +1,5 @@
1
1
  module Megam
2
2
  class API
3
- VERSION = "1.8.15"
3
+ VERSION = "1.8.16"
4
4
  end
5
5
  end
@@ -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.15
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-15 00:00:00.000000000 Z
12
+ date: 2016-11-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: excon