tabstabs 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +20 -0
  3. data/.ruby-version +1 -0
  4. data/.travis.yml +7 -0
  5. data/Gemfile +3 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +421 -0
  8. data/Rakefile +5 -0
  9. data/lib/tabs_tabs.rb +26 -0
  10. data/lib/tabs_tabs/config.rb +65 -0
  11. data/lib/tabs_tabs/helpers.rb +27 -0
  12. data/lib/tabs_tabs/metrics/counter.rb +69 -0
  13. data/lib/tabs_tabs/metrics/counter/stats.rb +51 -0
  14. data/lib/tabs_tabs/metrics/task.rb +72 -0
  15. data/lib/tabs_tabs/metrics/task/token.rb +89 -0
  16. data/lib/tabs_tabs/metrics/value.rb +91 -0
  17. data/lib/tabs_tabs/metrics/value/stats.rb +55 -0
  18. data/lib/tabs_tabs/resolution.rb +65 -0
  19. data/lib/tabs_tabs/resolutionable.rb +48 -0
  20. data/lib/tabs_tabs/resolutions/day.rb +40 -0
  21. data/lib/tabs_tabs/resolutions/hour.rb +40 -0
  22. data/lib/tabs_tabs/resolutions/minute.rb +40 -0
  23. data/lib/tabs_tabs/resolutions/month.rb +40 -0
  24. data/lib/tabs_tabs/resolutions/week.rb +40 -0
  25. data/lib/tabs_tabs/resolutions/year.rb +40 -0
  26. data/lib/tabs_tabs/storage.rb +105 -0
  27. data/lib/tabs_tabs/tabs_tabs.rb +117 -0
  28. data/lib/tabs_tabs/version.rb +3 -0
  29. data/spec/lib/tabs_tabs/config_spec.rb +60 -0
  30. data/spec/lib/tabs_tabs/metrics/counter/stats_spec.rb +42 -0
  31. data/spec/lib/tabs_tabs/metrics/counter_spec.rb +196 -0
  32. data/spec/lib/tabs_tabs/metrics/task/token_spec.rb +18 -0
  33. data/spec/lib/tabs_tabs/metrics/task_spec.rb +103 -0
  34. data/spec/lib/tabs_tabs/metrics/value/stats_spec.rb +61 -0
  35. data/spec/lib/tabs_tabs/metrics/value_spec.rb +160 -0
  36. data/spec/lib/tabs_tabs/resolution_spec.rb +52 -0
  37. data/spec/lib/tabs_tabs/resolutionable_spec.rb +53 -0
  38. data/spec/lib/tabs_tabs/resolutions/day_spec.rb +23 -0
  39. data/spec/lib/tabs_tabs/resolutions/hour_spec.rb +23 -0
  40. data/spec/lib/tabs_tabs/resolutions/minute_spec.rb +23 -0
  41. data/spec/lib/tabs_tabs/resolutions/month_spec.rb +23 -0
  42. data/spec/lib/tabs_tabs/resolutions/week_spec.rb +24 -0
  43. data/spec/lib/tabs_tabs/resolutions/year_spec.rb +23 -0
  44. data/spec/lib/tabs_tabs/storage_spec.rb +138 -0
  45. data/spec/lib/tabs_tabs_spec.rb +223 -0
  46. data/spec/spec_helper.rb +17 -0
  47. data/spec/support/custom_resolutions.rb +40 -0
  48. data/tabs_tabs.gemspec +31 -0
  49. metadata +213 -0
metadata ADDED
@@ -0,0 +1,213 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tabstabs
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Max Kießling
8
+ - Michael Prilop
9
+ - JC Grubbs
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2017-05-29 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: activesupport
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - ">="
20
+ - !ruby/object:Gem::Version
21
+ version: '3.2'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ version: '3.2'
29
+ - !ruby/object:Gem::Dependency
30
+ name: redis
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - ">="
34
+ - !ruby/object:Gem::Version
35
+ version: 3.0.0
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 3.0.0
43
+ - !ruby/object:Gem::Dependency
44
+ name: pry
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
50
+ type: :development
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
57
+ - !ruby/object:Gem::Dependency
58
+ name: pry-nav
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ type: :development
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ - !ruby/object:Gem::Dependency
72
+ name: rake
73
+ requirement: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ type: :development
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ - !ruby/object:Gem::Dependency
86
+ name: rspec
87
+ requirement: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: '0'
92
+ type: :development
93
+ prerelease: false
94
+ version_requirements: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ - !ruby/object:Gem::Dependency
100
+ name: timecop
101
+ requirement: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ version: '0'
106
+ type: :development
107
+ prerelease: false
108
+ version_requirements: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: '0'
113
+ description: A redis-backed metrics tracker for keeping tabstabs on pretty much anything.
114
+ Fork of Tabs
115
+ email:
116
+ - max@kopfueber.org
117
+ - michael.prilop@imw.fraunhofer.de
118
+ executables: []
119
+ extensions: []
120
+ extra_rdoc_files: []
121
+ files:
122
+ - ".gitignore"
123
+ - ".ruby-version"
124
+ - ".travis.yml"
125
+ - Gemfile
126
+ - LICENSE.txt
127
+ - README.md
128
+ - Rakefile
129
+ - lib/tabs_tabs.rb
130
+ - lib/tabs_tabs/config.rb
131
+ - lib/tabs_tabs/helpers.rb
132
+ - lib/tabs_tabs/metrics/counter.rb
133
+ - lib/tabs_tabs/metrics/counter/stats.rb
134
+ - lib/tabs_tabs/metrics/task.rb
135
+ - lib/tabs_tabs/metrics/task/token.rb
136
+ - lib/tabs_tabs/metrics/value.rb
137
+ - lib/tabs_tabs/metrics/value/stats.rb
138
+ - lib/tabs_tabs/resolution.rb
139
+ - lib/tabs_tabs/resolutionable.rb
140
+ - lib/tabs_tabs/resolutions/day.rb
141
+ - lib/tabs_tabs/resolutions/hour.rb
142
+ - lib/tabs_tabs/resolutions/minute.rb
143
+ - lib/tabs_tabs/resolutions/month.rb
144
+ - lib/tabs_tabs/resolutions/week.rb
145
+ - lib/tabs_tabs/resolutions/year.rb
146
+ - lib/tabs_tabs/storage.rb
147
+ - lib/tabs_tabs/tabs_tabs.rb
148
+ - lib/tabs_tabs/version.rb
149
+ - spec/lib/tabs_tabs/config_spec.rb
150
+ - spec/lib/tabs_tabs/metrics/counter/stats_spec.rb
151
+ - spec/lib/tabs_tabs/metrics/counter_spec.rb
152
+ - spec/lib/tabs_tabs/metrics/task/token_spec.rb
153
+ - spec/lib/tabs_tabs/metrics/task_spec.rb
154
+ - spec/lib/tabs_tabs/metrics/value/stats_spec.rb
155
+ - spec/lib/tabs_tabs/metrics/value_spec.rb
156
+ - spec/lib/tabs_tabs/resolution_spec.rb
157
+ - spec/lib/tabs_tabs/resolutionable_spec.rb
158
+ - spec/lib/tabs_tabs/resolutions/day_spec.rb
159
+ - spec/lib/tabs_tabs/resolutions/hour_spec.rb
160
+ - spec/lib/tabs_tabs/resolutions/minute_spec.rb
161
+ - spec/lib/tabs_tabs/resolutions/month_spec.rb
162
+ - spec/lib/tabs_tabs/resolutions/week_spec.rb
163
+ - spec/lib/tabs_tabs/resolutions/year_spec.rb
164
+ - spec/lib/tabs_tabs/storage_spec.rb
165
+ - spec/lib/tabs_tabs_spec.rb
166
+ - spec/spec_helper.rb
167
+ - spec/support/custom_resolutions.rb
168
+ - tabs_tabs.gemspec
169
+ homepage: https://github.com/FHG-IMW/tabstabs
170
+ licenses:
171
+ - MIT
172
+ metadata: {}
173
+ post_install_message:
174
+ rdoc_options: []
175
+ require_paths:
176
+ - lib
177
+ required_ruby_version: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - ">="
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
182
+ required_rubygems_version: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: '0'
187
+ requirements: []
188
+ rubyforge_project:
189
+ rubygems_version: 2.6.8
190
+ signing_key:
191
+ specification_version: 4
192
+ summary: A redis-backed metrics tracker for keeping tabstabs on pretty much anything
193
+ ;)
194
+ test_files:
195
+ - spec/lib/tabs_tabs/config_spec.rb
196
+ - spec/lib/tabs_tabs/metrics/counter/stats_spec.rb
197
+ - spec/lib/tabs_tabs/metrics/counter_spec.rb
198
+ - spec/lib/tabs_tabs/metrics/task/token_spec.rb
199
+ - spec/lib/tabs_tabs/metrics/task_spec.rb
200
+ - spec/lib/tabs_tabs/metrics/value/stats_spec.rb
201
+ - spec/lib/tabs_tabs/metrics/value_spec.rb
202
+ - spec/lib/tabs_tabs/resolution_spec.rb
203
+ - spec/lib/tabs_tabs/resolutionable_spec.rb
204
+ - spec/lib/tabs_tabs/resolutions/day_spec.rb
205
+ - spec/lib/tabs_tabs/resolutions/hour_spec.rb
206
+ - spec/lib/tabs_tabs/resolutions/minute_spec.rb
207
+ - spec/lib/tabs_tabs/resolutions/month_spec.rb
208
+ - spec/lib/tabs_tabs/resolutions/week_spec.rb
209
+ - spec/lib/tabs_tabs/resolutions/year_spec.rb
210
+ - spec/lib/tabs_tabs/storage_spec.rb
211
+ - spec/lib/tabs_tabs_spec.rb
212
+ - spec/spec_helper.rb
213
+ - spec/support/custom_resolutions.rb