komponent 2.2.0 → 3.0.0.beta1

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.
Files changed (58) hide show
  1. checksums.yaml +5 -5
  2. data/.editorconfig +14 -0
  3. data/.gitignore +2 -0
  4. data/.rubocop.yml +10 -7
  5. data/.travis.yml +4 -5
  6. data/Appraisals +15 -0
  7. data/CHANGELOG.md +19 -1
  8. data/Gemfile +1 -0
  9. data/README.md +75 -25
  10. data/app/controllers/komponent/styleguide_controller.rb +20 -0
  11. data/app/views/komponent/styleguide/index.html.erb +9 -0
  12. data/app/views/komponent/styleguide/missing_template.html.erb +3 -0
  13. data/app/views/komponent/styleguide/show.html.erb +1 -0
  14. data/app/views/layouts/komponent.html.erb +17 -0
  15. data/config/routes.rb +5 -0
  16. data/komponent.gemspec +6 -5
  17. data/lib/generators/component/component_generator.rb +19 -3
  18. data/lib/generators/component/templates/examples.html.erb.erb +3 -0
  19. data/lib/generators/component/templates/examples.html.haml.erb +3 -0
  20. data/lib/generators/component/templates/examples.html.slim.erb +3 -0
  21. data/lib/generators/component/templates/stimulus_view.html.haml.erb +1 -1
  22. data/lib/generators/component/templates/view.html.haml.erb +1 -1
  23. data/lib/generators/komponent/examples_generator.rb +40 -0
  24. data/lib/generators/komponent/install_generator.rb +37 -41
  25. data/lib/generators/komponent/styleguide_generator.rb +41 -0
  26. data/lib/generators/komponent/templates/styleguide/components/container/_komponent_container.html.erb +3 -0
  27. data/lib/generators/komponent/templates/styleguide/components/container/komponent_container.css +17 -0
  28. data/lib/generators/komponent/templates/styleguide/components/container/komponent_container.js +1 -0
  29. data/lib/generators/komponent/templates/styleguide/components/container/komponent_container_component.rb +5 -0
  30. data/lib/generators/komponent/templates/styleguide/components/footer/_komponent_footer.html.erb +3 -0
  31. data/lib/generators/komponent/templates/styleguide/components/footer/komponent_footer.css +27 -0
  32. data/lib/generators/komponent/templates/styleguide/components/footer/komponent_footer.js +1 -0
  33. data/lib/generators/komponent/templates/styleguide/components/footer/komponent_footer_component.rb +5 -0
  34. data/lib/generators/komponent/templates/styleguide/components/header/_komponent_header.html.erb +3 -0
  35. data/lib/generators/komponent/templates/styleguide/components/header/komponent_header.css +15 -0
  36. data/lib/generators/komponent/templates/styleguide/components/header/komponent_header.js +1 -0
  37. data/lib/generators/komponent/templates/styleguide/components/header/komponent_header_component.rb +5 -0
  38. data/lib/generators/komponent/templates/styleguide/components/index.js +4 -0
  39. data/lib/generators/komponent/templates/styleguide/components/sidebar/_komponent_sidebar.html.erb +10 -0
  40. data/lib/generators/komponent/templates/styleguide/components/sidebar/komponent_sidebar.css +43 -0
  41. data/lib/generators/komponent/templates/styleguide/components/sidebar/komponent_sidebar.js +1 -0
  42. data/lib/generators/komponent/templates/styleguide/components/sidebar/komponent_sidebar_component.rb +5 -0
  43. data/lib/generators/komponent/templates/styleguide/packs/komponent.js +2 -0
  44. data/lib/generators/komponent/utils.rb +49 -0
  45. data/lib/komponent.rb +2 -2
  46. data/lib/komponent/component.rb +55 -0
  47. data/lib/komponent/component_path_resolver.rb +6 -6
  48. data/lib/komponent/component_renderer.rb +3 -1
  49. data/lib/komponent/{railtie.rb → engine.rb} +21 -1
  50. data/lib/komponent/komponent_helper.rb +29 -0
  51. data/lib/komponent/rails/tasks/komponent.rake +12 -0
  52. data/lib/komponent/translation.rb +15 -3
  53. data/lib/komponent/version.rb +1 -1
  54. metadata +62 -18
  55. data/gemfiles/Gemfile-rails.4.2.x +0 -8
  56. data/gemfiles/Gemfile-rails.5.0.x +0 -8
  57. data/gemfiles/Gemfile-rails.5.1.x +0 -8
  58. data/gemfiles/Gemfile-rails.5.2.x +0 -8
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module KomponentHeaderComponent
4
+ extend ComponentHelper
5
+ end
@@ -0,0 +1,4 @@
1
+ import "components/komponent/container/komponent_container";
2
+ import "components/komponent/footer/komponent_footer";
3
+ import "components/komponent/header/komponent_header";
4
+ import "components/komponent/sidebar/komponent_sidebar";
@@ -0,0 +1,10 @@
1
+ <div class="komponent-sidebar">
2
+ <div class="komponent-sidebar-title">Components</div>
3
+ <ul class="komponent-sidebar-items">
4
+ <%- components.each do |_k, component| %>
5
+ <li class="komponent-sidebar-item">
6
+ <%= link_to_unless_current component.title, styleguide_path(id: component.id) %>
7
+ </li>
8
+ <% end %>
9
+ </ul>
10
+ </div>
@@ -0,0 +1,43 @@
1
+ /* stylelint-disable value-list-comma-newline-after */
2
+
3
+ .komponent-sidebar {
4
+ background-color: #dbe1f3;
5
+ bottom: 0;
6
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
7
+ Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
8
+ left: 0;
9
+ overflow: auto;
10
+ padding: 20px;
11
+ position: absolute;
12
+ top: 60px;
13
+ width: 240px;
14
+
15
+ &-title {
16
+ color: #0038ea;
17
+ font-size: 14px;
18
+ font-weight: bold;
19
+ letter-spacing: 1px;
20
+ margin: 0 0 20px;
21
+ text-transform: uppercase;
22
+ }
23
+
24
+ &-items {
25
+ font-size: 14px;
26
+ letter-spacing: 0;
27
+ line-height: 1.25;
28
+ list-style: none;
29
+ margin: 0 0 30px;
30
+ padding: 0;
31
+ }
32
+
33
+ &-item {
34
+ margin: 0 0 5px;
35
+ }
36
+
37
+ a {
38
+ color: #333;
39
+ text-decoration: none;
40
+ }
41
+ }
42
+
43
+ /* stylelint-enable */
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module KomponentSidebarComponent
4
+ extend ComponentHelper
5
+ end
@@ -0,0 +1,2 @@
1
+ import 'components';
2
+ import 'components/komponent';
@@ -0,0 +1,49 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Komponent
4
+ module Generators
5
+ module Utils
6
+ protected
7
+
8
+ def rails_configuration
9
+ Rails.application.config
10
+ end
11
+
12
+ def app_generators
13
+ rails_configuration.app_generators
14
+ end
15
+
16
+ def template_engine
17
+ app_generators.rails[:template_engine] || :erb
18
+ end
19
+
20
+ def default_path
21
+ rails_configuration.komponent.root
22
+ end
23
+
24
+ def relative_path_from_rails
25
+ default_path.relative_path_from(Rails.root)
26
+ end
27
+
28
+ def komponent_root_directory
29
+ default_path
30
+ end
31
+
32
+ def komponent_configuration
33
+ {
34
+ stimulus: nil,
35
+ locale: nil,
36
+ examples: nil,
37
+ }.merge(app_generators.komponent)
38
+ end
39
+
40
+ def components_directory
41
+ Rails.root.join(komponent_root_directory, 'components')
42
+ end
43
+
44
+ def komponent_already_installed?
45
+ File.directory?(relative_path_from_rails)
46
+ end
47
+ end
48
+ end
49
+ end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "komponent/version"
3
+ require 'komponent/version'
4
4
 
5
5
  module Komponent
6
- require 'komponent/railtie' if defined?(Rails)
6
+ require 'komponent/engine' if defined?(Rails)
7
7
  end
@@ -0,0 +1,55 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Komponent
4
+ class Component
5
+ class << self
6
+ def all
7
+ component_dirs = components_root.join('*/**/')
8
+
9
+ components = {}
10
+
11
+ # TODO: list only components directories
12
+ # use ComponentPathResolver?
13
+ Dir.glob(component_dirs).sort.each do |component_dir|
14
+ component_path = Pathname.new(component_dir).relative_path_from(components_root).to_s
15
+
16
+ next unless File.exist?(components_root.join(component_path)
17
+ .join("#{File.basename(component_path)}_component.rb"))
18
+
19
+ components[component_path] = Component.new(component_path)
20
+ end
21
+
22
+ components
23
+ end
24
+
25
+ def find(id)
26
+ components = all
27
+
28
+ raise Exception, "Component with ID=#{id} not found" unless components.keys.include? id
29
+ components.fetch(id)
30
+ end
31
+
32
+ def components_root
33
+ @components_root ||= Rails.application.config.komponent.root.join('components')
34
+ end
35
+ end
36
+
37
+ attr_reader :id
38
+
39
+ def initialize(id)
40
+ @id = id
41
+ end
42
+
43
+ def title
44
+ id.titleize
45
+ end
46
+
47
+ def path
48
+ Komponent::ComponentPathResolver.new.resolve(@id)
49
+ end
50
+
51
+ def examples_view
52
+ "components/#{id}/examples"
53
+ end
54
+ end
55
+ end
@@ -17,6 +17,12 @@ module Komponent
17
17
  root_path.join(*component_name)
18
18
  end
19
19
 
20
+ def component_paths
21
+ komponent_configuration.component_paths.map do |path|
22
+ Pathname.new(path)
23
+ end
24
+ end
25
+
20
26
  protected
21
27
 
22
28
  def path_has_component?(path, component_name)
@@ -27,12 +33,6 @@ module Komponent
27
33
  File.exist?(file_name)
28
34
  end
29
35
 
30
- def component_paths
31
- komponent_configuration.component_paths.map do |path|
32
- Pathname.new(path)
33
- end
34
- end
35
-
36
36
  def komponent_configuration
37
37
  app_configuration.komponent
38
38
  end
@@ -7,10 +7,11 @@ module Komponent
7
7
  attr_accessor :output_buffer
8
8
  attr_reader :context
9
9
 
10
- def initialize(controller)
10
+ def initialize(controller, view_flow = nil)
11
11
  @context = controller.view_context.dup
12
12
  @view_renderer = @context.view_renderer = @context.view_renderer.dup
13
13
  @lookup_context = @view_renderer.lookup_context = @view_renderer.lookup_context.dup
14
+ @view_flow = view_flow
14
15
  end
15
16
 
16
17
  def render(component, locals = {}, options = {}, &block)
@@ -40,6 +41,7 @@ module Komponent
40
41
  require_dependency(component_module_path)
41
42
  component_module = "#{component_name}_component".camelize.constantize
42
43
 
44
+ @context.view_flow = @view_flow if @view_flow
43
45
  @context.class_eval { prepend component_module }
44
46
  @context.class_eval { prepend Komponent::Translation }
45
47
 
@@ -4,10 +4,17 @@ require 'webpacker'
4
4
  require 'komponent/component_helper'
5
5
  require 'komponent/component_path_resolver'
6
6
  require 'komponent/component_renderer'
7
+ require 'komponent/component'
7
8
  require 'komponent/translation'
8
9
 
9
10
  module Komponent
10
- class Railtie < Rails::Railtie
11
+ class Engine < Rails::Engine
12
+ isolate_namespace Komponent
13
+
14
+ rake_tasks do
15
+ load 'komponent/rails/tasks/komponent.rake'
16
+ end
17
+
11
18
  config.komponent = ActiveSupport::OrderedOptions.new
12
19
  config.komponent.root = nil
13
20
  config.komponent.component_paths = []
@@ -22,6 +29,9 @@ module Komponent
22
29
  app.config.komponent.component_paths.prepend(
23
30
  app.config.komponent.root.join("components")
24
31
  )
32
+ app.config.komponent.component_paths.append(
33
+ Komponent::Engine.root.join('frontend/components')
34
+ )
25
35
 
26
36
  ActiveSupport.on_load :action_view do
27
37
  require 'komponent/komponent_helper'
@@ -34,5 +44,15 @@ module Komponent
34
44
  )
35
45
  end
36
46
  end
47
+
48
+ initializer "my_engine.action_dispatch" do |app|
49
+ ActiveSupport.on_load :action_controller do
50
+ ActionController::Base.prepend_view_path Komponent::Engine.root.join("frontend")
51
+ end
52
+ end
53
+
54
+ initializer 'komponent.autoload', before: :set_autoload_paths do |app|
55
+ app.config.autoload_paths << Komponent::Engine.root.join('frontend')
56
+ end
37
57
  end
38
58
  end
@@ -1,10 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'komponent/component'
4
+
3
5
  module KomponentHelper
4
6
  def component(component_name, locals = {}, options = {}, &block)
5
7
  captured_block = proc { |args| capture(args, &block) } if block_given?
6
8
  Komponent::ComponentRenderer.new(
7
9
  controller,
10
+ view_flow || (view && view.view_flow),
8
11
  ).render(
9
12
  component_name,
10
13
  locals,
@@ -13,4 +16,30 @@ module KomponentHelper
13
16
  )
14
17
  end
15
18
  alias :c :component
19
+
20
+ def components
21
+ Komponent::Component.all
22
+ end
23
+
24
+ def component_with_doc(component_name, locals = {}, options = {}, &block)
25
+ captured_output = component(component_name, locals, options, &block)
26
+
27
+ captured_doc = capture do
28
+ content_tag :pre, class: "komponent-code" do
29
+ content_tag :code do
30
+ "= component \"#{component_name}\"" + (locals.present? ? ", #{pretty_locals(locals)}" : "")
31
+ end
32
+ end
33
+ end
34
+
35
+ captured_output + captured_doc
36
+ end
37
+ alias :cdoc :component_with_doc
38
+
39
+ private
40
+
41
+ def pretty_locals(locals)
42
+ return nil if locals.blank?
43
+ JSON.pretty_generate(locals).gsub(/^(\s+)"(\w+)":/, "\\1\\2:")
44
+ end
16
45
  end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ task stats: 'komponent:statsetup'
4
+
5
+ namespace :komponent do
6
+ task :statsetup => :environment do
7
+ require 'rails/code_statistics'
8
+ Rails.application.config.komponent.component_paths.each do |path|
9
+ ::STATS_DIRECTORIES << ['Components', path]
10
+ end
11
+ end
12
+ end
@@ -5,12 +5,16 @@ module Komponent
5
5
  def translate(key, options = {})
6
6
  virtual_path = @virtual_path
7
7
 
8
- is_component = key.to_s.first == "." and
8
+ is_component = key.to_s.first == "." &&
9
9
  virtual_path =~ /^components/
10
10
 
11
11
  if is_component
12
- path = virtual_path.match(/^components\/.+\/_(.+)/)[1]
13
- path += "_component"
12
+ matches = virtual_path.match(/^components\/(?<folders>.+)\/_(?<view_name>.+)/)
13
+ folders, view_name = matches['folders'], matches['view_name']
14
+
15
+ component_name = folders.gsub('/', '_')
16
+ path = path(component_name, view_name)
17
+
14
18
  defaults = [:"#{path}#{key}"]
15
19
  defaults << options[:default] if options[:default]
16
20
  options[:default] = defaults.flatten
@@ -20,5 +24,13 @@ module Komponent
20
24
  super(key, options)
21
25
  end
22
26
  alias :t :translate
27
+
28
+ private
29
+
30
+ def path(component_name, view_name)
31
+ path = "#{component_name}_component"
32
+ path += ".#{view_name}" if view_name != component_name # partial scope
33
+ path
34
+ end
23
35
  end
24
36
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Komponent
4
- VERSION = "2.2.0"
4
+ VERSION = "3.0.0.beta1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: komponent
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 3.0.0.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ouvrages
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-03 00:00:00.000000000 Z
11
+ date: 2019-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '4.2'
19
+ version: '5.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '4.2'
26
+ version: '5.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '4.2'
33
+ version: '5.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '4.2'
40
+ version: '5.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: railties
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '4.2'
47
+ version: '5.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '4.2'
54
+ version: '5.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: webpacker
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -66,20 +66,34 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: 3.0.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: appraisal
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: bundler
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
87
  - - "~>"
74
88
  - !ruby/object:Gem::Version
75
- version: '1.15'
89
+ version: 2.0.1
76
90
  type: :development
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
94
  - - "~>"
81
95
  - !ruby/object:Gem::Version
82
- version: '1.15'
96
+ version: 2.0.1
83
97
  description: An opinionated way of organizing front-end code in Ruby on Rails, based
84
98
  on components
85
99
  email:
@@ -88,26 +102,33 @@ executables: []
88
102
  extensions: []
89
103
  extra_rdoc_files: []
90
104
  files:
105
+ - ".editorconfig"
91
106
  - ".gitignore"
92
107
  - ".rubocop.yml"
93
108
  - ".simplecov"
94
109
  - ".travis.yml"
110
+ - Appraisals
95
111
  - CHANGELOG.md
96
112
  - CODE_OF_CONDUCT.md
97
113
  - Gemfile
98
114
  - LICENSE.txt
99
115
  - README.md
100
116
  - Rakefile
117
+ - app/controllers/komponent/styleguide_controller.rb
118
+ - app/views/komponent/styleguide/index.html.erb
119
+ - app/views/komponent/styleguide/missing_template.html.erb
120
+ - app/views/komponent/styleguide/show.html.erb
121
+ - app/views/layouts/komponent.html.erb
101
122
  - bin/console
102
123
  - bin/setup
103
- - gemfiles/Gemfile-rails.4.2.x
104
- - gemfiles/Gemfile-rails.5.0.x
105
- - gemfiles/Gemfile-rails.5.1.x
106
- - gemfiles/Gemfile-rails.5.2.x
124
+ - config/routes.rb
107
125
  - komponent.gemspec
108
126
  - lib/generators/component/USAGE
109
127
  - lib/generators/component/component_generator.rb
110
128
  - lib/generators/component/templates/css.erb
129
+ - lib/generators/component/templates/examples.html.erb.erb
130
+ - lib/generators/component/templates/examples.html.haml.erb
131
+ - lib/generators/component/templates/examples.html.slim.erb
111
132
  - lib/generators/component/templates/js.erb
112
133
  - lib/generators/component/templates/locale.erb
113
134
  - lib/generators/component/templates/rb.erb
@@ -120,13 +141,36 @@ files:
120
141
  - lib/generators/component/templates/view.html.erb.erb
121
142
  - lib/generators/component/templates/view.html.haml.erb
122
143
  - lib/generators/component/templates/view.html.slim.erb
144
+ - lib/generators/komponent/examples_generator.rb
123
145
  - lib/generators/komponent/install_generator.rb
146
+ - lib/generators/komponent/styleguide_generator.rb
147
+ - lib/generators/komponent/templates/styleguide/components/container/_komponent_container.html.erb
148
+ - lib/generators/komponent/templates/styleguide/components/container/komponent_container.css
149
+ - lib/generators/komponent/templates/styleguide/components/container/komponent_container.js
150
+ - lib/generators/komponent/templates/styleguide/components/container/komponent_container_component.rb
151
+ - lib/generators/komponent/templates/styleguide/components/footer/_komponent_footer.html.erb
152
+ - lib/generators/komponent/templates/styleguide/components/footer/komponent_footer.css
153
+ - lib/generators/komponent/templates/styleguide/components/footer/komponent_footer.js
154
+ - lib/generators/komponent/templates/styleguide/components/footer/komponent_footer_component.rb
155
+ - lib/generators/komponent/templates/styleguide/components/header/_komponent_header.html.erb
156
+ - lib/generators/komponent/templates/styleguide/components/header/komponent_header.css
157
+ - lib/generators/komponent/templates/styleguide/components/header/komponent_header.js
158
+ - lib/generators/komponent/templates/styleguide/components/header/komponent_header_component.rb
159
+ - lib/generators/komponent/templates/styleguide/components/index.js
160
+ - lib/generators/komponent/templates/styleguide/components/sidebar/_komponent_sidebar.html.erb
161
+ - lib/generators/komponent/templates/styleguide/components/sidebar/komponent_sidebar.css
162
+ - lib/generators/komponent/templates/styleguide/components/sidebar/komponent_sidebar.js
163
+ - lib/generators/komponent/templates/styleguide/components/sidebar/komponent_sidebar_component.rb
164
+ - lib/generators/komponent/templates/styleguide/packs/komponent.js
165
+ - lib/generators/komponent/utils.rb
124
166
  - lib/komponent.rb
167
+ - lib/komponent/component.rb
125
168
  - lib/komponent/component_helper.rb
126
169
  - lib/komponent/component_path_resolver.rb
127
170
  - lib/komponent/component_renderer.rb
171
+ - lib/komponent/engine.rb
128
172
  - lib/komponent/komponent_helper.rb
129
- - lib/komponent/railtie.rb
173
+ - lib/komponent/rails/tasks/komponent.rake
130
174
  - lib/komponent/translation.rb
131
175
  - lib/komponent/version.rb
132
176
  - logo.svg
@@ -149,12 +193,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
149
193
  version: 2.2.0
150
194
  required_rubygems_version: !ruby/object:Gem::Requirement
151
195
  requirements:
152
- - - ">="
196
+ - - ">"
153
197
  - !ruby/object:Gem::Version
154
- version: '0'
198
+ version: 1.3.1
155
199
  requirements: []
156
200
  rubyforge_project:
157
- rubygems_version: 2.6.13
201
+ rubygems_version: 2.7.7
158
202
  signing_key:
159
203
  specification_version: 4
160
204
  summary: An opinionated way of organizing front-end code in Ruby on Rails, based on