Sync from SUSE:SLFO:Main rubygem-gettext_i18n_rails_js revision 50dafd84cb34a69a033f158528c8e6f7

This commit is contained in:
Adrian Schröter 2025-02-06 18:26:08 +01:00
commit bd9ef703ad
5 changed files with 267 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

72
gem2rpm.yml Normal file
View File

@ -0,0 +1,72 @@
# ---
# ## used by gem2rpm
# :summary: this is a custom summary
# ## used by gem2rpm
# :description: |-
# this is a custom description
#
# it can be multiline
# ## used by gem2rpm
# :license: MIT or Ruby
# ## used by gem2rpm and gem_packages
# :version_suffix: -x_y
# ## used by gem2rpm and gem_packages
# :disable_docs: true
# ## used by gem2rpm
# :disable_automatic_rdoc_dep: true
# ## used by gem2rpm
# :preamble: |-
# BuildRequires: foobar
# Requires: foobar
# ## used by gem2rpm
# :patches:
# foo.patch: -p1
# bar.patch:
# ## used by gem2rpm
# :sources:
# - foo.desktop
# - bar.desktop
# :gem_install_args: '....'
# ## used by gem2rpm
# :pre_install: |-
# %if 0%{?use_system_libev}
# export USE_VENDORED_LIBEV="no"
# %endif
# ## used by gem2rpm
# :post_install: |-
# # delete custom files here or do other fancy stuff
# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
# ## used by gem2rpm
# :testsuite_command: |-
# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)
# ## used by gem2rpm
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem2rpm
# :scripts:
# :post: |-
# /bin/echo foo
# ## used by gem_packages
# :main:
# :preamble: |-
# Requires: util-linux
# Recommends: pwgen
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem_packages
# :custom:
# apache:
# :preamble: |-
# Requires: .....
# :filelist: |-
# /etc/apache2/conf.d/passenger.conf
# :summary: Custom summary is optional
# :description: |-
# Custom description is optional
#
# bar
# :post: |-
# /bin/echo foo
#
---
:sources:

BIN
gettext_i18n_rails_js-2.1.0.gem (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,112 @@
-------------------------------------------------------------------
Fri Jun 21 09:55:19 UTC 2024 - Dan Čermák <dan.cermak@posteo.net>
- ## [2.1.0](https://github.com/webhippie/gettext_i18n_rails_js/releases/tag/v2.1.0) - 2024-05-23
* Autoload parsers only on first usage to reduce memory consumtion (@jrafanie)
-------------------------------------------------------------------
Tue Nov 14 15:01:41 UTC 2023 - Dan Čermák <dan.cermak@posteo.net>
- New upstream release 2.0.0, see bundled CHANGELOG.md
-------------------------------------------------------------------
Tue Jan 25 06:57:42 UTC 2022 - Stephan Kulow <coolo@suse.com>
updated to version 1.3.1
see installed CHANGELOG.md
## [1.3.1](https://github.com/webhippie/gettext_i18n_rails_js/releases/tag/v1.4.0) - 2021-12-08
* Fixed multiline translation strings (@delxen)
* Switched to Codacy for coverage reports (@tboerger)
* Switched to GitHub actions for CI (@ezr-ondrej)
-------------------------------------------------------------------
Fri Mar 17 05:29:41 UTC 2017 - coolo@suse.com
- updated to version 1.3.0
see installed CHANGELOG.md
## [1.3.0](https://github.com/webhippie/gettext_i18n_rails_js/releases/tag/v1.3.0) - 2017-03-16
* Fixed Handlebars translations with options (@mikezaby)
* Fixed latest Rubocop offenses (@mikezaby)
* Dropped failing coveralls, fixed codeclimate (@tboerger)
-------------------------------------------------------------------
Thu Oct 13 04:32:00 UTC 2016 - coolo@suse.com
- updated to version 1.2.0
see installed CHANGELOG.md
## [1.2.0](https://github.com/webhippie/gettext_i18n_rails_js/releases/tag/v1.2.0) - 2016-06-02
* Support for JSX files (@artemv)
* Fixed test suite, reduced test matrix (@tboerger)
-------------------------------------------------------------------
Sat Jun 4 04:29:07 UTC 2016 - coolo@suse.com
- updated to version 1.1.0
see installed CHANGELOG.md
## [1.1.0](https://github.com/webhippie/gettext_i18n_rails_js/releases/tag/v1.1.0) - 2016-06-02
* Replace hyphens with underscores in locale var from DOM (@filib)
-------------------------------------------------------------------
Wed Jun 1 04:29:55 UTC 2016 - coolo@suse.com
- updated to version 1.0.4
see installed CHANGELOG.md
## [1.0.4](https://github.com/webhippie/gettext_i18n_rails_js/releases/tag/v1.0.4) - 2016-05-31
* Support ES2015 template strings (@bradbarrow)
-------------------------------------------------------------------
Wed Nov 4 05:31:45 UTC 2015 - coolo@suse.com
- updated to version 1.0.3
see installed CHANGELOG.md
## [1.0.3](https://github.com/webhippie/gettext_i18n_rails_js/releases/tag/v1.0.3) - 2015-11-03
* Stop using bundler within the core lib (@domcleal)
-------------------------------------------------------------------
Sat Apr 11 06:09:02 UTC 2015 - coolo@suse.com
- updated to version 1.0.2
* Fixes exception when parsing empty js/coffee files
* Avoid methods defined in rake task exposing globally
* Added better configuration options
-------------------------------------------------------------------
Wed Feb 25 05:30:45 UTC 2015 - coolo@suse.com
- updated to version 1.0.1
-------------------------------------------------------------------
Tue Feb 24 10:07:36 UTC 2015 - tboerger@suse.com
- Updated to version 1.0.0
- Transfer from github.com/nubis/gettext_i18n_rails_js
- Added TravisCI, Rubocop and Coveralls
- Updated structure to my opinionated gem style
- Changed default handlebars function to __
- Added extended gettext_i18n_rails_js.yml
-------------------------------------------------------------------
Thu Feb 19 05:29:28 UTC 2015 - coolo@suse.com
- updated to version 0.0.9
-------------------------------------------------------------------
Wed Dec 17 10:03:13 UTC 2014 - tboerger@suse.com
- Initial packaging of 0.0.8

View File

@ -0,0 +1,57 @@
#
# spec file for package rubygem-gettext_i18n_rails_js
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
#
# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
# All sections marked as MANUAL, license headers, summaries and descriptions
# can be maintained in that file. Please consult this file before editing any
# of those fields
#
Name: rubygem-gettext_i18n_rails_js
Version: 2.1.0
Release: 0
%define mod_name gettext_i18n_rails_js
%define mod_full_name %{mod_name}-%{version}
BuildRequires: %{ruby >= 1.9.3}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: ruby-macros >= 5
URL: https://github.com/webhippie/gettext_i18n_rails_js
Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: Extends gettext_i18n_rails making your .po files available to client
License: MIT
%description
It will find translations inside your .js and .coffee files, then it will
create JSON versions of your .PO files and will let you serve them with the
rest of your assets, thus letting you access all your translations offline
from client side javascript.
%prep
%build
%install
%gem_install \
--doc-files="CHANGELOG.md LICENSE README.md" \
-f
%gem_packages
%changelog