isomorfeus-installer 1.0.0.epsilon3 → 1.0.0.epsilon4

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: 71c616442138693f7dbdc4159f0164405d123d5b5fb3f05fc4f35da2d0e42053
4
- data.tar.gz: da87de6ab6ef8560149113ac18eb64f217aef602fb0249cf0d00791d4d6ef370
3
+ metadata.gz: b1ec1843516cda2d865efdb67abfa725a2fa75261e56ce3c6df116baa17c455a
4
+ data.tar.gz: bbc779e133a823c4ea7ba1714efbf8ef4075a6ff452cc1d014bb103ad9835b82
5
5
  SHA512:
6
- metadata.gz: c27feb6c699b8cfff6247faa4966b47a61275c89390562ccacc43fb7705e0c71d76ea3f0d3398e63781aace742ae6af8b739c1e9d2b682dc95d855eba83644c3
7
- data.tar.gz: f447b2bd1e616c3305f085d032629106d202efe7303106847e90e79b5dfec5f72e993817eb3205c99c7b0f9c47458225b0db54ea781706d3c28e3761e12464cc
6
+ metadata.gz: e4159f54580333bf03293ef2437e2a8dd38549b778f6d7dea04b55c73db44dd0b5637b6d89d40002bcb1562cabca75f27c29d13bc267b3b10660ccc8ba2273b5
7
+ data.tar.gz: 5feb1517862a5929b973084b10be6aac127684d79d9d5318f9c2b3928cf3f6fdd950a13a505f484d73605048ce15692d56446bb8c6d0cba23f8e5248e82ee216
@@ -25,6 +25,7 @@ module Isomorfeus
25
25
  Isomorfeus::Installer.install_isomorfeus_entries
26
26
 
27
27
  Isomorfeus::Installer.create_components
28
+ Isomorfeus::Installer.create_policy
28
29
  Isomorfeus::Installer.create_spec
29
30
 
30
31
  Isomorfeus::Installer.create_package_json
@@ -14,9 +14,9 @@ gem 'isomorfeus-redux', '~> 4.0.11'
14
14
  gem 'isomorfeus-react', '>= 16.9.5'
15
15
  gem 'isomorfeus-policy', <%= isomorfeus_policy %>
16
16
  gem 'isomorfeus-transport', <%= isomorfeus_transport %>
17
+ gem 'isomorfeus-i18n', <%= isomorfeus_i18n %>
17
18
  gem 'isomorfeus-data', <%= isomorfeus_data %>
18
19
  gem 'isomorfeus-operation', <%= isomorfeus_operation %>
19
- gem 'isomorfeus-i18n', <%= isomorfeus_i18n %>
20
20
 
21
21
  group :development do
22
22
  gem 'auto_reloader'
@@ -0,0 +1,4 @@
1
+ class AnonymousPolicy < LucidPolicy::Base
2
+ policy_for Anonymous
3
+ allow all
4
+ end
@@ -1,5 +1,5 @@
1
1
  module Isomorfeus
2
2
  module Installer
3
- VERSION = '1.0.0.epsilon3'
3
+ VERSION = '1.0.0.epsilon4'
4
4
  end
5
5
  end
@@ -228,6 +228,11 @@ module Isomorfeus
228
228
  create_file_from_template('package.json.erb', 'package.json', data_hash)
229
229
  end
230
230
 
231
+ def self.create_policy
232
+ create_file_from_template('anonymous_policy.rb.erb',
233
+ File.join(isomorfeus_path, 'policies', 'anonymous_policy.rb'), {})
234
+ end
235
+
231
236
  def self.create_procfile
232
237
  data_hash = { rack_server_start_command: rack_server[:start_command] }
233
238
  create_file_from_template('Procfile.erb', 'Procfile', data_hash)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isomorfeus-installer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.epsilon3
4
+ version: 1.0.0.epsilon4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann
@@ -133,6 +133,7 @@ files:
133
133
  - lib/isomorfeus/installer/templates/Gemfile.erb
134
134
  - lib/isomorfeus/installer/templates/Procfile.erb
135
135
  - lib/isomorfeus/installer/templates/ProcfileDebug.erb
136
+ - lib/isomorfeus/installer/templates/anonymous_policy.rb.erb
136
137
  - lib/isomorfeus/installer/templates/app.rb.erb
137
138
  - lib/isomorfeus/installer/templates/app_loader.rb.erb
138
139
  - lib/isomorfeus/installer/templates/application.css.erb