wimdu 0.0.11 → 0.0.12
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 +4 -4
- data/.semver +1 -1
- data/README.md +18 -78
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 96edafedeeeb95f7e9db61ad57a0bdb79d7de0bf
|
|
4
|
+
data.tar.gz: 664e0ff642fd89107376ce1d2c3c2e7159b8e133
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 19da510847f52d6cc2ae8f586dc57284952c358a84eb857b0a70cd3779feea9fb94f53dcb320a6c5249b8a5f1768c4079f125017e87b669bd8d0526b74184adb
|
|
7
|
+
data.tar.gz: 9aaaed8ebebcfec89bd22979b106dd4eed9ca1c6d21a8e5c35d64f6b1fc428f127e76267d8447479840aa737bc0e55a8a73756b7df74fcd4d27979b988390463
|
data/.semver
CHANGED
data/README.md
CHANGED
|
@@ -1,91 +1,31 @@
|
|
|
1
|
-
|
|
1
|
+
# Wimdu
|
|
2
2
|
|
|
3
|
-
|
|
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
|
-
##
|
|
5
|
+
## Installation
|
|
8
6
|
|
|
9
|
-
|
|
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
|
-
|
|
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
|
-
|
|
11
|
+
Or checkout the github repository:
|
|
34
12
|
|
|
35
|
-
$
|
|
36
|
-
No properties found.
|
|
13
|
+
$ git co https://github.com/nakedmoon/property_cli
|
|
37
14
|
|
|
38
|
-
|
|
39
|
-
Starting with new property ABC1DEF2.
|
|
15
|
+
## Usage
|
|
40
16
|
|
|
41
|
-
|
|
42
|
-
Address: ^C
|
|
17
|
+
As gem:
|
|
43
18
|
|
|
44
|
-
$ wimdu
|
|
45
|
-
No offers found.
|
|
19
|
+
$ wimdu help
|
|
46
20
|
|
|
47
|
-
|
|
48
|
-
Continuing with ABC1DEF2
|
|
21
|
+
As local git checkout:
|
|
49
22
|
|
|
50
|
-
|
|
51
|
-
Nightly rate in EUR: 12
|
|
52
|
-
Max guests: Two
|
|
23
|
+
$ bundle exec bin/wimdu help
|
|
53
24
|
|
|
54
|
-
|
|
25
|
+
## Contributing
|
|
55
26
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
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.
|
|
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:
|