ror 0.2.1 → 0.2.4

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: 54b5515ddc582fdceafd778a688b5d629abc2acb04d1e2c874f6ead575b1bf47
4
- data.tar.gz: a331745059bcd100948132b13315ef9b0da87593ed54284f7e353f6874ed6632
3
+ metadata.gz: 2efc0ef90d8a5073f24eb9d78978005c20449f5e14133a6fb0dcd7379cef5b51
4
+ data.tar.gz: 659594a97044ee200e20bbc4273b3410c9323df1b45e50990a09c899d2409405
5
5
  SHA512:
6
- metadata.gz: 22a8af370197769f141f3fc82a0e82803cff975a17f29ba451f82a11b93e3ff364ef7a154976648d9ca258836142cb18db9e3a7d10259986cf6e256e3a4ab4a5
7
- data.tar.gz: 2145bf5e8aafb5b542f742c348f711b49d5ca4dcfe2445d23f36eae3a4ef1d6f543b171733bedcf43aa4e626c29ab36b2a730aed768f8f17dc3cf0057ef6af9d
6
+ metadata.gz: 7d11bf3b210b0c8ab6f2de99475dfd6ca447f1ec79f236b23ee215186b2284a58c40c3067c41947954ffb657e499832017085aa388c35ee6be560b17f9748e2f
7
+ data.tar.gz: 329a50ba4df5cfd43972af8735ff92f4e03d87a35466d845179d26b31d9c7b497761f7b3374731f14aecbe2275923c12bafe55022c2b05e0fcb2e5b3751484b9
data/Gemfile.lock CHANGED
@@ -1,16 +1,148 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ror (0.1.0)
4
+ ror (0.2.3)
5
+ rails (~> 7.0)
6
+ thor (~> 1.2, >= 1.2.1)
5
7
 
6
8
  GEM
7
9
  remote: https://rubygems.org/
8
10
  specs:
11
+ actioncable (7.0.2.4)
12
+ actionpack (= 7.0.2.4)
13
+ activesupport (= 7.0.2.4)
14
+ nio4r (~> 2.0)
15
+ websocket-driver (>= 0.6.1)
16
+ actionmailbox (7.0.2.4)
17
+ actionpack (= 7.0.2.4)
18
+ activejob (= 7.0.2.4)
19
+ activerecord (= 7.0.2.4)
20
+ activestorage (= 7.0.2.4)
21
+ activesupport (= 7.0.2.4)
22
+ mail (>= 2.7.1)
23
+ net-imap
24
+ net-pop
25
+ net-smtp
26
+ actionmailer (7.0.2.4)
27
+ actionpack (= 7.0.2.4)
28
+ actionview (= 7.0.2.4)
29
+ activejob (= 7.0.2.4)
30
+ activesupport (= 7.0.2.4)
31
+ mail (~> 2.5, >= 2.5.4)
32
+ net-imap
33
+ net-pop
34
+ net-smtp
35
+ rails-dom-testing (~> 2.0)
36
+ actionpack (7.0.2.4)
37
+ actionview (= 7.0.2.4)
38
+ activesupport (= 7.0.2.4)
39
+ rack (~> 2.0, >= 2.2.0)
40
+ rack-test (>= 0.6.3)
41
+ rails-dom-testing (~> 2.0)
42
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
43
+ actiontext (7.0.2.4)
44
+ actionpack (= 7.0.2.4)
45
+ activerecord (= 7.0.2.4)
46
+ activestorage (= 7.0.2.4)
47
+ activesupport (= 7.0.2.4)
48
+ globalid (>= 0.6.0)
49
+ nokogiri (>= 1.8.5)
50
+ actionview (7.0.2.4)
51
+ activesupport (= 7.0.2.4)
52
+ builder (~> 3.1)
53
+ erubi (~> 1.4)
54
+ rails-dom-testing (~> 2.0)
55
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
56
+ activejob (7.0.2.4)
57
+ activesupport (= 7.0.2.4)
58
+ globalid (>= 0.3.6)
59
+ activemodel (7.0.2.4)
60
+ activesupport (= 7.0.2.4)
61
+ activerecord (7.0.2.4)
62
+ activemodel (= 7.0.2.4)
63
+ activesupport (= 7.0.2.4)
64
+ activestorage (7.0.2.4)
65
+ actionpack (= 7.0.2.4)
66
+ activejob (= 7.0.2.4)
67
+ activerecord (= 7.0.2.4)
68
+ activesupport (= 7.0.2.4)
69
+ marcel (~> 1.0)
70
+ mini_mime (>= 1.1.0)
71
+ activesupport (7.0.2.4)
72
+ concurrent-ruby (~> 1.0, >= 1.0.2)
73
+ i18n (>= 1.6, < 2)
74
+ minitest (>= 5.1)
75
+ tzinfo (~> 2.0)
9
76
  ast (2.4.2)
77
+ builder (3.2.4)
78
+ concurrent-ruby (1.1.10)
79
+ crass (1.0.6)
10
80
  diff-lcs (1.5.0)
81
+ digest (3.1.0)
82
+ erubi (1.10.0)
83
+ globalid (1.0.0)
84
+ activesupport (>= 5.0)
85
+ i18n (1.10.0)
86
+ concurrent-ruby (~> 1.0)
87
+ loofah (2.17.0)
88
+ crass (~> 1.0.2)
89
+ nokogiri (>= 1.5.9)
90
+ mail (2.7.1)
91
+ mini_mime (>= 0.1.1)
92
+ marcel (1.0.2)
93
+ method_source (1.0.0)
94
+ mini_mime (1.1.2)
95
+ minitest (5.15.0)
96
+ net-imap (0.2.3)
97
+ digest
98
+ net-protocol
99
+ strscan
100
+ net-pop (0.1.1)
101
+ digest
102
+ net-protocol
103
+ timeout
104
+ net-protocol (0.1.3)
105
+ timeout
106
+ net-smtp (0.3.1)
107
+ digest
108
+ net-protocol
109
+ timeout
110
+ nio4r (2.5.8)
111
+ nokogiri (1.13.4-x86_64-linux)
112
+ racc (~> 1.4)
11
113
  parallel (1.22.1)
12
114
  parser (3.1.2.0)
13
115
  ast (~> 2.4.1)
116
+ racc (1.6.0)
117
+ rack (2.2.3)
118
+ rack-test (1.1.0)
119
+ rack (>= 1.0, < 3)
120
+ rails (7.0.2.4)
121
+ actioncable (= 7.0.2.4)
122
+ actionmailbox (= 7.0.2.4)
123
+ actionmailer (= 7.0.2.4)
124
+ actionpack (= 7.0.2.4)
125
+ actiontext (= 7.0.2.4)
126
+ actionview (= 7.0.2.4)
127
+ activejob (= 7.0.2.4)
128
+ activemodel (= 7.0.2.4)
129
+ activerecord (= 7.0.2.4)
130
+ activestorage (= 7.0.2.4)
131
+ activesupport (= 7.0.2.4)
132
+ bundler (>= 1.15.0)
133
+ railties (= 7.0.2.4)
134
+ rails-dom-testing (2.0.3)
135
+ activesupport (>= 4.2.0)
136
+ nokogiri (>= 1.6)
137
+ rails-html-sanitizer (1.4.2)
138
+ loofah (~> 2.3)
139
+ railties (7.0.2.4)
140
+ actionpack (= 7.0.2.4)
141
+ activesupport (= 7.0.2.4)
142
+ method_source
143
+ rake (>= 12.2)
144
+ thor (~> 1.0)
145
+ zeitwerk (~> 2.5)
14
146
  rainbow (3.1.1)
15
147
  rake (13.0.6)
16
148
  regexp_parser (2.3.1)
@@ -40,12 +172,22 @@ GEM
40
172
  rubocop-ast (1.17.0)
41
173
  parser (>= 3.1.1.0)
42
174
  ruby-progressbar (1.11.0)
175
+ strscan (3.0.1)
176
+ thor (1.2.1)
177
+ timeout (0.2.0)
178
+ tzinfo (2.0.4)
179
+ concurrent-ruby (~> 1.0)
43
180
  unicode-display_width (2.1.0)
181
+ websocket-driver (0.7.5)
182
+ websocket-extensions (>= 0.1.0)
183
+ websocket-extensions (0.1.5)
184
+ zeitwerk (2.5.4)
44
185
 
45
186
  PLATFORMS
46
187
  x86_64-linux
47
188
 
48
189
  DEPENDENCIES
190
+ bundler (>= 1.0, < 3)
49
191
  rake (~> 13.0)
50
192
  ror!
51
193
  rspec (~> 3.0)
data/exe/ror ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'ror/cli'
4
+
5
+ Ror::CLI.start
data/lib/ror/cli.rb ADDED
@@ -0,0 +1,23 @@
1
+ require 'thor'
2
+ require 'ror/generators/init'
3
+
4
+ module Ror
5
+ class CLI < Thor
6
+ desc "init", "Initialize new project"
7
+ def init
8
+ Ror::Generators::Init.start
9
+ end
10
+
11
+ desc "new APP_PATH", "Create new application at APP_PATH"
12
+ def new(path)
13
+ # TODO: implement new project creation
14
+ end
15
+
16
+ desc "version", "Show current version"
17
+ def version
18
+ # BIRD: `version': uninitialized constant Ror::VERSION (NameError)
19
+ puts "Ror version " + Ror::VERSION
20
+ end
21
+ end
22
+ end
23
+
@@ -0,0 +1,23 @@
1
+ require 'thor/group'
2
+
3
+ module Ror
4
+ module Generators
5
+ class Init < Thor::Group
6
+ include Thor::Actions
7
+
8
+ ROR_DIR = '.ror'.freeze
9
+
10
+ def self.source_root
11
+ File.dirname(__FILE__) + "/templates"
12
+ end
13
+
14
+ def create_ror_dir
15
+ empty_directory(ROR_DIR)
16
+ end
17
+
18
+ def copy_rorfile
19
+ template("Rorfile.erb", "#{ROR_DIR}/Rorfile")
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,3 @@
1
+ ### Rorfile ###
2
+
3
+ Created at <%= Time.now.utc %>.
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.1"
4
+ VERSION = "0.2.4"
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.1
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Roman
@@ -10,6 +10,46 @@ bindir: exe
10
10
  cert_chain: []
11
11
  date: 1980-01-01 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '3'
23
+ type: :development
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '1.0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '3'
33
+ - !ruby/object:Gem::Dependency
34
+ name: thor
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.2'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 1.2.1
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '1.2'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 1.2.1
13
53
  - !ruby/object:Gem::Dependency
14
54
  name: rails
15
55
  requirement: !ruby/object:Gem::Requirement
@@ -27,7 +67,8 @@ dependencies:
27
67
  description: Ror is a declarative configuration framework for Ruby on Rails.
28
68
  email:
29
69
  - tonyromnet@gmail.com
30
- executables: []
70
+ executables:
71
+ - ror
31
72
  extensions: []
32
73
  extra_rdoc_files: []
33
74
  files:
@@ -41,7 +82,11 @@ files:
41
82
  - Rakefile
42
83
  - bin/console
43
84
  - bin/setup
85
+ - exe/ror
44
86
  - lib/ror.rb
87
+ - lib/ror/cli.rb
88
+ - lib/ror/generators/init.rb
89
+ - lib/ror/generators/templates/Rorfile.erb
45
90
  - lib/ror/version.rb
46
91
  - nix/sources.json
47
92
  - nix/sources.nix