run_tests 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: f7beeac5ca0a17d9fa2985bc136a635747cb95358b03b0e21f4a7c602d45e8c8
4
- data.tar.gz: ad22cdf38fcfc31c5f4239fbc52bf23407614e3de08328918b36a55da9d378e4
3
+ metadata.gz: '08ac96066f84f3b55410c98425f4bc9faa7add37e200c7046c02cc73cd2d68d9'
4
+ data.tar.gz: 6e5bc92ed514d3dfb3abdb0c8ecfb1e2e7c10e43652653bceadf9a0a1951d586
5
5
  SHA512:
6
- metadata.gz: 5b47d2780bcd6fd27d7e72b013b61ad83b3909c0f8f0c933bdde55ad5cd4979505d1160745388e50600daaf0fe6fc0d850f266d48ea823ca378b2e719be0d559
7
- data.tar.gz: 81cf83a272dcaa2ec9f124eeeb6799fea88baf08c2901de86e1222afa43f76e912b2f0b8d77993ff83972eb141b63f4622d233d2ae843591d2d333697ccc902e
6
+ metadata.gz: ca8093137f84212e77f6f3f19b3982bedba83a2b9c5b22d478ad6250cb4fdc17fdd7dc47cb73ac07781c21aacef1c0c6bbf308086dd341f12e6d1cafdce79444
7
+ data.tar.gz: d490d93a245d90368513d8e3cb5f4ccad95bdc621347cf7f33418660b9c63ac12efbc734ef710759ba2d4ae536254f6aeb2841fa077cf5d9b6cc17c0b71bbd01
data/README.md CHANGED
@@ -8,21 +8,17 @@ Add this line to your application's Gemfile:
8
8
  ```ruby
9
9
  gem 'run_tests'
10
10
  ```
11
+ Or :
11
12
 
12
- And then execute:
13
13
  ```ruby
14
- bundle
14
+ gem 'run_tests', git: 'https://github.com/marina8915/run_tests.git'
15
15
  ```
16
16
 
17
17
  Or install it yourself as:
18
- ```ruby
19
- gem install run_tests
20
- ```
21
- Or add this line to your application's Gemfile:
22
18
 
23
- ```ruby
24
- gem 'run_tests', git: 'https://github.com/marina8915/run_tests.git'
25
- ```
19
+ $ gem install run_tests
20
+
21
+
26
22
 
27
23
  And then execute:
28
24
 
@@ -31,7 +27,7 @@ And then execute:
31
27
  ## Usage
32
28
 
33
29
  ```ruby
34
- require 'run_tests'
30
+ require 'test'
35
31
  ```
36
32
  Check test:
37
33
  ```ruby
data/lib/test/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Test
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
data/lib/test.rb CHANGED
@@ -12,7 +12,7 @@ module Test
12
12
  # method without parameters
13
13
 
14
14
  def self.run_tests(test_class:, tests:)
15
- tests_array = test_class.instance_methods(false)
15
+ tests_array = test_class.methods(false)
16
16
  tests_array.each do |test_method|
17
17
  puts tests.send(test_method)
18
18
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: run_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - marina8915
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-04 00:00:00.000000000 Z
11
+ date: 2018-11-06 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
  - bin/setup
71
71
  - lib/test.rb
72
72
  - lib/test/version.rb
73
+ - run_tests-0.1.1.gem
73
74
  - test.gemspec
74
75
  homepage: https://github.com/marina8915/run_tests
75
76
  licenses: