mumukit-platform 0.1.1 → 0.2.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
  SHA1:
3
- metadata.gz: e279cf66b86c01b1ef8a679f28e735a674dc0d62
4
- data.tar.gz: 34a0ed5c9e8ebfbab74db60a908882b9129aec8d
3
+ metadata.gz: 2f4248f9e8395f447b4556b0eb135c70132af184
4
+ data.tar.gz: 4fbd01cc3dc1801b970ae8fa41101547eae6665b
5
5
  SHA512:
6
- metadata.gz: 97daabdb3988020b9e88958c04a61e072af7db9c603110cb37435af4e0a0e268b2d2a6fd399c78568d1e17538b118a71456f1e2c7cd9b97ab653ae6d1a13d7b0
7
- data.tar.gz: 1d4d2a21c9c68b0417d5d3eff597da5035a494208fa0eaf8e6ef44912a01566d7a4e9caa1e3679f202033ff1335843e7da207b0aa0bfdc7b357cd7e10f1b048f
6
+ metadata.gz: f16f64cf1598077efe142a4ed9d3cbfd95e2800d211801429591633163c2d3e72b43d0bd84adf7f98817638ea1a65091e58b8d18a1b14589458babf374344438
7
+ data.tar.gz: 8c27d533188baccaec3e2fcf38d1b36746418d82dadfe57b5fef3e27a5db106737d3c43541ec2b2bc1a2f7be5ca89e4358b7928498528df27841e0fa69c97472
@@ -33,10 +33,13 @@ require_relative './platform/domain'
33
33
  require_relative './platform/organization_mapping'
34
34
  require_relative './platform/application'
35
35
  require_relative './platform/web_framework'
36
+
36
37
  require_relative './platform/with_applications'
37
38
  require_relative './platform/with_organization_mapping'
39
+ require_relative './platform/with_web_framework'
38
40
 
39
41
  module Mumukit::Platform
40
42
  extend Mumukit::Platform::WithApplications
41
43
  extend Mumukit::Platform::WithOrganizationMapping
44
+ extend Mumukit::Platform::WithWebFramework
42
45
  end
@@ -1,5 +1,5 @@
1
1
  module Mumukit
2
2
  module Platform
3
- VERSION = "0.1.1"
3
+ VERSION = '0.2.0'
4
4
  end
5
5
  end
@@ -6,6 +6,6 @@ module Mumukit::Platform::WithOrganizationMapping
6
6
  end
7
7
 
8
8
  def map_organization_routes!(native_mapper, &block)
9
- organization_mapping.map_organization_routes!(native_mapper, config.web_framework, &block)
9
+ organization_mapping.map_organization_routes!(native_mapper, web_framework, &block)
10
10
  end
11
11
  end
@@ -0,0 +1,3 @@
1
+ module Mumukit::Platform::WithWebFramework
2
+ delegate :web_framework, to: :config
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumukit-platform
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Leonardo Bulgarelli
@@ -92,6 +92,7 @@ files:
92
92
  - lib/mumukit/platform/web_framework.rb
93
93
  - lib/mumukit/platform/with_applications.rb
94
94
  - lib/mumukit/platform/with_organization_mapping.rb
95
+ - lib/mumukit/platform/with_web_framework.rb
95
96
  - mumukit-platform.gemspec
96
97
  homepage: https://mumuki.io
97
98
  licenses: