isomorfeus 2.2.9 → 2.3.0

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: 143789b6ef216b4b8e6bcf09266097608b661d804fe7704c5d79dcd115d56932
4
- data.tar.gz: af6568cf5e57fab98b866fcfca8d06a70f37875593115b69d616b782f3848dba
3
+ metadata.gz: 68ba03d5f76e50d841ecc90439a514bebf956bac71cda52c212a46309dd26df4
4
+ data.tar.gz: 4fc8c2594d781422a2528ef56d5c29d626f6c972d223f756b69b3b81ac64ccab
5
5
  SHA512:
6
- metadata.gz: 9c7b2d3657305b3ddeab27c694aef77afe9bd678081f64989098b0dbb2d18356908dc74ffb93e8f419008323c1f27128124e2033da10e83722b572c13239af16
7
- data.tar.gz: bdf2639e30e5b6be5e1375a24a295212292a88e6fe8b857c637e598b7001a1ed7975e829287e6f06fca9dc75890d45e53dc0cffcdfb3cd81dfb6b1dbb1312c49
6
+ metadata.gz: 00fe16481e8fd3054f7a6a7a9deff28ccd4c507dd8910d5caa1a60fe0e126201c6e0acd6c36012529ae95e11afae7ed5b46035bb594f1d3cb236da2d4db8a732
7
+ data.tar.gz: d35d516db1a586e91a1e1e12a035d258a226846f5ae22fc22f92f68387e1ce72fb5cadd599d0eca68f6453deaedbfdb0f20e0ec4c79191821318153df6daa036
@@ -65,14 +65,6 @@ DESC
65
65
  Isomorfeus::Console.new.run
66
66
  end
67
67
 
68
- desc "upgrade", "Install updated config and provide hints for upgrading."
69
- option :yarn_and_bundle, default: 'yes', required: false, type: :string, aliases: '-y',
70
- desc: "Execute bundle install: -y or -y yes, do not execute: -y no"
71
- def upgrade
72
- Isomorfeus::Installer::Upgrade.execute
73
- Isomorfeus::Installer::Bundle.execute
74
- end
75
-
76
68
  desc "versions", "Show versions of important Isomorfeus gems, to be executed within the project root."
77
69
  def versions
78
70
  output = "isomorfeus command version #{Isomorfeus::VERSION}\nProject gem versions:\n"
@@ -1,5 +1,4 @@
1
1
  if %w[c con console].include?(ARGV[0])
2
- require 'pry'
3
2
  require_relative '../isomorfeus/console'
4
3
 
5
4
  Isomorfeus::Console.new.run
@@ -20,7 +19,6 @@ else
20
19
  require_relative '../isomorfeus/installer/install_targets'
21
20
  require_relative '../isomorfeus/installer/new_project'
22
21
  require_relative '../isomorfeus/installer/test_app_files'
23
- require_relative '../isomorfeus/installer/upgrade'
24
22
  require_relative '../isomorfeus/installer/target/web'
25
23
  require_relative '../isomorfeus/installer/bundle'
26
24
 
@@ -1,3 +1,9 @@
1
+ require "bundler"
2
+ Bundler.setup
3
+
4
+ require "irb"
5
+ require "irb/completion"
6
+
1
7
  module Isomorfeus
2
8
  class Console
3
9
  def initialize
@@ -15,7 +21,8 @@ module Isomorfeus
15
21
  end
16
22
 
17
23
  def run
18
- Isomorfeus.pry
24
+ $ARGV.shift
25
+ IRB.start(Isomorfeus.root)
19
26
  end
20
27
  end
21
28
  end
@@ -56,11 +56,10 @@ module Isomorfeus
56
56
  data_hash = { roda_app_class: Isomorfeus::Installer.roda_app_class, roda_app_path: Isomorfeus::Installer.roda_app_path,
57
57
  rack_server: Isomorfeus::Installer.rack_server_name }
58
58
  create_file_from_template(Isomorfeus::Installer.templates_path, 'spec_helper.rb.erb', File.join('spec', 'spec_helper.rb'), data_hash)
59
- create_file_from_template(Isomorfeus::Installer.templates_path, 'web_spec.rb.erb', File.join('spec', 'web_spec.rb'), {})
60
59
  end
61
60
 
62
61
  def config_path(config_file)
63
- File.join( 'config', config_file)
62
+ File.join('config', config_file)
64
63
  end
65
64
  end
66
65
  end
@@ -23,7 +23,7 @@ module Isomorfeus
23
23
 
24
24
  if Isomorfeus::Installer.project_name == 'test_app'
25
25
  gem_lines = ''
26
- %i[isomorfeus isomorfeus-data isomorfeus-i18n isomorfeus-mailer isomorfeus-operation isomorfeus-policy isomorfeus-transport].each do |i_module|
26
+ %i[isomorfeus isomorfeus-data isomorfeus-empowerment isomorfeus-i18n isomorfeus-mailer isomorfeus-operation isomorfeus-policy isomorfeus-transport].each do |i_module|
27
27
  gem_lines << "gem '#{i_module}', path: #{Isomorfeus::Installer.isomorfeus_module == i_module ? "'..'\n" : "'../../#{i_module}'"}\n"
28
28
  end
29
29
  data_hash[:isomorfeus_gems] = gem_lines.chop
@@ -2,6 +2,7 @@ source 'https://rubygems.org'
2
2
  git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3
3
 
4
4
  gem 'wdm', '>= 0.1.1' if Gem.win_platform?
5
+ gem 'concurrent-ruby-ext'
5
6
  <%= rack_server_gems %>
6
7
  gem 'roda', '~> 3.53.0'
7
8
  gem 'opal', '~> 1.4.1'
@@ -11,12 +12,9 @@ gem 'opal', '~> 1.4.1'
11
12
  group :development do
12
13
  gem 'debase', '0.2.5.beta2'
13
14
  gem 'ruby-debug-ide', '0.7.3'
14
- gem 'pry', '~> 0.14.1'
15
- gem 'pry-rescue'
16
- gem 'pry-stack_explorer'
17
15
  end
18
16
 
19
17
  group :test do
20
18
  gem 'rspec', '~> 3.11.0'
21
- gem 'isomorfeus-puppetmaster', '~> 0.6.5'
19
+ gem 'isomorfeus-puppetmaster', '~> 0.6.6'
22
20
  end
@@ -6,6 +6,7 @@ require 'isomorfeus-i18n'
6
6
  require 'isomorfeus-preact'
7
7
  require 'isomorfeus-data'
8
8
  require 'isomorfeus-operation'
9
+ require 'isomorfeus-empowerment'
9
10
 
10
11
  require_tree 'policies', autoload: true
11
12
  require_tree 'channels', autoload: true
@@ -6,6 +6,7 @@ require 'isomorfeus-transport'
6
6
  require 'isomorfeus-data'
7
7
  require 'isomorfeus-i18n'
8
8
  require 'isomorfeus-operation'
9
+ require 'isomorfeus-empowerment'
9
10
 
10
11
  require_tree 'policies', autoload: true
11
12
  require_tree 'channels', autoload: true
@@ -2,9 +2,9 @@ class <%= app_class %> < LucidApp::Base
2
2
  render do
3
3
  Router(hook: Preact.location_hook(props.location)) do
4
4
  Switch do
5
- Route(path: '/', component: HelloComponent.JS[:preact_component])
6
- Route(path: '/welcome', component: WelcomeComponent.JS[:preact_component])
7
- Route(component: NotFound404Component.JS[:preact_component])
5
+ Route(path: '/', component: HelloComponent.to_js)
6
+ Route(path: '/welcome', component: WelcomeComponent.to_js)
7
+ Route(component: NotFound404Component.to_js)
8
8
  end
9
9
  end
10
10
  end
@@ -15,4 +15,9 @@ Isomorfeus::Puppetmaster.boot_app
15
15
 
16
16
  RSpec.configure do |config|
17
17
  config.include Isomorfeus::Puppetmaster::DSL
18
+
19
+ # useful for debugging
20
+ # config.before :all do
21
+ # set_launch_options(headless: false, devtools: true)
22
+ # end
18
23
  end
@@ -1,3 +1,3 @@
1
1
  module Isomorfeus
2
- VERSION = '2.2.9'
2
+ VERSION = '2.3.0'
3
3
  end
data/lib/isomorfeus.rb CHANGED
@@ -7,4 +7,5 @@ require 'isomorfeus-transport'
7
7
  require 'isomorfeus-i18n'
8
8
  require 'isomorfeus-data'
9
9
  require 'isomorfeus-operation'
10
+ require 'isomorfeus-empowerment'
10
11
  require 'isomorfeus-mailer'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isomorfeus
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.9
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-25 00:00:00.000000000 Z
11
+ date: 2022-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 3.13.11
55
- - !ruby/object:Gem::Dependency
56
- name: pry
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: 0.14.1
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: 0.14.1
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: thor
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -86,42 +72,42 @@ dependencies:
86
72
  requirements:
87
73
  - - "~>"
88
74
  - !ruby/object:Gem::Version
89
- version: 0.5.2
75
+ version: 0.5.3
90
76
  type: :runtime
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
80
  - - "~>"
95
81
  - !ruby/object:Gem::Version
96
- version: 0.5.2
82
+ version: 0.5.3
97
83
  - !ruby/object:Gem::Dependency
98
84
  name: isomorfeus-asset-manager
99
85
  requirement: !ruby/object:Gem::Requirement
100
86
  requirements:
101
87
  - - "~>"
102
88
  - !ruby/object:Gem::Version
103
- version: 0.14.17
89
+ version: 0.14.21
104
90
  type: :runtime
105
91
  prerelease: false
106
92
  version_requirements: !ruby/object:Gem::Requirement
107
93
  requirements:
108
94
  - - "~>"
109
95
  - !ruby/object:Gem::Version
110
- version: 0.14.17
96
+ version: 0.14.21
111
97
  - !ruby/object:Gem::Dependency
112
98
  name: isomorfeus-preact
113
99
  requirement: !ruby/object:Gem::Requirement
114
100
  requirements:
115
101
  - - "~>"
116
102
  - !ruby/object:Gem::Version
117
- version: 10.6.54
103
+ version: 10.6.60
118
104
  type: :runtime
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
107
  requirements:
122
108
  - - "~>"
123
109
  - !ruby/object:Gem::Version
124
- version: 10.6.54
110
+ version: 10.6.60
125
111
  - !ruby/object:Gem::Dependency
126
112
  name: isomorfeus-redux
127
113
  requirement: !ruby/object:Gem::Requirement
@@ -142,84 +128,98 @@ dependencies:
142
128
  requirements:
143
129
  - - '='
144
130
  - !ruby/object:Gem::Version
145
- version: 2.2.9
131
+ version: 2.3.0
146
132
  type: :runtime
147
133
  prerelease: false
148
134
  version_requirements: !ruby/object:Gem::Requirement
149
135
  requirements:
150
136
  - - '='
151
137
  - !ruby/object:Gem::Version
152
- version: 2.2.9
138
+ version: 2.3.0
153
139
  - !ruby/object:Gem::Dependency
154
140
  name: isomorfeus-transport
155
141
  requirement: !ruby/object:Gem::Requirement
156
142
  requirements:
157
143
  - - '='
158
144
  - !ruby/object:Gem::Version
159
- version: 2.2.9
145
+ version: 2.3.0
160
146
  type: :runtime
161
147
  prerelease: false
162
148
  version_requirements: !ruby/object:Gem::Requirement
163
149
  requirements:
164
150
  - - '='
165
151
  - !ruby/object:Gem::Version
166
- version: 2.2.9
152
+ version: 2.3.0
167
153
  - !ruby/object:Gem::Dependency
168
154
  name: isomorfeus-data
169
155
  requirement: !ruby/object:Gem::Requirement
170
156
  requirements:
171
157
  - - '='
172
158
  - !ruby/object:Gem::Version
173
- version: 2.2.9
159
+ version: 2.3.0
174
160
  type: :runtime
175
161
  prerelease: false
176
162
  version_requirements: !ruby/object:Gem::Requirement
177
163
  requirements:
178
164
  - - '='
179
165
  - !ruby/object:Gem::Version
180
- version: 2.2.9
166
+ version: 2.3.0
181
167
  - !ruby/object:Gem::Dependency
182
168
  name: isomorfeus-i18n
183
169
  requirement: !ruby/object:Gem::Requirement
184
170
  requirements:
185
171
  - - '='
186
172
  - !ruby/object:Gem::Version
187
- version: 2.2.9
173
+ version: 2.3.0
188
174
  type: :runtime
189
175
  prerelease: false
190
176
  version_requirements: !ruby/object:Gem::Requirement
191
177
  requirements:
192
178
  - - '='
193
179
  - !ruby/object:Gem::Version
194
- version: 2.2.9
180
+ version: 2.3.0
195
181
  - !ruby/object:Gem::Dependency
196
182
  name: isomorfeus-operation
197
183
  requirement: !ruby/object:Gem::Requirement
198
184
  requirements:
199
185
  - - '='
200
186
  - !ruby/object:Gem::Version
201
- version: 2.2.9
187
+ version: 2.3.0
188
+ type: :runtime
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - '='
193
+ - !ruby/object:Gem::Version
194
+ version: 2.3.0
195
+ - !ruby/object:Gem::Dependency
196
+ name: isomorfeus-empowerment
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - '='
200
+ - !ruby/object:Gem::Version
201
+ version: 2.3.0
202
202
  type: :runtime
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - '='
207
207
  - !ruby/object:Gem::Version
208
- version: 2.2.9
208
+ version: 2.3.0
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: isomorfeus-mailer
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - '='
214
214
  - !ruby/object:Gem::Version
215
- version: 2.2.9
215
+ version: 2.3.0
216
216
  type: :runtime
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - '='
221
221
  - !ruby/object:Gem::Version
222
- version: 2.2.9
222
+ version: 2.3.0
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: bundler
225
225
  requirement: !ruby/object:Gem::Requirement
@@ -308,7 +308,6 @@ files:
308
308
  - lib/isomorfeus/installer/templates/web_spec.rb.erb
309
309
  - lib/isomorfeus/installer/templates/welcome_component.rb.erb
310
310
  - lib/isomorfeus/installer/test_app_files.rb
311
- - lib/isomorfeus/installer/upgrade.rb
312
311
  - lib/isomorfeus/version.rb
313
312
  homepage: https://isomorfeus.com
314
313
  licenses:
@@ -1,11 +0,0 @@
1
- module Isomorfeus
2
- module Installer
3
- class Upgrade
4
- class << self
5
- def execute
6
-
7
- end
8
- end
9
- end
10
- end
11
- end