meteo_pl 2.0.3 → 2.0.4
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/README.md +3 -2
- data/lib/meteo_pl/exec/shell.rb +2 -2
- data/lib/meteo_pl/version.rb +1 -1
- data/spec/exec/shell_spec.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65d9e29e9723318f5b9da3be4f126f1930a1bf14610d6d955717cbcd9aaca085
|
4
|
+
data.tar.gz: 7744ff3ce746bdc5cadb47fcc4eab60c506476728c5a54178d158a08a6578c99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28d38ec4d392daf93a55778a0238aa63775176ea4817764c0ee74c52391a06ee97bada73e6d8f07986d7ddd6d069fa84c30461dff488cc62f1a8bcaca9a588fc
|
7
|
+
data.tar.gz: 18d8dca54f5a75b426cfd879985487c21dd764ef6cbd07adba03e9572143c8eed1b871e0213738db6768bb8df35c600d1fc39946a792037fe81692fcc15b3657
|
data/README.md
CHANGED
@@ -10,7 +10,7 @@ It allows to fetch coamps and um diagrams separately and open open them in your
|
|
10
10
|
**Architecture**
|
11
11
|
|
12
12
|
*lib/meteo_pl/exec* directory contains usage examples (as MeteoPl::Exec::Shell class),
|
13
|
-
you should use provided compontents to prepare similar
|
13
|
+
you should use provided compontents to prepare similar class (or script) that meets your requirements.
|
14
14
|
|
15
15
|
**Usage example:**
|
16
16
|
|
@@ -21,7 +21,7 @@ Install gem in system-wide context, than create executable `meteo` named script:
|
|
21
21
|
|
22
22
|
require 'meteo_pl'
|
23
23
|
|
24
|
-
MeteoPl::Exec::Shell.call
|
24
|
+
MeteoPl::Exec::Shell.call(ARGV)
|
25
25
|
```
|
26
26
|
|
27
27
|
Than you'll be able to generate the weather forecast diagram from your command line:
|
@@ -39,6 +39,7 @@ To check all available options just run a script w/o arguments or with -h flag.
|
|
39
39
|
|
40
40
|
### Versions
|
41
41
|
|
42
|
+
* 2.0.4 MeteoPl::Exec::Shell class fix
|
42
43
|
* 2.0.3 Adding *Exec* namespece containing example classes
|
43
44
|
* 2.0.2 Increased code quality
|
44
45
|
* 2.0.1 Minor code improvements, add TravisCI
|
data/lib/meteo_pl/exec/shell.rb
CHANGED
data/lib/meteo_pl/version.rb
CHANGED
data/spec/exec/shell_spec.rb
CHANGED
@@ -14,7 +14,7 @@ describe MeteoPl::Exec::Shell do
|
|
14
14
|
)
|
15
15
|
expect_any_instance_of(MeteoPl::Utility::Presenter).not_to receive(:show)
|
16
16
|
|
17
|
-
described_class.call
|
17
|
+
described_class.call(['Warszawa', '-p', 'long'])
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
@@ -30,7 +30,7 @@ describe MeteoPl::Exec::Shell do
|
|
30
30
|
expect($stdout).not_to receive(:puts)
|
31
31
|
expect_any_instance_of(MeteoPl::Utility::Presenter).to receive(:show)
|
32
32
|
|
33
|
-
described_class.call
|
33
|
+
described_class.call(['Warszawa', '-p', 'long'])
|
34
34
|
end
|
35
35
|
end
|
36
36
|
end
|