sawaal 0.0.2 → 0.0.3

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
  SHA1:
3
- metadata.gz: e2bb42d7444ac80674d974592fb013da13969349
4
- data.tar.gz: f2befb7ce93bc69882cb6d30353c76031c8ca76e
3
+ metadata.gz: 0bc314370fc85cffecc450c3e924af5e60da5115
4
+ data.tar.gz: 9913428b8f65b7e04269eb0652c73a8cd2eea89b
5
5
  SHA512:
6
- metadata.gz: 4ad28ca434de778363c410deb74362753c8c4f0970593115a317aed79b70e77792b1c3373b3c548b29bbfe276212814001519e9abf03181536933be1341478fd
7
- data.tar.gz: f4d25d53df64ef258e9c448fc1d484556f4b5a7e5793c70b5765713dc57224a5cbc587f57a0e7704c29cc099776c548de9e8e7c41bab43116762581b02fe79ef
6
+ metadata.gz: c142249de7013d8d3ac88d3522c2cdeb864fa18366621f66fb24deece581240d83c632c8969e8a6b3155d1ca128c19dae70c1161a6d116ef0d86578784db0d4e
7
+ data.tar.gz: 0a3b5e9c59a2433acad50ae469bea399200b8a468d8853697c87f15ce67b3936a5cbd9966f9a4b8bfc8868bfbfcc76c0d504ecea11510dc60aa1395693c9849f
@@ -1,3 +1,18 @@
1
+ List of changes so far that have been released to ruby gems.
2
+
3
+ <!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc/generate-toc again -->
4
+ **Table of Contents**
5
+
6
+ - [0.0.3 / 2015-07-27](#003--2015-07-27)
7
+ - [0.0.2 / 2015-07-27](#002--2015-07-27)
8
+ - [0.0.1 / 2015-07-27](#001--2015-07-27)
9
+
10
+ <!-- markdown-toc end -->
11
+
12
+ 0.0.3 / 2015-07-27
13
+ ==================
14
+
15
+ Enable rspec and add version test
1
16
 
2
17
  0.0.2 / 2015-07-27
3
18
  ==================
@@ -1,5 +1,8 @@
1
- require "sawaal/version"
1
+ # encoding: utf-8
2
+ require 'sawaal/version'
2
3
 
4
+ # Helps a command line application by allowing it to ask
5
+ # multiple choice questions
3
6
  module Sawaal
4
7
  # Your code goes here...
5
8
  end
@@ -1,3 +1,6 @@
1
+ # encoding: utf-8
2
+
3
+ # Track version of the module
1
4
  module Sawaal
2
- VERSION = '0.0.2'
5
+ VERSION = '0.0.3'
3
6
  end
@@ -0,0 +1,39 @@
1
+ # encoding: utf-8
2
+
3
+ if ENV['CI']
4
+ # enable code climate
5
+ require 'codeclimate-test-reporter'
6
+ CodeClimate::TestReporter.configure do |config|
7
+ config.logger.level = Logger::WARN
8
+ end
9
+ CodeClimate::TestReporter.start
10
+
11
+ # enable coveralls
12
+ require 'coveralls'
13
+ Coveralls.wear!
14
+ end
15
+
16
+ # enable simplecov for code coverage
17
+ if ENV['COVERAGE']
18
+ require 'simplecov'
19
+ SimpleCov.start do
20
+ add_filter '/spec/'
21
+ SimpleCov.minimum_coverage 100
22
+ end
23
+ end
24
+
25
+ require 'bundler/setup'
26
+ Bundler.setup
27
+
28
+ require 'sawaal'
29
+
30
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
31
+ RSpec.configure do |config|
32
+ config.expect_with :rspec do |expectations|
33
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
34
+ end
35
+
36
+ config.mock_with :rspec do |mocks|
37
+ mocks.verify_partial_doubles = true
38
+ end
39
+ end
@@ -0,0 +1,7 @@
1
+ # encoding: utf-8
2
+
3
+ describe Sawaal do
4
+ it 'has a valid version tag' do
5
+ expect(Sawaal::VERSION).to(eq('0.0.3'))
6
+ end
7
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sawaal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anshul Verma
@@ -34,12 +34,13 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - CHANGELOG.md
37
- - CHANGELOG.md~
38
37
  - LICENSE.txt
39
38
  - README.md
40
39
  - Rakefile
41
40
  - lib/sawaal.rb
42
41
  - lib/sawaal/version.rb
42
+ - spec/spec_helper.rb
43
+ - spec/version_spec.rb
43
44
  - tasks/rdoc.rake
44
45
  - tasks/rubucop.rake
45
46
  - tasks/yard.rake
@@ -67,5 +68,7 @@ rubygems_version: 2.2.2
67
68
  signing_key:
68
69
  specification_version: 4
69
70
  summary: Helper gem for asking questions on terminal
70
- test_files: []
71
+ test_files:
72
+ - spec/spec_helper.rb
73
+ - spec/version_spec.rb
71
74
  has_rdoc:
@@ -1,5 +0,0 @@
1
-
2
- 0.0.1 / 2015-07-27
3
- ==================
4
-
5
- Starting off with a clean framework based off of `[https://github.com/anshulverma/cliqr](cliqr)` gem.