rumblelog 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,4 +1,4 @@
1
- rumblelog
1
+ *.log
2
2
  fauna
3
3
  .bundle
4
4
  .config
data/config/fauna.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  rumblelog:
2
2
  development:
3
- email: stevej@fruitless.org
4
- password: jP3X_YBwBA1iYQ
3
+ email: nil
4
+ password: nil
5
5
  test:
6
- email: stevej@fruitless.org
7
- password: jP3X_YBwBA1iYQ
6
+ email: nil
7
+ password: nil
data/rumblelog.gemspec CHANGED
@@ -1,9 +1,9 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'rumblelog'
3
- s.version = '0.1.1'
3
+ s.version = '0.1.2'
4
4
  s.date = '2013-06-25'
5
5
  s.summary = "A site publishing system!"
6
- s.description = "A dynamic site publishing with Pages and Tags powered by fauna"
6
+ s.description = "A dynamic site publishing system with Pages and Tags powered by fauna"
7
7
  s.license = "Apache 2.0"
8
8
  s.authors = ["Steve Jenson"]
9
9
  s.email = 'stevej@fruitless.org'
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
  'http://github.com/stevej/rumblelog'
12
12
 
13
13
  s.files = `git ls-files`.split($/)
14
- s.require_paths = ["lib"]
14
+ s.require_paths = [".", "lib"]
15
15
 
16
16
  s.add_development_dependency "bundler"
17
17
  s.add_dependency "sinatra"
data/rumblelog.rb CHANGED
@@ -10,11 +10,11 @@ module Fauna
10
10
  mattr_accessor :credentials
11
11
  mattr_accessor :connection
12
12
 
13
- self.credentials = Fauna::Rack::credentials("#{ENV["HOME"]}/.fauna.yml",
14
- "config/fauna.yml",
13
+ self.credentials = Fauna::Rack::credentials("config/fauna.yml",
14
+ "#{ENV["HOME"]}/.fauna.yml",
15
15
  "rumblelog")
16
16
 
17
- self.connection = Fauna::Rack::connection(self.credentials, Logger.new("rumblelog"))[:connection]
17
+ self.connection = Fauna::Rack::connection(self.credentials, Logger.new("rumblelog.log"))[:connection]
18
18
  end
19
19
 
20
20
  class Rumblelog < Sinatra::Base
@@ -67,7 +67,6 @@ class Rumblelog < Sinatra::Base
67
67
  get '/' do
68
68
  # TODO: Load N Pages, unfortunately .first only grants me a `resource` accessor.
69
69
  @pages = with_context { Page.all.page(:size => 3).first.resource.to_html_hash }
70
- pp @pages
71
70
  mustache :index
72
71
  end
73
72
 
@@ -125,7 +124,6 @@ class Page < Fauna::Class
125
124
 
126
125
  def links_for_tags
127
126
  tags = self.data['tags']
128
- pp tags
129
127
  if tags.nil?
130
128
  []
131
129
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rumblelog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -59,7 +59,7 @@ dependencies:
59
59
  - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
- description: A dynamic site publishing with Pages and Tags powered by fauna
62
+ description: A dynamic site publishing system with Pages and Tags powered by fauna
63
63
  email: stevej@fruitless.org
64
64
  executables: []
65
65
  extensions: []
@@ -98,6 +98,7 @@ licenses:
98
98
  post_install_message:
99
99
  rdoc_options: []
100
100
  require_paths:
101
+ - .
101
102
  - lib
102
103
  required_ruby_version: !ruby/object:Gem::Requirement
103
104
  none: false