cm_quiz 0.0.1 → 0.0.2

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: b05cd24b052e990f291c22473aef0e934b97036c
4
- data.tar.gz: 5b36e76983e7e4c0b6e8fce097d2c4a9ceee5da2
3
+ metadata.gz: 585a0921ebed80326688cb91ff8013ff6ddc4ed9
4
+ data.tar.gz: cd95c080f6df5609da4e8143bf0078a07d6a9ea9
5
5
  SHA512:
6
- metadata.gz: b17e359ef50450552ea190d5715092a42680caae1c5e4d0f736c0eb8569319d1255ca9ab62be8c007787f82ec8e8f45fe3c10cdc9721dd3f8070d235dbe0941b
7
- data.tar.gz: a22c7ecb03e6fa494aec8aad9bd56683c00339c7aea06a284a60171c2b1aa79f52fce9f5f230bcc75eaf15f1ba51e8f907c88eb6c6fe85e91ef5353ce6a4052e
6
+ metadata.gz: b830953bf369a52a64ea2589ffe8f82e8a27ae969e099879377ddc7053154dc9d4b58ffe42a7da4889951e17191b22aac6c80a447e7a9d2e2551eb59963a8bcb
7
+ data.tar.gz: fd20b47a3ba61678153cd8a0c44f935cc70d1565a42716d346aa5f80f3a1695824b6aa319f509aba09492523fb57657ed1b0bb44d361c80195f3f674738ed26c
data/.gitignore ADDED
@@ -0,0 +1,2 @@
1
+ *.gem
2
+ tmp
data/README.md CHANGED
@@ -1 +1,15 @@
1
- # cm-quiz
1
+ # cm-quiz
2
+
3
+ ## How to install
4
+
5
+ ```sh
6
+ $ ruby -v
7
+ # Make sure your ruby version is at least 2.3.0
8
+
9
+ $ gem install cm_quiz
10
+ ```
11
+
12
+ ## How to use
13
+ ```sh
14
+ $ cm-quiz test --endpoint=your-test-endpoint.com
15
+ ```
data/cm_quiz.gemspec CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.version = CmQuiz::VERSION
8
8
  s.date = '2017-09-12'
9
9
  s.summary = "Review your codementor quiz"
10
- s.description = "Review your codementor quiz1"
10
+ s.description = "Review your codementor quiz"
11
11
  s.authors = ["ben"]
12
12
  s.email = 'ben@codementor.ios'
13
13
  s.executables = ["cm-quiz"]
data/lib/cm_quiz/cli.rb CHANGED
@@ -15,7 +15,7 @@ module CmQuiz
15
15
  def test
16
16
  endpoint = options[:endpoint]
17
17
  puts "Start test #{endpoint}"
18
- message = CmQuiz::ReviewQuiz.new('http://localhost:6000').perform
18
+ message = CmQuiz::ReviewQuiz.new(endpoint).perform
19
19
  puts message
20
20
  end
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module CmQuiz
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
data/script/build ADDED
@@ -0,0 +1,3 @@
1
+ #!/bin/sh
2
+
3
+ gem build cm_quiz.gemspec
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cm_quiz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ben
@@ -66,13 +66,14 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '3.0'
69
- description: Review your codementor quiz1
69
+ description: Review your codementor quiz
70
70
  email: ben@codementor.ios
71
71
  executables:
72
72
  - cm-quiz
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
+ - ".gitignore"
76
77
  - ".rspec"
77
78
  - Gemfile
78
79
  - Gemfile.lock
@@ -95,6 +96,7 @@ files:
95
96
  - lib/cm_quiz/review_helper.rb
96
97
  - lib/cm_quiz/review_quiz.rb
97
98
  - lib/cm_quiz/version.rb
99
+ - script/build
98
100
  - spec/lib/cm_quiz/factory/idea_spec.rb
99
101
  - spec/lib/cm_quiz/factory/user_spec.rb
100
102
  - spec/lib/cm_quiz/project_api_spec.rb