git_stats 1.0.14 → 1.0.15
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/.travis.yml +9 -0
- data/README.md +8 -1
- data/config/locales/bg +63 -0
- data/config/locales/en.yml +3 -1
- data/config/locales/es.yml +63 -0
- data/config/locales/tr.yml +63 -0
- data/config/locales/zh.yml +66 -0
- data/config/locales/zh_tw.yml +65 -0
- data/config/locales/zh_tw_default.yml +76 -0
- data/lib/git_stats/git_data/commit.rb +1 -1
- data/lib/git_stats/git_data/repo.rb +50 -3
- data/lib/git_stats/git_data/short_stat.rb +1 -1
- data/lib/git_stats/stats_view/charts/charts.rb +1 -1
- data/lib/git_stats/stats_view/charts/repo_charts.rb +20 -0
- data/lib/git_stats/version.rb +1 -1
- data/spec/git_data/short_stat_spec.rb +1 -1
- data/templates/assets/export-csv.js +392 -0
- data/templates/assets/exporting.js +27 -0
- data/templates/assets/highstock.js +507 -300
- data/templates/files/_files.haml +4 -0
- data/templates/files/by_extension_by_date.haml +1 -0
- data/templates/layout.haml +2 -0
- data/templates/lines/_lines.haml +4 -0
- data/templates/lines/by_extension_by_date.haml +1 -0
- metadata +15 -3
data/templates/files/_files.haml
CHANGED
@@ -4,6 +4,8 @@
|
|
4
4
|
%a{:href => 'by_date.html'}= :files_by_date.t
|
5
5
|
%li{class: page == :files_by_extension ? "active" : ""}
|
6
6
|
%a{:href => 'by_extension.html'}= :files_by_extension.t
|
7
|
+
%li{class: page == :files_by_extension_by_date ? "active" : ""}
|
8
|
+
%a{:href => 'by_extension_by_date.html'}= :files_by_extension_by_date.t
|
7
9
|
|
8
10
|
.tab-content
|
9
11
|
.tab-pane.active
|
@@ -13,3 +15,5 @@
|
|
13
15
|
= high_stock("files_by_date", charts.files_by_date)
|
14
16
|
- elsif page == :files_by_extension
|
15
17
|
= high_chart("files_by_extension", charts.files_by_extension)
|
18
|
+
- elsif page == :files_by_extension_by_date
|
19
|
+
= high_stock("files_by_extension_by_date", charts.files_by_extension_by_date)
|
@@ -0,0 +1 @@
|
|
1
|
+
= render_partial('files/_files', page: :files_by_extension_by_date)
|
data/templates/layout.haml
CHANGED
@@ -12,6 +12,8 @@
|
|
12
12
|
%script{:src => asset_path('jquery.min.js', active_page), :type => "text/javascript"}
|
13
13
|
%script{:src => asset_path('bootstrap/js/bootstrap.min.js', active_page), :type => "text/javascript"}
|
14
14
|
%script{:src => asset_path('highstock.js', active_page), :type => "text/javascript"}
|
15
|
+
%script{:src => asset_path('exporting.js', active_page), :type => "text/javascript"}
|
16
|
+
%script{:src => asset_path('export-csv.js', active_page), :type => "text/javascript"}
|
15
17
|
%body
|
16
18
|
%div.navbar.navbar-fixed-top
|
17
19
|
%div.navbar-inner
|
data/templates/lines/_lines.haml
CHANGED
@@ -4,6 +4,8 @@
|
|
4
4
|
%a{:href => 'by_date.html'}= :lines_by_date.t
|
5
5
|
%li{class: page == :lines_by_extension ? "active" : ""}
|
6
6
|
%a{:href => 'by_extension.html'}= :lines_by_extension.t
|
7
|
+
%li{class: page == :lines_by_extension_by_date ? "active" : ""}
|
8
|
+
%a{:href => 'by_extension_by_date.html'}= :lines_by_extension_by_date.t
|
7
9
|
|
8
10
|
.tab-content
|
9
11
|
.tab-pane.active
|
@@ -13,3 +15,5 @@
|
|
13
15
|
= high_stock("lines_by_date", charts.lines_by_date)
|
14
16
|
- elsif page == :lines_by_extension
|
15
17
|
= high_chart("lines_by_extension", charts.lines_by_extension)
|
18
|
+
- elsif page == :lines_by_extension_by_date
|
19
|
+
= high_stock("lines_by_extension_by_date", charts.lines_by_extension_by_date)
|
@@ -0,0 +1 @@
|
|
1
|
+
= render_partial('lines/_lines', page: :lines_by_extension_by_date)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git_stats
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomasz Gieniusz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -133,16 +133,23 @@ files:
|
|
133
133
|
- ".gitignore"
|
134
134
|
- ".gitmodules"
|
135
135
|
- ".rspec"
|
136
|
+
- ".travis.yml"
|
136
137
|
- Gemfile
|
137
138
|
- LICENSE.txt
|
138
139
|
- README.md
|
139
140
|
- Rakefile
|
140
141
|
- bin/git_stats
|
142
|
+
- config/locales/bg
|
141
143
|
- config/locales/de.yml
|
142
144
|
- config/locales/de_default.yml
|
143
145
|
- config/locales/en.yml
|
146
|
+
- config/locales/es.yml
|
144
147
|
- config/locales/pl.yml
|
145
148
|
- config/locales/pl_default.yml
|
149
|
+
- config/locales/tr.yml
|
150
|
+
- config/locales/zh.yml
|
151
|
+
- config/locales/zh_tw.yml
|
152
|
+
- config/locales/zh_tw_default.yml
|
146
153
|
- git_stats.gemspec
|
147
154
|
- lib/git_stats.rb
|
148
155
|
- lib/git_stats/base.rb
|
@@ -208,6 +215,8 @@ files:
|
|
208
215
|
- templates/assets/bootstrap/img/glyphicons-halflings.png
|
209
216
|
- templates/assets/bootstrap/js/bootstrap.js
|
210
217
|
- templates/assets/bootstrap/js/bootstrap.min.js
|
218
|
+
- templates/assets/export-csv.js
|
219
|
+
- templates/assets/exporting.js
|
211
220
|
- templates/assets/highstock.js
|
212
221
|
- templates/assets/jquery.min.js
|
213
222
|
- templates/author_details/_author_details.haml
|
@@ -226,11 +235,13 @@ files:
|
|
226
235
|
- templates/files/_files.haml
|
227
236
|
- templates/files/by_date.haml
|
228
237
|
- templates/files/by_extension.haml
|
238
|
+
- templates/files/by_extension_by_date.haml
|
229
239
|
- templates/general.haml
|
230
240
|
- templates/layout.haml
|
231
241
|
- templates/lines/_lines.haml
|
232
242
|
- templates/lines/by_date.haml
|
233
243
|
- templates/lines/by_extension.haml
|
244
|
+
- templates/lines/by_extension_by_date.haml
|
234
245
|
- templates/static/index.html
|
235
246
|
homepage: https://github.com/tomgi/git_stats
|
236
247
|
licenses: []
|
@@ -251,7 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
251
262
|
version: '0'
|
252
263
|
requirements: []
|
253
264
|
rubyforge_project:
|
254
|
-
rubygems_version: 2.
|
265
|
+
rubygems_version: 2.6.12
|
255
266
|
signing_key:
|
256
267
|
specification_version: 4
|
257
268
|
summary: HTML statistics generator from git repository
|
@@ -275,3 +286,4 @@ test_files:
|
|
275
286
|
- spec/integration/shared.rb
|
276
287
|
- spec/integration/tree_spec.rb
|
277
288
|
- spec/spec_helper.rb
|
289
|
+
has_rdoc:
|