wimdu 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/.semver +1 -1
  3. data/README.md +18 -78
  4. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3330da716906aba663f7d72fccb13e0ee30bfc4e
4
- data.tar.gz: 8b65f93ee387f294130068d2bb54b4165eb2ad73
3
+ metadata.gz: 96edafedeeeb95f7e9db61ad57a0bdb79d7de0bf
4
+ data.tar.gz: 664e0ff642fd89107376ce1d2c3c2e7159b8e133
5
5
  SHA512:
6
- metadata.gz: bef19998d414f1a03e37cf51e6a90a9036155ce5ad9b38043f6090b2334cd2ab6a9e1522062dcea5f543ee0a4f40df68630cc0088f5b11d523fb3c562243a1fc
7
- data.tar.gz: 3452c270358801bb9c2ae44cd4ce7f05d3f0deda3d148fce202bf4271f2c6dd5250f4033c23f81b987b76692ace3181c162f67afa571c5c999c037e608d5637c
6
+ metadata.gz: 19da510847f52d6cc2ae8f586dc57284952c358a84eb857b0a70cd3779feea9fb94f53dcb320a6c5249b8a5f1768c4079f125017e87b669bd8d0526b74184adb
7
+ data.tar.gz: 9aaaed8ebebcfec89bd22979b106dd4eed9ca1c6d21a8e5c35d64f6b1fc428f127e76267d8447479840aa737bc0e55a8a73756b7df74fcd4d27979b988390463
data/.semver CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 0
4
- :patch: 11
4
+ :patch: 12
5
5
  :special: ''
data/README.md CHANGED
@@ -1,91 +1,31 @@
1
- Z# Wimdu coding challenge
1
+ # Wimdu
2
2
 
3
- On wimdu.com, people can list their place to rent out. Wouldn't it be
4
- great if there was a more nerdy way to enter your data? How about a
5
- CLI?
3
+ TODO: Write a gem description
6
4
 
7
- ## The task
5
+ ## Installation
8
6
 
9
- Build a standalone app that allows users to list their place via a
10
- CLI. For the sake of simplicity, the data is kept locally. Similar to
11
- the web app it should be possible to enter partial data and continue
12
- later. However, make sure that in the end all required data is
13
- present. Only when all data is present the newly created property
14
- should appear in the list of all properties.
7
+ Install it yourself as gem:
15
8
 
16
- * Allow users to create new properties from the command line
17
- * Prompt for attributes, validate the input
18
- * When the data entry is interrupted, provide a way to resume entering data
19
- * Store the property in some local storage; make sure no invalid data
20
- is stored
21
- * Every property has the following attributes
22
- * title
23
- * property type, which is one of
24
- * holiday home
25
- * apartment
26
- * private room
27
- * address
28
- * nightly rate in EUR
29
- * max guests
30
- * email
31
- * phone number
9
+ $ gem install wimdu
32
10
 
33
- An example session could look like this:
11
+ Or checkout the github repository:
34
12
 
35
- $ wimdu list
36
- No properties found.
13
+ $ git co https://github.com/nakedmoon/property_cli
37
14
 
38
- $ wimdu new
39
- Starting with new property ABC1DEF2.
15
+ ## Usage
40
16
 
41
- Title: Amazing room at Wimdu Office
42
- Address: ^C
17
+ As gem:
43
18
 
44
- $ wimdu list
45
- No offers found.
19
+ $ wimdu help
46
20
 
47
- $ wimdu continue ABC1DEF2
48
- Continuing with ABC1DEF2
21
+ As local git checkout:
49
22
 
50
- Address: Voltastr. 5, 13355 Berlin
51
- Nightly rate in EUR: 12
52
- Max guests: Two
23
+ $ bundle exec bin/wimdu help
53
24
 
54
- Error: must be a number
25
+ ## Contributing
55
26
 
56
- Max guests: 2
57
- ^C
58
- $ wimdu continue ABC1DEF2
59
- Continuing with ABC1DEF2
60
-
61
- Email: foo@example.com
62
- Phone number: +1 555 2368
63
-
64
- Great job! Listing ABC1DEF2 is complete!
65
-
66
- $ wimdu list
67
- Found 1 offer.
68
-
69
- ABC1DEF2: Amazing Room at Wimdu Office
70
-
71
- ## Hints
72
-
73
- It's totally fine to use 3rd party libraries like ruby's gems. You're
74
- free to choose your storage mechanism/database. Just use the right
75
- tool for the job.
76
-
77
- It would be nice if you could send your results as a
78
- repository. Either put it online or if you'd rather not have it be
79
- public send it e.g. as a git bundle. Here's how to do that:
80
-
81
- $ git bundle create jane-schmoe-wimdu-cli.bundle master
82
-
83
- Just to check if stuff worked, you can clone from this file with
84
-
85
- $ git clone -b master jane-schmoe-wimdu-cli.bundle
86
-
87
- Mercurial also has a bundle feature. If you use any other version
88
- control system we'd appreciate instructions on how to recreate the
89
- repo.
90
-
91
- Happy hacking!
27
+ 1. Fork it ( https://github.com/nakedmoon/wimdu/fork )
28
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
29
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
30
+ 4. Push to the branch (`git push origin my-new-feature`)
31
+ 5. Create a new Pull Request
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wimdu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrea Tore
@@ -171,6 +171,7 @@ files:
171
171
  - lib/wimdu/version.rb
172
172
  - spec/property_spec.rb
173
173
  - spec/spec_helper.rb
174
+ - wimdu-0.0.11.gem
174
175
  - wimdu.gemspec
175
176
  homepage: ''
176
177
  licenses: