testrail-rails 1.0.1 → 1.0.3

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: ad874d7e4261be2b22514691d5f0f2982708906a
4
- data.tar.gz: be06dab2093f0f469f31d7d1d1484bedcc464281
3
+ metadata.gz: 427fa9841668924b93f633fe44b7e52607499a38
4
+ data.tar.gz: 784b8f781fe5e3e8ad3a6d649b06c2fe8de6915d
5
5
  SHA512:
6
- metadata.gz: b3284eff656a67233838aff7bd31a5249e50e43a405a0e43cbdc362a436a54f92ceb19c9f518f8c2312b7895acbce22b815f9bc72ccd693c06ef5f0fc12b3443
7
- data.tar.gz: aad28b1309234d8fadee7f393e44003f51d6f47acc1ae24e055812d3016b2597ff24042562d7fcf94f61c5d0c5c9384be77bc4ccac4d051944555863b1d8ace2
6
+ metadata.gz: 6c9ad59aeb1dc15055d6afe5ed1acafa11434ed25b342c92b45773e7fc53d8ae5ad48a9abe0e161458e330d5bd11b105027b3b125a65f19639bf33362d00a290
7
+ data.tar.gz: d33595688b98b805085cff43235bcefba617b9cb928e8c7f65d221a41656b15e3b55ff343dd5f35f99569c57481d2f374b9ddc8b9a36c0bcb3b4c426ae82a16b
@@ -0,0 +1,13 @@
1
+ require 'testrail/rails/version'
2
+ require 'testrail/api_client'
3
+ require 'testrail/client'
4
+ require 'testrail/project'
5
+ require 'testrail/release'
6
+ require 'testrail/section'
7
+ require 'testrail/suite'
8
+ require 'testrail/test_case'
9
+ require 'testrail/test_result'
10
+ require 'testrail/test_run'
11
+
12
+ module TestRail
13
+ end
@@ -1,19 +1,13 @@
1
- require 'test_rail/testrail'
1
+ require 'testrail/api_client'
2
2
 
3
3
  module TestRail
4
4
  class Client
5
5
  attr_accessor :connection
6
6
 
7
- def initialize(user,password)
7
+ def initialize(user,password,url)
8
8
  @connection = TestRail::APIClient.new(url)
9
9
  @connection.user = user
10
10
  @connection.password = password
11
11
  end
12
-
13
- private
14
-
15
- def url
16
- APP_CONFIG[:testrail_url]
17
- end
18
12
  end
19
- end
13
+ end
@@ -1,5 +1,5 @@
1
1
  module Testrail
2
2
  module Rails
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testrail-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Lockhart
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-09-11 00:00:00.000000000 Z
11
+ date: 2015-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -70,6 +70,7 @@ files:
70
70
  - Rakefile
71
71
  - bin/console
72
72
  - bin/setup
73
+ - lib/testrail.rb
73
74
  - lib/testrail/api_client.rb
74
75
  - lib/testrail/client.rb
75
76
  - lib/testrail/project.rb
@@ -80,7 +81,6 @@ files:
80
81
  - lib/testrail/test_case.rb
81
82
  - lib/testrail/test_result.rb
82
83
  - lib/testrail/test_run.rb
83
- - lib/testrail/testrail.rb
84
84
  - testrail-rails.gemspec
85
85
  homepage: https://github.com/joshlock3/testrail-rails
86
86
  licenses:
@@ -1,6 +0,0 @@
1
- lib_path = Pathname.new(__dir__).realpath.to_s
2
-
3
- Dir.glob(lib_path + '/**/*.rb').
4
- map { |path| path.gsub("#{lib_path}/", '').gsub('.rb', '') }.
5
- reject { |path| path == 'testrail' }.
6
- each { |path| require path }