ror 0.2.4 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2efc0ef90d8a5073f24eb9d78978005c20449f5e14133a6fb0dcd7379cef5b51
4
- data.tar.gz: 659594a97044ee200e20bbc4273b3410c9323df1b45e50990a09c899d2409405
3
+ metadata.gz: 3adc5472d2800238b2cf7bb126be1a865291866087aee01f9ed3e2b3c7bd61f5
4
+ data.tar.gz: 783a6d09a04c17fe7466142e7c94718ae81e07bff74526c2a7a587026dcf6a9d
5
5
  SHA512:
6
- metadata.gz: 7d11bf3b210b0c8ab6f2de99475dfd6ca447f1ec79f236b23ee215186b2284a58c40c3067c41947954ffb657e499832017085aa388c35ee6be560b17f9748e2f
7
- data.tar.gz: 329a50ba4df5cfd43972af8735ff92f4e03d87a35466d845179d26b31d9c7b497761f7b3374731f14aecbe2275923c12bafe55022c2b05e0fcb2e5b3751484b9
6
+ metadata.gz: bd11d292bc732fd75c50a06b7c5c670b8f098a3319097a83d9252b83368c88534ea01feed0fc0d56a275aee9f539f7c6d270c296d785feff81e8e413f895508b
7
+ data.tar.gz: eb0ec40d8355a560fcf86a0cff2a112bd881c1e03d369bff657e595543b52e4a3bbd2a186d983957f09b4bb2a18cf414b754302dab1159e5ab1bbc82ade61d76
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ror (0.2.3)
4
+ ror (0.3.2)
5
5
  rails (~> 7.0)
6
6
  thor (~> 1.2, >= 1.2.1)
7
7
 
data/lib/ror/cli.rb CHANGED
@@ -1,16 +1,17 @@
1
1
  require 'thor'
2
- require 'ror/generators/init'
2
+ require "rails/command"
3
+ require 'ror/generators/new'
3
4
 
4
5
  module Ror
5
6
  class CLI < Thor
6
- desc "init", "Initialize new project"
7
- def init
8
- Ror::Generators::Init.start
7
+ desc "new", "Generate new project"
8
+ def new
9
+ Ror::Generators::New.start
9
10
  end
10
11
 
11
- desc "new APP_PATH", "Create new application at APP_PATH"
12
- def new(path)
13
- # TODO: implement new project creation
12
+ desc "create", "Create new application"
13
+ def create
14
+ Rails::Command.invoke :application, ["new", "."]
14
15
  end
15
16
 
16
17
  desc "version", "Show current version"
@@ -2,7 +2,7 @@ require 'thor/group'
2
2
 
3
3
  module Ror
4
4
  module Generators
5
- class Init < Thor::Group
5
+ class New < Thor::Group
6
6
  include Thor::Actions
7
7
 
8
8
  ROR_DIR = '.ror'.freeze
data/lib/ror/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ror
4
- VERSION = "0.2.4"
4
+ VERSION = "0.3.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ror
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Roman
@@ -64,7 +64,7 @@ dependencies:
64
64
  - - "~>"
65
65
  - !ruby/object:Gem::Version
66
66
  version: '7.0'
67
- description: Ror is a declarative configuration framework for Ruby on Rails.
67
+ description: Ror is a declarative configuration framework on Ruby on Rails.
68
68
  email:
69
69
  - tonyromnet@gmail.com
70
70
  executables:
@@ -85,7 +85,7 @@ files:
85
85
  - exe/ror
86
86
  - lib/ror.rb
87
87
  - lib/ror/cli.rb
88
- - lib/ror/generators/init.rb
88
+ - lib/ror/generators/new.rb
89
89
  - lib/ror/generators/templates/Rorfile.erb
90
90
  - lib/ror/version.rb
91
91
  - nix/sources.json