kalibro_gatekeeper_client 0.2.2 → 0.3.0

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: 5b91fb0fd39a7b4fc1dbeef890b08dbbccd8adac
4
- data.tar.gz: 45210cb30a9dc5b36092ad20383ec80fd0656434
3
+ metadata.gz: bf59d0b67d67f1a653faf6e01dc7dfc1dbda60db
4
+ data.tar.gz: 36847deaff0c1d0ae47a6f5f0e02d786f6ae831c
5
5
  SHA512:
6
- metadata.gz: a339c5e4cc4f74a4f8801fe91ac91c440058b5fbb54cb8ac8681d1e4670957e8ce4cecfe77c13c7b96dd74cc3b31d89362c179ca7bf8e26f9911bd184b1bd0cc
7
- data.tar.gz: ae7a28bb6b64e8f0ed5fec0389f075e02ba9d5b1456b685609b87299f1e1aceb2eca4b721a04fc81ab4ff34ad919dd5afeaee69fa283a61dce3d6b940ff6ac86
6
+ metadata.gz: b5c6b69e0403e47c22d5ae402f6cce5a8236333337025f52f08994113acee27ea970490fff894efcd7f678b53f077d27c95d0a2caf88d2c67845058b16a6adfa
7
+ data.tar.gz: b33210718c6a334c2276769182bd251c51cfa8d0fc5712e68db7b0fcc5064cca065ce1ce07a5fa2d948abd0a534474b233cdd2e64aaa1f933a5ed20ae3f6afe1
@@ -46,6 +46,8 @@ end
46
46
  Then(/^I should get an array of types$/) do
47
47
  expect(@repository_types).to be_a(Array)
48
48
  expect(@repository_types.count >= 1).to be_truthy
49
+ expect(@repository_types).to include("GIT")
50
+ expect(@repository_types).to include("SVN")
49
51
  end
50
52
 
51
53
  Then(/^I should get the given repository$/) do
@@ -5,7 +5,7 @@
5
5
  # it under the terms of the GNU General Public License as published by
6
6
  # the Free Software Foundation, either version 3 of the License, or
7
7
  # (at your option) any later version.
8
- #
8
+ #
9
9
  # This program is distributed in the hope that it will be useful,
10
10
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
11
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -40,7 +40,7 @@ module KalibroGatekeeperClient
40
40
  raise KalibroGatekeeperClient::Errors::RecordNotFound
41
41
  end
42
42
  end
43
-
43
+
44
44
  def self.all_names
45
45
  # FIXME: for some reason, the JSON is not getting automatically parsed
46
46
  JSON.parse(request(:all_names, {}, :get))['base_tool_names'].to_a
@@ -1,7 +1,7 @@
1
1
  module KalibroGatekeeperClient
2
2
  module Entities
3
3
  class Metric < Model
4
- attr_accessor :name, :compound, :scope, :description, :script, :language
4
+ attr_accessor :name, :code, :compound, :scope, :description, :script, :language
5
5
 
6
6
  def languages
7
7
  @language
@@ -15,5 +15,5 @@
15
15
  # along with this program. If not, see <http://www.gnu.org/licenses/>.
16
16
 
17
17
  module KalibroGatekeeperClient
18
- VERSION = "0.2.2"
18
+ VERSION = "0.3.0"
19
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kalibro_gatekeeper_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Diego Araújo Martinez
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-08-06 00:00:00.000000000 Z
14
+ date: 2014-08-21 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler