eucalypt 0.6.0 → 0.6.1

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
  SHA256:
3
- metadata.gz: 63a4230316973e6c72642122be340698338ba605203cac4b45d136b67e470831
4
- data.tar.gz: e195e28d876bc4f267b2247928dfb1f2989b2221c698c3b1277533505a52583d
3
+ metadata.gz: 31804e6504be9089c526a5e3b5b0c4ec50172124f4a62650fb596a446f7fc691
4
+ data.tar.gz: 417dd142062272024f0342319e44b800d8e5c7ed345666b2ed118dfa3e9639d5
5
5
  SHA512:
6
- metadata.gz: 98e8356429004cd6c51bf8772cf7fe73ff91f30a5824f851abb81deebaef4b17c47da94106337e49dca1367f122d6e5bd7f3a078a70c0e2ad0fff05f17c1b9f8
7
- data.tar.gz: 460de18916f03b34b1fa63f81bdebb8e33619d9937dce312addbfd9cbd8da4efb9ca61beaef892e8025695f76eff17d913e7a7bee065b07491d6403285695533
6
+ metadata.gz: cb206dc379b8259e90029ceb130758e55fc826ee539a9d8af65f116eba3501bb44bce796938f5bb1ba148b54ec4b324d6f7d40558e9a10cb235cf66643c6785f
7
+ data.tar.gz: 12c3507422614bf56080f43d1e57a9263a721c0fcb4137a64c389fd983e70c41b16d9be59b686d6bfaeb741e9d99546f1a41be62ce21ec47640ca6afb560358d
@@ -2,11 +2,11 @@ require_relative '__base__'
2
2
  module Eucalypt
3
3
  class CLI < Thor
4
4
  using Colorize
5
- desc "rake", "Run all database migrations".colorize(:grey)
6
- def rake
5
+ desc "rake [TASK]", "Run a rake task".colorize(:grey)
6
+ def rake(task)
7
7
  directory = File.expand_path('.')
8
8
  if Eucalypt.app? directory
9
- exec "bundle exec rake db:migrate"
9
+ exec "bundle exec rake #{task}"
10
10
  else
11
11
  Eucalypt::Error.wrong_directory
12
12
  end
@@ -5,7 +5,7 @@ class MainController < ApplicationController
5
5
  <html>
6
6
  <head>
7
7
  <style>
8
- @import url('https://fonts.googleapis.com/css?family=Alegreya:400,500|Inconsolata:400,700');
8
+ @import url('https://fonts.googleapis.com/css?family=Signika|Inconsolata:400,700');
9
9
  body {
10
10
  margin: 0;
11
11
  height: 100vh;
@@ -27,7 +27,7 @@ class MainController < ApplicationController
27
27
  display: inline-block;
28
28
  }
29
29
  #text h1 {
30
- font-family: 'Alegreya', serif;
30
+ font-family: 'Signika', sans-serif;
31
31
  font-size: 2.5em;
32
32
  }
33
33
  #text p {
@@ -49,7 +49,7 @@ class MainController < ApplicationController
49
49
  <div id="container">
50
50
  <img src="https://raw.githubusercontent.com/eucalypt-framework/eucalypt/master/gfx/eucalypt.png">
51
51
  <div id="text">
52
- <h1>It's alive!</h1>
52
+ <h1>It's running!</h1>
53
53
  <p><b>Eucalypt version</b> : <span>#{Eucalypt::VERSION}</span></p>
54
54
  <p><b>Ruby version</b> : <span>#{RUBY_VERSION}</span></p>
55
55
  </div>
@@ -14,7 +14,7 @@ group :test do
14
14
  end
15
15
 
16
16
  # Database adapters
17
- gem 'sqlite3', '~> 1.3', group: [:development, :test]
17
+ gem 'sqlite3', '~> 1.3.6', group: [:development, :test]
18
18
  gem 'pg', '~> 1.0', group: :production
19
19
  # ActiveRecord for models and records
20
20
  gem 'activerecord', '~> 5.2', require: ['active_support','active_support/core_ext']
@@ -64,7 +64,7 @@ module Eucalypt
64
64
  inject_into_file(user_model_file, insert, before: /^end/) unless contents.include? insert
65
65
  end
66
66
 
67
- Out.info "Ensure you run `#{'eucalypt rake'.colorize(:bold)}` to create the necessary tables for Pundit."
67
+ Out.info "Ensure you run `#{'eucalypt rake db:migrate'.colorize(:bold)}` to create the necessary tables for Pundit."
68
68
  else
69
69
  Eucalypt::Error.wrong_directory
70
70
  end
@@ -64,7 +64,7 @@ module Eucalypt
64
64
  auth_controller.generate
65
65
  end
66
66
 
67
- Out.info "Ensure you run `#{'eucalypt rake'.colorize(:bold)}` to create the necessary tables for Warden."
67
+ Out.info "Ensure you run `#{'eucalypt rake db:migrate'.colorize(:bold)}` to create the necessary tables for Warden."
68
68
  else
69
69
  Eucalypt::Error.wrong_directory
70
70
  end
@@ -1,3 +1,3 @@
1
1
  module Eucalypt
2
- VERSION = '0.6.0'
2
+ VERSION = '0.6.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eucalypt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edwin Onuonga
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-03 00:00:00.000000000 Z
11
+ date: 2019-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -383,8 +383,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
383
383
  - !ruby/object:Gem::Version
384
384
  version: '0'
385
385
  requirements: []
386
- rubyforge_project:
387
- rubygems_version: 2.7.6
386
+ rubygems_version: 3.0.2
388
387
  signing_key:
389
388
  specification_version: 4
390
389
  summary: Micro-framework, application generator and CLI wrapped around the Sinatra