ispusage 0.4.0 → 0.4.1
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.
- data/VERSION +1 -1
- data/lib/ispusage/fetchers/au_exetel.rb +36 -0
- data/lib/ispusage/fetchers/au_tpg.rb +39 -0
- data/lib/ispusage/fetchers/fetcher.rb +8 -2
- data/lib/ispusage/fetchers.rb +2 -0
- data/lib/ispusage/usage_period.rb +1 -2
- data/lib/ispusage.rb +2 -0
- data/spec/fetchers/au_exetel_spec.rb +49 -0
- data/spec/fetchers/au_tpg_spec.rb +62 -0
- data/spec/fetchers/fetcher_spec.rb +12 -0
- data/spec/fixtures/au_exetel/login.html +70 -0
- data/spec/fixtures/au_exetel/usage.html +589 -0
- data/spec/fixtures/au_tpg/failure.html +285 -0
- data/spec/fixtures/au_tpg/login.html +145 -0
- data/spec/fixtures/au_tpg/usage.html +145 -0
- metadata +13 -2
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ispusage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alan Harper
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-03-
|
12
|
+
date: 2010-03-10 00:00:00 +10:00
|
13
13
|
default_executable: ispusage
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -71,19 +71,25 @@ files:
|
|
71
71
|
- bin/ispusage
|
72
72
|
- lib/ispusage.rb
|
73
73
|
- lib/ispusage/fetchers.rb
|
74
|
+
- lib/ispusage/fetchers/au_exetel.rb
|
74
75
|
- lib/ispusage/fetchers/au_optus.rb
|
75
76
|
- lib/ispusage/fetchers/au_three.rb
|
77
|
+
- lib/ispusage/fetchers/au_tpg.rb
|
76
78
|
- lib/ispusage/fetchers/au_translink.rb
|
77
79
|
- lib/ispusage/fetchers/fetcher.rb
|
78
80
|
- lib/ispusage/fetchers/iinet.rb
|
79
81
|
- lib/ispusage/fetchers/internode.rb
|
80
82
|
- lib/ispusage/usage_period.rb
|
83
|
+
- spec/fetchers/au_exetel_spec.rb
|
81
84
|
- spec/fetchers/au_optus_spec.rb
|
82
85
|
- spec/fetchers/au_three_spec.rb
|
86
|
+
- spec/fetchers/au_tpg_spec.rb
|
83
87
|
- spec/fetchers/au_translink_spec.rb
|
84
88
|
- spec/fetchers/fetcher_spec.rb
|
85
89
|
- spec/fetchers/iinet_spec.rb
|
86
90
|
- spec/fetchers/internode_spec.rb
|
91
|
+
- spec/fixtures/au_exetel/login.html
|
92
|
+
- spec/fixtures/au_exetel/usage.html
|
87
93
|
- spec/fixtures/au_iinet/single_account.xml
|
88
94
|
- spec/fixtures/au_internode/home.xml
|
89
95
|
- spec/fixtures/au_internode/home_usage.xml
|
@@ -94,6 +100,9 @@ files:
|
|
94
100
|
- spec/fixtures/au_three/pin.html
|
95
101
|
- spec/fixtures/au_three/signon.html
|
96
102
|
- spec/fixtures/au_three/usage.html
|
103
|
+
- spec/fixtures/au_tpg/failure.html
|
104
|
+
- spec/fixtures/au_tpg/login.html
|
105
|
+
- spec/fixtures/au_tpg/usage.html
|
97
106
|
- spec/fixtures/au_translink/logon.html
|
98
107
|
- spec/fixtures/au_translink/summary.html
|
99
108
|
- spec/ispusage_spec.rb
|
@@ -129,8 +138,10 @@ signing_key:
|
|
129
138
|
specification_version: 3
|
130
139
|
summary: Fetch ISP quota Usage
|
131
140
|
test_files:
|
141
|
+
- spec/fetchers/au_exetel_spec.rb
|
132
142
|
- spec/fetchers/au_optus_spec.rb
|
133
143
|
- spec/fetchers/au_three_spec.rb
|
144
|
+
- spec/fetchers/au_tpg_spec.rb
|
134
145
|
- spec/fetchers/au_translink_spec.rb
|
135
146
|
- spec/fetchers/fetcher_spec.rb
|
136
147
|
- spec/fetchers/iinet_spec.rb
|