sinatra-rider 0.2.4 → 0.2.5

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: 4cb79853ec6d1faa4f8eb6074fdbafe1c105fd15
4
- data.tar.gz: c3b96bb86d081f83b72babbbbdefe52dc06e6319
3
+ metadata.gz: 2fe3e9807e9553c0cd90b6fd69d777412c92cb97
4
+ data.tar.gz: d7891c8747eebabead03c2fd1825ea7e0d64467a
5
5
  SHA512:
6
- metadata.gz: 3d0014a7f5760977656e6f249e09608926fde8c4ac02573e9c3317f43cd4fe8629babd897197c6a8158c89f0e7c2b7a917e93992346c29f3a914d2d10f209fde
7
- data.tar.gz: 3f0348b351c63fddf559397253aeeb17a6ed5d2f36a07ec5c1b90abc61d238dd6692b7fa2c4bb1ec4b67c00e41070da0abd9fd78a14476cf3d004b84ca671d35
6
+ metadata.gz: 8f9dc9a2e7342333a48658ec5300e2ec43e7c9358d73fdf113fc123ec3909554a52feaae1741ad6631a748cdb458bfabb58d3819901aed9eeebd3bf3c5b04c99
7
+ data.tar.gz: de7860ae34a1211a80eb9f5f983249df9f6872b07d0a0853a96e027ba1a8a2b9bd18985d718017910916be656806b7da88b9b1f520690b91dbc0c97a10362f26
data/README.md CHANGED
@@ -9,6 +9,7 @@ All the nice extras Sinatra likes to have when he's on the road.
9
9
  - Sass
10
10
  - Dotenv
11
11
  - Better Errors
12
+ - Local copy of bootstrap and font-awesome
12
13
  - Autoloading `app` and `lib` directories
13
14
  - ~~One dozen blue M&Ms~~
14
15
 
@@ -98,6 +99,25 @@ Better Errors are included in the Sinatra configuration when `RACK_ENV` is in de
98
99
 
99
100
  [More Information](https://github.com/charliesome/better_errors)
100
101
 
102
+ ### Locally available copies of bootstrap and font-awesome
103
+
104
+ `Sinatra::Rider` provides a copy of the latest Bootstrap and Font-Awesome libraries for your usage. Just add the `link` tag to your layout and you're styling!
105
+
106
+ ```html
107
+ <head>
108
+ <title>My Sinatra::Rider App</title>
109
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
110
+ <link rel="stylesheet" type="text/css" href="/assets/bootstrap.css">
111
+ <link rel="stylesheet" type="text/css" href="/assets/font-awesome.css">
112
+ </head>
113
+ ```
114
+
115
+ Current Versions:
116
+ - Bootstrap: 3.3.7
117
+ - Font-Awesome: 4.7.0
118
+
119
+ More Information: [Bootstrap](https://getbootstrap.com/) & [Font-Awesome](http://fontawesome.io/)
120
+
101
121
  ### Autoloading `app` and `lib`
102
122
 
103
123
  Any ruby files present in `app` or `lib` as siblings in the root directory of your `config.ru` will be automatically required.
@@ -21,7 +21,7 @@ module Sinatra
21
21
 
22
22
  def prepare_dotenv
23
23
  create_file("#{path}/.env") { "SESSION_SECRET=super secret shh\n" }
24
- create_file("#{path}/.gitignore") { ".env\n" }
24
+ create_file("#{path}/.gitignore") { ".env\ntmp/\n" }
25
25
  end
26
26
 
27
27
  def prepare_database
@@ -61,10 +61,14 @@ module Sinatra
61
61
  run('bundle install')
62
62
  run('bundle exec rake db:create db:migrate')
63
63
  run('git init')
64
- puts "You're all set up! Start your server like this:"
65
- puts " bundle exec rackup config.ru"
66
- puts "\nYou can get setup with a user at http://localhost:9292/signup"
64
+ run('git add .')
65
+ run('git commit -m "Initial Commit"')
67
66
  end
67
+
68
+ run("cd #{path}")
69
+ puts "You're all set up! Start your server like this:"
70
+ puts " bundle exec rackup config.ru"
71
+ puts "\nYou can get setup with a user at http://localhost:9292/signup"
68
72
  end
69
73
 
70
74
  def self.source_root
@@ -1,5 +1,5 @@
1
1
  module Sinatra
2
2
  module Rider
3
- VERSION = '0.2.4'
3
+ VERSION = '0.2.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-rider
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Werner
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-28 00:00:00.000000000 Z
11
+ date: 2017-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thin