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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2348aa7e02ff2fd6aa831a40034044ff98696f7d
4
- data.tar.gz: c249032d7b8a8d71a15ea55b491a55738a391bd2
3
+ metadata.gz: d22492f16361f7407e8a8f6cd0cfd682d8d68e45
4
+ data.tar.gz: 52d92c8b06fe1bd3bac26abe49d04365311cd248
5
5
  SHA512:
6
- metadata.gz: e045627fbf25b44b5892a5806df196621fbbf1c298ae0125a6b9c820eea3591e8482686d8a3ce3aa3d5f547965c7bb3780c8ba22c50ffb436df009fb74463728
7
- data.tar.gz: 7956989644446bdc12b62efc6914e6e7ee72c0778de9d2e52e063dbf2da1d74fe6060401b86160bc7977a59f1759d9a3916c62b280c32530e76f3940886d2a5b
6
+ metadata.gz: a2b466a0784f8a29d3a91e90b8804bca2db6827964b1e11a079b4bd090b839e562d93a261f54f38b183c86f3887a90dca331d79551d859d08f0c9c4dda9cbde9
7
+ data.tar.gz: d351d3f900c329064417c1be1e0bfd0436da431486c1331d10876e8a105e61ce076c5f1b4c57bdcf09045dca0996a758e1a46a1864312f65a9e5e3aa308ce36a
@@ -1,5 +1,5 @@
1
1
  module Megam
2
2
  class API
3
- VERSION = "1.8.14"
3
+ VERSION = "1.8.15"
4
4
  end
5
5
  end
@@ -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
- :url]
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.14
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-07 00:00:00.000000000 Z
12
+ date: 2016-11-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: excon