desviar 0.0.10 → 0.0.11

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/README.md CHANGED
@@ -19,14 +19,16 @@ troubleshooting, you can store content in a file.
19
19
 
20
20
  #### Installation ####
21
21
 
22
+ These directions have been tested on Ubuntu 12.10 and OpenSUSE 12.3.
23
+
22
24
  ##### From github #####
23
- Clone this repo, copy _config/config.rb.example_ to config/config.rb, and
24
- perform the following:
25
+ Clone this repo, cd into its top-level directory, and perform the following:
25
26
 
26
27
  sudo apt-get install rack make libsqlite3-dev
27
28
  # package names above may differ if not using Ubuntu
28
29
  sudo gem install bundler
29
30
  sudo bundle install
31
+ cp config/config.rb.example config/config.rb
30
32
  rackup -p 4567
31
33
 
32
34
  Default credential of [app](http://localhost:4567) is user _desviar_, pw _password_. Consider moving the default database location from /dev/shm/desviar, and set its permissions to 0600.
@@ -34,9 +36,12 @@ Default credential of [app](http://localhost:4567) is user _desviar_, pw _passwo
34
36
  ##### From rubygems.org #####
35
37
  Invoke the following:
36
38
 
37
- sudo apt-get install make libsqlite3-dev
39
+ sudo apt-get install make libsqlite3-dev ruby-dev
38
40
  gem install desviar
39
41
  wget https://raw.github.com/instantlinux/desviar/master/config.ru
42
+ wget https://raw.github.com/instantlinux/desviar/master/config/config.rb.example
43
+ cp config.rb.example config.rb
44
+ export DESVIAR_CONFIG=`pwd`/config.rb
40
45
  rackup -p 4567
41
46
 
42
47
  You can modify config.ru to direct log output to a different file.
data/desviar.gemspec CHANGED
@@ -1,4 +1,4 @@
1
- require './desviar'
1
+ require 'desviar'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.platform = Gem::Platform::RUBY
@@ -26,13 +26,13 @@ require 'rack/recaptcha'
26
26
  if ENV['DESVIAR_CONFIG']
27
27
  require ENV['DESVIAR_CONFIG']
28
28
  else
29
- require File.expand_path '../config/config', __FILE__
29
+ require File.expand_path '../../config/config', __FILE__
30
30
  end
31
- require File.expand_path '../lib/version', __FILE__
32
- require File.expand_path '../lib/encrypt', __FILE__
33
- require File.expand_path '../lib/model', __FILE__
31
+ require File.expand_path '../version', __FILE__
32
+ require File.expand_path '../encrypt', __FILE__
33
+ require File.expand_path '../model', __FILE__
34
34
  # Auth parsing is work-in-progress
35
- # require File.expand_path '../lib/auth.rb'', __FILE__
35
+ # require File.expand_path '../auth', __FILE__
36
36
 
37
37
  module Desviar
38
38
  class Authorized < Sinatra::Base
data/lib/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Desviar
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  RELEASE = "2013-07-29"
4
- TIMESTAMP = "2013-07-29 10:58:21 -07:00"
4
+ TIMESTAMP = "2013-07-29 10:48:22 -07:00"
5
5
 
6
6
  def self.info
7
7
  "#{name} v#{VERSION} (#{RELEASE})"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: desviar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -190,9 +190,9 @@ files:
190
190
  - config.ru
191
191
  - config/config.rb.example
192
192
  - desviar.gemspec
193
- - desviar.rb
194
193
  - lib/auth.rb
195
194
  - lib/authorization.rb
195
+ - lib/desviar.rb
196
196
  - lib/encrypt.rb
197
197
  - lib/model.rb
198
198
  - lib/version.rb
@@ -207,7 +207,7 @@ files:
207
207
  homepage: http://github.com/instantlinux/desviar
208
208
  licenses: []
209
209
  post_install_message: ! "------------------------------------------------------------------------------\nDesviar
210
- v0.0.10\n\nTo configure, download from:\n https://raw.github.com/instantlinux/desviar/master/config/config.rb.example\ninto
210
+ v0.0.11\n\nTo configure, download from:\n https://raw.github.com/instantlinux/desviar/master/config/config.rb.example\ninto
211
211
  a new file config.rb and export DESVIAR_CONFIG=<path>/config.rb.\n\nThanks for using
212
212
  Desviar.\n------------------------------------------------------------------------------\n"
213
213
  rdoc_options: []