ledger_web 1.5.1 → 1.5.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3 @@
1
+ ---
2
+ name: Ledger Web
3
+ description: A web-based reporting system for the Ledger command line accounting program
data/Rakefile CHANGED
@@ -1,19 +1,6 @@
1
- $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
2
- require "ledger_web/version"
1
+ require "bundler/gem_tasks"
3
2
  require 'rake'
4
3
 
5
- task :build => :test do
6
- system "gem build ledger_web.gemspec"
7
- end
8
-
9
- task :release => :build do
10
- system "gem push ledger_web-#{LedgerWeb::VERSION}.gem"
11
- end
12
-
13
4
  task :test do
14
5
  system 'rspec --color --format=documentation test'
15
6
  end
16
-
17
- task :install => :build do
18
- system "gem install ledger_web-#{LedgerWeb::VERSION}.gem"
19
- end
@@ -15,7 +15,7 @@ module LedgerWeb
15
15
  helpers LedgerWeb::Helpers
16
16
 
17
17
  def find_template(views, name, engine, &block)
18
- _views = LedgerWeb::Config.instance.get(:report_directories) + [File.join(File.dirname(__FILE__), 'views')]
18
+ _views = LedgerWeb::Config.instance.get(:report_directories) + LedgerWeb::Config.instance.get(:additional_view_directories) + [File.join(File.dirname(__FILE__), 'views')]
19
19
  Array(_views).each { |v| super(v, name, engine, &block) }
20
20
  end
21
21
 
@@ -91,6 +91,7 @@ module LedgerWeb
91
91
  config.set :port, "9090"
92
92
  config.set :ledger_file, ENV['LEDGER_FILE']
93
93
  config.set :report_directories, ["#{File.dirname(__FILE__)}/reports"]
94
+ config.set :additional_view_directories, []
94
95
  config.set :session_secret, 'SomethingSecretThisWayPassed'
95
96
  config.set :session_expire, 60*60
96
97
  config.set :watch_interval, 5
@@ -1,3 +1,3 @@
1
1
  module LedgerWeb
2
- VERSION = '1.5.1'
2
+ VERSION = '1.5.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ledger_web
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-11 00:00:00.000000000 Z
12
+ date: 2015-01-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pg
@@ -164,6 +164,7 @@ extensions: []
164
164
  extra_rdoc_files: []
165
165
  files:
166
166
  - .gitignore
167
+ - .repo.yml
167
168
  - LICENSE
168
169
  - README.md
169
170
  - Rakefile