trevi 0.0.2 → 0.0.3

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: b7ac081004547cfce65bcab2164e0d93b739e274
4
- data.tar.gz: c612de26b7c6f7a7fe538cd001354819ed63e176
3
+ metadata.gz: f7a8bceb3da34a32f653a22dbd24995a54f0e42e
4
+ data.tar.gz: d3ebac1507fe7fc0e2f003c94078ff30c6037f7e
5
5
  SHA512:
6
- metadata.gz: 19733d0661536233106c8a9a0c91b7be42f0a0874b06fe2544397fdb85afada5dbeadf3dfc9b021959009c257b101acf84a311eb1f19878cfbf8051489baccb8
7
- data.tar.gz: d9ec0f2fb44bb5b4710e6bfd9c2b0480fc08c8d3a666eb8dc80a25049626970b90509f907053ce6ead6691727ca51ea6ed58d27fe59397ed3960f4deefdd5451
6
+ metadata.gz: e77f74bc8551990939b6db95afa72650c284eeb6bec1de7f5b334949c8e4f92831ba168e7498c64370ef10aa08c8ceb1d78376fceb55a111049125daad3181e8
7
+ data.tar.gz: 0c424b7111886a30b0988e97c6da84511b8ab458c190b5583d6f490e8667c58680a6dfb419a15ff93fdf1b180bbf06d1a8f41905f120b8195b5aa5c8bf96e536
data/lib/trevi/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Trevi
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -1,5 +1,5 @@
1
1
  source 'https://rubygems.org'
2
- ruby '2.0.0'
2
+ ruby '2.1.2'
3
3
 
4
4
  gem 'sinatra', require: 'sinatra/base'
5
5
  gem 'sinatra-contrib', github: 'maccman/sinatra-contrib'
@@ -33,5 +33,5 @@ gem 'pg'
33
33
 
34
34
  group :development do
35
35
  gem 'thin'
36
- gem 'debugger', require: 'ruby-debug'
37
- end
36
+ gem 'byebug'
37
+ end
@@ -3,7 +3,7 @@ module <%= @name.camel_case %>
3
3
  class Base < Sinatra::Application
4
4
  configure do
5
5
  set :views, 'app/views'
6
- set :root, File.expand_path('../../../', __FILE__)
6
+ set :root, App.root
7
7
 
8
8
  disable :method_override
9
9
  disable :protection
@@ -3,7 +3,7 @@ module <%= @name.camel_case %>
3
3
  class Static < Sinatra::Application
4
4
  configure do
5
5
  set :views, 'app/views'
6
- set :root, File.expand_path('../../../', __FILE__)
6
+ set :root, App.root
7
7
  disable :method_override
8
8
  disable :protection
9
9
  enable :static
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trevi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex MacCaw
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-03 00:00:00.000000000 Z
11
+ date: 2014-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: thor
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: An opinionated Sinatra structure
@@ -60,7 +60,7 @@ executables:
60
60
  extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
- - .gitignore
63
+ - ".gitignore"
64
64
  - Gemfile
65
65
  - LICENSE.txt
66
66
  - README.md
@@ -106,17 +106,17 @@ require_paths:
106
106
  - lib
107
107
  required_ruby_version: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - '>='
109
+ - - ">="
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  requirements:
114
- - - '>='
114
+ - - ">="
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  requirements: []
118
118
  rubyforge_project:
119
- rubygems_version: 2.0.3
119
+ rubygems_version: 2.2.2
120
120
  signing_key:
121
121
  specification_version: 4
122
122
  summary: An opinionated Sinatra structure