radical 1.0.1 → 1.0.2

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: 6dc3bcb6d651fbddb20d0ef0fe69e61c85073c86d54a2ee3367175d458d9e300
4
- data.tar.gz: 8349918b275f7d6683db697df52cc5393db6dab0c4786af40421b0b864b40fe8
3
+ metadata.gz: 28490e420f7e00fe1ccfc2497977b944e1249a89198bde5241eba97e470265bd
4
+ data.tar.gz: b14efd9cfd3e37b24e42c2deaa2c6152051bab21d1d222da9c79dcfefd26bd81
5
5
  SHA512:
6
- metadata.gz: 5ff61b934e778d03dd9957e0c5d4cb2bf3859b656683bc161c1228e466c608dbaeff0eddc7e5ce3681f6698218f3562a439248676b88fdf5668cbd843dcb0f0e
7
- data.tar.gz: 37cef962f614a22a1616590ee2b0f0b2672b354110497846456e66d458f54ff52dd9e31b30e905d497daa3140bb3f72f2650004b171a8b6b605b0a6e75f774b6
6
+ metadata.gz: 45bba97d128d5055b4a086ae6257fd62bddeac75f62826a08018e72080b56bc7883bbaaaa5386445d66695d8c07cb5375ebe3c737c86be9def6c9b786d5873de
7
+ data.tar.gz: f521e7304e9635bb46c195dbea3548f3b4d69a354322c08d1b906c510af5933b80f6d8e9367fc3f8228af6bf315ccefd6037f50e75b5a4cfdc9efd9af1f9e0e0
data/CHANGELOG.md CHANGED
@@ -3,7 +3,17 @@ All notable changes to this project will be documented in this file
3
3
 
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
5
5
 
6
- ## [Unreleased]
6
+ # [Unreleased]
7
+
8
+ # 1.0.2
9
+
10
+ - Set default views / migrations paths
11
+
12
+ # 1.0.1
13
+
14
+ - Fix changelog link in gemspec
15
+
16
+ ## 1.0.0
7
17
 
8
18
  - Very basic understanding of how much memory it takes for a basic ruby app
9
19
  - Start to integrate controllers and routing
@@ -53,7 +53,7 @@ module Radical
53
53
  end
54
54
 
55
55
  def migrations
56
- Dir[File.join(migrations_path, 'db', 'migrations', '*.rb')].sort
56
+ Dir[File.join(migrations_path || '.', 'db', 'migrations', '*.rb')].sort
57
57
  end
58
58
 
59
59
  def version(filename)
data/lib/radical/view.rb CHANGED
@@ -21,7 +21,7 @@ module Radical
21
21
  attr_accessor :_views_path, :_layout
22
22
 
23
23
  def view_path(dir, name)
24
- filename = File.join(@_views_path, 'views', dir, "#{name}.erb")
24
+ filename = File.join(@_views_path || '.', 'views', dir, "#{name}.erb")
25
25
 
26
26
  raise "Could not find view file: #{filename}. You need to create it." unless File.exist?(filename)
27
27
 
data/radical.gemspec CHANGED
@@ -3,7 +3,7 @@
3
3
  Gem::Specification.new do |spec|
4
4
  spec.platform = Gem::Platform::RUBY
5
5
  spec.name = 'radical'
6
- spec.version = '1.0.1'
6
+ spec.version = '1.0.2'
7
7
  spec.author = 'Sean Walker'
8
8
  spec.email = 'sean@swlkr.com'
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radical
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Walker