accountant_clerk 0.7 → 0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f654e210d08a3bae4822300c1a5919c06f0d1d3
4
- data.tar.gz: 425e014673f7036c9f735945d468f0cb5689803c
3
+ metadata.gz: 36c37428f88038f5ad501b951438fa87293b912e
4
+ data.tar.gz: 1bccbf83ff6e8078a3bc3ff64cb1b9db303e75c2
5
5
  SHA512:
6
- metadata.gz: 875612323666a5bb3398de2eec8896ab0c68eae237e8731bd249decf784afbfcfe504d241257475e67c71bb6d19f37edfa739a35182b5b99f7afa86e8f894da9
7
- data.tar.gz: 87cccb549bf367b76caacf226e6169d14afade27a26d3fd824e7a5aa9d904c490d03aba80a55310e49efa7c07f72709e7e7ddc22fc3be64fbeee1f27721d1578
6
+ metadata.gz: fdf22132eaf31173bcbd36a578d0b5ccde11276985fa3b2d8c1b26ee99da7fc3901c3b9476c2f4271e3fcba88c98775905cf1cf3a0e27351627aa38133bc6582
7
+ data.tar.gz: af4c1facbc0a250eff9895a8299ccb05639d573bfd897d1e27eedee3ffeba7f658659f4ece3fc8e23bbb6c02cbd51ec1e4e92b6b960de5a7acd358a6035a2cae
@@ -8,3 +8,5 @@ rvm:
8
8
  - 1.9.3
9
9
  - 2.0.0
10
10
  - 2.1.4
11
+ - 2.2.3
12
+
@@ -1,8 +1,8 @@
1
1
  GIT
2
2
  remote: git://github.com/rubyclerks/office_clerk.git
3
- revision: 9b4b90d42bef4ea44f1f4c22d38e43c2f8c2cde3
3
+ revision: 5dd7e0d1b1d54a68ff2ed1e9106144610dec3cbd
4
4
  specs:
5
- office_clerk (0.9)
5
+ office_clerk (1.0.0)
6
6
  bcrypt-ruby (~> 3.1)
7
7
  best_in_place (~> 3.0)
8
8
  bootstrap-sass (~> 3.1)
@@ -24,9 +24,9 @@ GIT
24
24
  PATH
25
25
  remote: ../
26
26
  specs:
27
- accountant_clerk (0.7)
27
+ accountant_clerk (0.8)
28
28
  flot-rails (~> 0.0.6)
29
- office_clerk (~> 0.9)
29
+ office_clerk (~> 1.0.0)
30
30
 
31
31
  GEM
32
32
  remote: https://rubygems.org/
@@ -107,9 +107,9 @@ GEM
107
107
  codeclimate-test-reporter (0.4.1)
108
108
  simplecov (>= 0.7.1, < 1.0.0)
109
109
  coderay (1.1.0)
110
- coffee-rails (4.1.0)
110
+ coffee-rails (4.1.1)
111
111
  coffee-script (>= 2.2.0)
112
- railties (>= 4.0.0, < 5.0)
112
+ railties (>= 4.0.0, < 5.1.x)
113
113
  coffee-script (2.4.1)
114
114
  coffee-script-source
115
115
  execjs
@@ -196,11 +196,11 @@ GEM
196
196
  method_source (0.8.2)
197
197
  mime-types (2.99)
198
198
  mimemagic (0.3.0)
199
- mini_portile (0.6.1)
199
+ mini_portile2 (2.0.0)
200
200
  minitest (5.8.3)
201
201
  multi_json (1.11.2)
202
- nokogiri (1.6.4.1)
203
- mini_portile (~> 0.6.0)
202
+ nokogiri (1.6.7.1)
203
+ mini_portile2 (~> 2.0.0.rc2)
204
204
  paperclip (4.3.2)
205
205
  activemodel (>= 3.2.0)
206
206
  activesupport (>= 3.2.0)
@@ -237,7 +237,7 @@ GEM
237
237
  rails-deprecated_sanitizer (>= 1.0.1)
238
238
  rails-html-sanitizer (1.0.2)
239
239
  loofah (~> 2.0)
240
- rails-i18n (4.0.7)
240
+ rails-i18n (4.0.8)
241
241
  i18n (~> 0.7)
242
242
  railties (~> 4.0)
243
243
  railties (4.2.5)
@@ -257,7 +257,7 @@ GEM
257
257
  ffi (>= 0.5.0)
258
258
  rb-readline (0.5.1)
259
259
  ref (1.0.5)
260
- request_store (1.2.1)
260
+ request_store (1.3.0)
261
261
  rspec (3.1.0)
262
262
  rspec-core (~> 3.1.0)
263
263
  rspec-expectations (~> 3.1.0)
@@ -294,10 +294,10 @@ GEM
294
294
  sprockets (3.5.2)
295
295
  concurrent-ruby (~> 1.0)
296
296
  rack (> 1, < 3)
297
- sprockets-rails (2.3.3)
298
- actionpack (>= 3.0)
299
- activesupport (>= 3.0)
300
- sprockets (>= 2.8, < 4.0)
297
+ sprockets-rails (3.0.0)
298
+ actionpack (>= 4.0)
299
+ activesupport (>= 4.0)
300
+ sprockets (>= 3.0.0)
301
301
  sqlite3 (1.3.10)
302
302
  term-ansicolor (1.3.0)
303
303
  tins (~> 1.0)
@@ -308,7 +308,7 @@ GEM
308
308
  thor (0.19.1)
309
309
  thread (0.1.4)
310
310
  thread_safe (0.3.5)
311
- tilt (2.0.1)
311
+ tilt (2.0.2)
312
312
  timers (4.0.1)
313
313
  hitimes
314
314
  tins (1.3.3)
@@ -320,7 +320,7 @@ GEM
320
320
  valid_email (0.0.11)
321
321
  activemodel
322
322
  mail (~> 2.6.1)
323
- will_paginate (3.0.7)
323
+ will_paginate (3.1.0)
324
324
  will_paginate-bootstrap (1.0.1)
325
325
  will_paginate (>= 3.0.3)
326
326
  xpath (2.0.0)
data/README.md CHANGED
@@ -17,7 +17,7 @@ You can search for (any combination of):
17
17
 
18
18
  You can group results, resulting in a stacked bar-graph, but you also get numeric sums for the group. Group results by:
19
19
 
20
- - nothing (just a summary per time interval)
20
+ - nothing (just a summary per time interval)
21
21
  - Category
22
22
  - Supplier
23
23
  - Product
@@ -42,21 +42,21 @@ The general idea is to start with an overview and drill down into interesting we
42
42
 
43
43
  For example, start with a year view by month, and group by Category. As a result you see which of your Categorys sells best and when it is selling the most. This may help you to create promotions at the right time for example.
44
44
 
45
- Say you have already found your strongest Categories but want to break it down by Supplier.
45
+ Say you have already found your strongest Categories but want to break it down by Supplier.
46
46
  So enter the Category, and group by Supplier: Thus you find the best selling supplier in that category and you may want to add a cross-sell for it, or an up-sell for similar products by other suppliers.
47
47
 
48
48
  Then you could add the supplier name to the search, and then group by Product. You then see the best selling Products of that Supplier in that Category.
49
49
 
50
50
  Then, if you remove the categoryfrom the search, the best selling Products of that supplier.
51
51
 
52
- In fact I often alternate between two properties. Search by one property, group by another and back and forth.
52
+ In fact I often alternate between two properties. Search by one property, group by another and back and forth.
53
53
 
54
54
  Installation
55
55
  ===========
56
56
 
57
- Just add
57
+ Just add
58
58
 
59
- gem "accountant_clerk"
59
+ gem "accountant_clerk"
60
60
 
61
61
  to your Gemfile and bundle.
62
62
 
@@ -67,9 +67,9 @@ There are no external dependencies and the only javascript file is referenced fr
67
67
  Status
68
68
  ======
69
69
 
70
- This is an old spree extension ported to clerks. As such it has been in use for 4-5 years.
70
+ This is an old spree extension ported to clerks. As such it has been in use for 6-7 years.
71
71
  While that doesn't make it perfect (see below) it does mean it is stable.
72
- The version number (<1) refers more to the code cleanliness than it's functionlity (read help appreciated)
72
+ The version number (<1) refers more to the code cleanliness than it's functionality (read help appreciated)
73
73
 
74
74
  Issues
75
75
  =======
@@ -77,7 +77,7 @@ Issues
77
77
  The metasearch with subsequent ruby code approach has served well to get the project up quick. For larger datasets a more hand crafted sql approach may be needed.
78
78
 
79
79
  Also it is quite simple to grind your database and server to a halt by grouping by product, and reporting a year by day. All data gets loaded into memory!
80
-
80
+
81
81
  Plans
82
82
  =====
83
83
 
data/Rakefile CHANGED
@@ -1,10 +1,10 @@
1
1
  # Add your own tasks in files placed in lib/tasks ending in .rake,
2
2
  # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
+ Bundler::GemHelper.install_tasks
3
4
 
4
5
  require File.expand_path('../test_app/config/application', __FILE__)
5
6
 
6
7
  TestApp::Application.load_tasks
7
- require 'bundler/gem_tasks'
8
8
 
9
9
  desc 'Rebuild test and run specs'
10
10
  task :full_test do
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  s.platform = Gem::Platform::RUBY
4
4
  s.name = 'accountant_clerk'
5
- s.version = '0.7'
5
+ s.version = '0.8'
6
6
  s.summary = 'Simple reports for rubyclerks'
7
7
  s.description = 'Simple reports that are not so simple anymore and let you analyse your shops performance'
8
8
  s.required_ruby_version = '>= 1.9.3'
@@ -17,6 +17,6 @@ Gem::Specification.new do |s|
17
17
  s.require_path = 'lib'
18
18
  s.requirements << 'none'
19
19
 
20
- s.add_runtime_dependency 'office_clerk', '~> 0.9'
20
+ s.add_runtime_dependency 'office_clerk', '~> 1.0.0'
21
21
  s.add_runtime_dependency 'flot-rails', '~> 0.0.6'
22
22
  end
@@ -1,2 +1,2 @@
1
1
  $ ->
2
- $(".manage_first").html '<div class="col-md-12"><h3><a href="/manage/report"> Reports </a></h3></div>'
2
+ $(".manage_start").html '<div class="col-md-12"><h3><a href="/manage/report"> Reports </a></h3></div>'
@@ -9,7 +9,7 @@
9
9
  });
10
10
  #legend
11
11
  .col-md-3
12
- = search_form_for @search , :url => manage_reports_url , :html => { :class => "form-horizontal" , :role => "form"} do |f|
12
+ = search_form_for @search , :url => office.manage_reports_url , :html => { :class => "form-horizontal" , :role => "form"} do |f|
13
13
  .form-group
14
14
  = select_tag :type, options_for_select( { t("order") => "Order" , t("purchase") => "Purchase" } , @type) , :class => "form-control"
15
15
  .form-group
@@ -36,7 +36,7 @@
36
36
  .col-md-4
37
37
  = f.label :price , t(:price)
38
38
  .col-md-4
39
- = f.text_field :price_gt , :size => 6 , :class => "form-control"
39
+ = f.text_field :price_gt , :size => 6 , :class => "form-control"
40
40
  .col-md-4
41
41
  = f.text_field :price_lt , :size => 6 , :class => "form-control"
42
42
  .form-group
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: accountant_clerk
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.7'
4
+ version: '0.8'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Torsten Ruger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-16 00:00:00.000000000 Z
11
+ date: 2016-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: office_clerk
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.9'
19
+ version: 1.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.9'
26
+ version: 1.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: flot-rails
29
29
  requirement: !ruby/object:Gem::Requirement