i18n_composer 0.0.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: b52212e56159faba3b5f40c4457b6769c3dc51ee0ff2360856e628010283f51e
4
+ data.tar.gz: 6dac47d7db108cfad6f8a57c30af22f32f40dd397a47fd683e76208b2499bdc7
5
+ SHA512:
6
+ metadata.gz: 57592694c97702d271f5beefe7e67ab53522a790e0fa856ccd706168b45024e322a5ebc81f8bbf0cae37ac6045535cc1e80f768f85859cfc0b1f8de96904e61f
7
+ data.tar.gz: c476b5639f1d0fa4f3e60ac3d39388b75319e07f2205074f2adbbb426c6ed37e8c21314e03af36fc32ffb05a47ef7fd197898038eec78d847198c48968228311
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2023 nejdetkadir
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # I18nComposer
2
+
3
+ The i18nComposer gem is a versatile toolkit designed to streamline the internationalization (i18n) workflow for Ruby on Rails developers. As projects grow and expand into global markets, managing translations becomes a critical aspect. i18nComposer simplifies this process by providing a comprehensive solution to create, edit, and synchronize translation strings within the Rails ecosystem.
4
+
5
+ ## Usage
6
+
7
+ How to use my plugin.
8
+
9
+ ## Installation
10
+
11
+ Add this line to your application's Gemfile:
12
+
13
+ ```ruby
14
+ gem "i18n_composer"
15
+ ```
16
+
17
+ And then execute:
18
+
19
+ ```bash
20
+ $ bundle
21
+ ```
22
+
23
+ Or install it yourself as:
24
+
25
+ ```bash
26
+ $ gem install i18n_composer
27
+ ```
28
+
29
+ ## Contributing
30
+
31
+ Contribution directions go here.
32
+
33
+ ## License
34
+
35
+ The gem is available as open source under the terms of the [MIT License](LICENSE).
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/setup'
4
+
5
+ APP_RAKEFILE = File.expand_path('test/dummy/Rakefile', __dir__)
6
+ load 'rails/tasks/engine.rake'
7
+
8
+ load 'rails/tasks/statistics.rake'
9
+
10
+ require 'bundler/gem_tasks'
@@ -0,0 +1 @@
1
+ //= link_directory ../stylesheets/i18n_composer .css
@@ -0,0 +1,15 @@
1
+ /*
2
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
3
+ * listed below.
4
+ *
5
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
+ *
8
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10
+ * files in this directory. Styles in this file should be added after the last require_* statement.
11
+ * It is generally better to create a new file per style scope.
12
+ *
13
+ *= require_tree .
14
+ *= require_self
15
+ */
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ module I18nComposer
4
+ class ApplicationController < ActionController::Base
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ module I18nComposer
4
+ module ApplicationHelper
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ module I18nComposer
4
+ class ApplicationJob < ActiveJob::Base
5
+ end
6
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ module I18nComposer
4
+ class ApplicationMailer < ActionMailer::Base
5
+ default from: 'from@example.com'
6
+ layout 'mailer'
7
+ end
8
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module I18nComposer
4
+ class ApplicationRecord < ActiveRecord::Base
5
+ self.abstract_class = true
6
+ end
7
+ end
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>I18n composer</title>
5
+ <%= csrf_meta_tags %>
6
+ <%= csp_meta_tag %>
7
+
8
+ <%= stylesheet_link_tag "i18n_composer/application", media: "all" %>
9
+ </head>
10
+ <body>
11
+
12
+ <%= yield %>
13
+
14
+ </body>
15
+ </html>
data/config/routes.rb ADDED
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ I18nComposer::Engine.routes.draw do
4
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module I18nComposer
4
+ class Engine < ::Rails::Engine
5
+ isolate_namespace I18nComposer
6
+ end
7
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module I18nComposer
4
+ VERSION = '0.0.0'
5
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'i18n_composer/version'
4
+ require 'i18n_composer/engine'
5
+
6
+ module I18nComposer
7
+ # Your code goes here...
8
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+ # desc "Explaining what the task does"
3
+ # task :i18n_composer do
4
+ # # Task goes here
5
+ # end
metadata ADDED
@@ -0,0 +1,82 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: i18n_composer
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - nejdetkadir
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2023-08-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 6.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 6.0.0
27
+ description: The i18nComposer gem is a versatile toolkit designed to streamline the
28
+ internationalization (i18n) workflow for Ruby on Rails developers. As projects grow
29
+ and expand into global markets, managing translations becomes a critical aspect.
30
+ i18nComposer simplifies this process by providing a comprehensive solution to create,
31
+ edit, and synchronize translation strings within the Rails ecosystem.
32
+ email:
33
+ - nejdetkadir.550@gmail.com
34
+ executables: []
35
+ extensions: []
36
+ extra_rdoc_files: []
37
+ files:
38
+ - LICENSE
39
+ - README.md
40
+ - Rakefile
41
+ - app/assets/config/i18n_composer_manifest.js
42
+ - app/assets/stylesheets/i18n_composer/application.css
43
+ - app/controllers/i18n_composer/application_controller.rb
44
+ - app/helpers/i18n_composer/application_helper.rb
45
+ - app/jobs/i18n_composer/application_job.rb
46
+ - app/mailers/i18n_composer/application_mailer.rb
47
+ - app/models/i18n_composer/application_record.rb
48
+ - app/views/layouts/i18n_composer/application.html.erb
49
+ - config/routes.rb
50
+ - lib/i18n_composer.rb
51
+ - lib/i18n_composer/engine.rb
52
+ - lib/i18n_composer/version.rb
53
+ - lib/tasks/i18n_composer_tasks.rake
54
+ homepage: https://github.com/nejdetkadir/i18n_composer
55
+ licenses:
56
+ - MIT
57
+ metadata:
58
+ homepage_uri: https://github.com/nejdetkadir/i18n_composer
59
+ source_code_uri: https://github.com/nejdetkadir/i18n_composer
60
+ post_install_message:
61
+ rdoc_options: []
62
+ require_paths:
63
+ - lib
64
+ required_ruby_version: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '2.7'
69
+ required_rubygems_version: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
74
+ requirements: []
75
+ rubygems_version: 3.4.12
76
+ signing_key:
77
+ specification_version: 4
78
+ summary: The i18nComposer gem empowers developers to seamlessly create, manage, and
79
+ organize internationalization (i18n) translations within Ruby on Rails applications.
80
+ With an intuitive and feature-rich interface, developers can efficiently compose,
81
+ edit, and harmonize multilingual content, ensuring a streamlined localization process.
82
+ test_files: []