minitest-naga 0.1.0 → 0.1.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: 1b3e4a565baedd3f2f9ee2bfb7859a53a2c88c42
4
- data.tar.gz: 3a9154301910f14ae88700bcba6980cc38c5a8ca
3
+ metadata.gz: f8fdc37db65f493144f8d740e495179b620c8a83
4
+ data.tar.gz: 2bd8b2aa42218780fd40a72435b425691f594ac5
5
5
  SHA512:
6
- metadata.gz: 1506d4b851601475b496dcdbe65ba6817f7190f94f2d6af2c6e267476c5179afc42626c523fed1f132ed253e2a9d832f310a13576c82edac428f69e935afa721
7
- data.tar.gz: 6485f9ed4d283b0143e1420e1addb65f1cb6ff81ff179497096cf9c95418b4cdef2ebe03dff302f8fd333e6fcb9c4756fd7840adbcc0990ad5a5965d1319ccb0
6
+ metadata.gz: ebc7a303f750a3140854dbeb5a41411ca96f92fbf3264b7bfe379dc46fdd98a55ccb818898185a9272290e3ec9f905de86cce9c6ff45302c1c535a051883fa6f
7
+ data.tar.gz: 1bfd2b7c9cd11b260f13dd639cb0fd27ce56739b7737595f372c46f181853eadca3613fe12c663b9c2e4a6957ade1ecb437a598e7422c952112516f9c46eb411
data/CHANGELOG.md CHANGED
@@ -4,7 +4,15 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
- ## [Unreleased]
7
+ ## [0.1.1]
8
+
9
+ ## [0.1.1] - 15-04-2018
10
+ ### Changed
11
+ - Updated gemspec
12
+ - Updated README
13
+
14
+ ### Removed
15
+ - Removed choice to go home as redundant
8
16
 
9
17
  ## [0.1.0] - 10-04-2018
10
18
  ### Added
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- minitest-naga (0.1.0)
4
+ minitest-naga (0.1.2)
5
5
  colorize
6
6
  highline
7
7
  httparty
data/README.md CHANGED
@@ -23,7 +23,7 @@ Or install it yourself as:
23
23
 
24
24
  ## Usage
25
25
 
26
- Firstly, you must [sign up](https://naga-unit-testing.herokuapp.com/users/sign_up "Naga's Sign Up Page") in order to use the gem. So go ahead and do that. I'll wait here...
26
+ Firstly, you must [sign up](https://naga-unit-testing.herokuapp.com/users/sign_up "Naga's Sign Up Page") in order to use the gem. So if you haven't already, go ahead and do that. I'll wait here...
27
27
 
28
28
  Back? Cool.
29
29
 
@@ -101,6 +101,10 @@ If you want to sign out, simply run:
101
101
 
102
102
  $ minitest-naga signout
103
103
 
104
+ ## Wiki
105
+
106
+ Check out the [Wiki](http://github.com/wtwang1/minitest-naga/wiki "minitest-naga Wiki") for more information about the whole Naga system.
107
+
104
108
  ## Development
105
109
 
106
110
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -33,17 +33,13 @@ class Game
33
33
  current_location = location
34
34
  end
35
35
  end
36
- menu.choice("Home") do |_command, details|
37
- say("You go straight home.")
38
- exit
39
- end
40
36
  end
41
37
  end
42
38
  # Output places in chosen location
43
39
  choose do |menu|
44
40
  menu.prompt = "> "
45
41
  current_location.places.each do |place|
46
- menu.choice(place.name, place.description)
42
+ menu.choice(place.name, place.description) { say("You travelled to #{place.name}.")}
47
43
  end
48
44
  end
49
45
  # Call for item drop
@@ -1,6 +1,6 @@
1
1
  class NagaApi
2
- @@BASE_URL = "http://localhost:3000/api/v1/"
3
- # @@BASE_URL = "https://naga-unit-testing.herokuapp.com/api/v1/"
2
+ # @@BASE_URL = "http://localhost:3000/api/v1/"
3
+ @@BASE_URL = "https://naga-unit-testing.herokuapp.com/api/v1/"
4
4
  @@FILE_PATH = File.join(Dir.home, ".minitest_naga")
5
5
 
6
6
  attr_reader :credentials
@@ -1,5 +1,5 @@
1
1
  module Minitest
2
2
  module Naga
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-naga
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wen Ting Wang
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-15 00:00:00.000000000 Z
11
+ date: 2018-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler