ovirt_provision_plugin 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ovirt_provision_plugin/version.rb +1 -1
- metadata +2 -6
- data/locale/Makefile +0 -60
- data/locale/en/ovirt_provision_plugin.po +0 -19
- data/locale/gemspec.rb +0 -2
- data/locale/ovirt_provision_plugin.pot +0 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d2c5cafcaebdcd343231a4329aa4f3b293ee20d
|
4
|
+
data.tar.gz: 24f2d1e80de98908e23df6eb68736141e84d32d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff074d4d6148c7a12408cd69f8992f08e02be1981b46e0b4a559b8b0c617b40d00118b1223dcd8fe29d4b3706c3e8fff0f205490db54c61c1e2f8a8c9ecbf9e9
|
7
|
+
data.tar.gz: 6416cb5400342a4243d76cc0509bd56eab1d421eda56f9f38687dc6a4e5b651b2e8afc48d409dca888e56d056e46384ad8731b9214d6ad273b14c56158e612c4
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ovirt_provision_plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yaniv Bronhaim
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: factory_bot_rails
|
@@ -99,10 +99,6 @@ files:
|
|
99
99
|
- lib/ovirt_provision_plugin/engine.rb
|
100
100
|
- lib/ovirt_provision_plugin/version.rb
|
101
101
|
- lib/tasks/ovirt_provision_plugin_tasks.rake
|
102
|
-
- locale/Makefile
|
103
|
-
- locale/en/ovirt_provision_plugin.po
|
104
|
-
- locale/gemspec.rb
|
105
|
-
- locale/ovirt_provision_plugin.pot
|
106
102
|
- test/factories/ovirt_provision_plugin_factories.rb
|
107
103
|
- test/test_plugin_helper.rb
|
108
104
|
- test/unit/ovirt_provision_plugin_test.rb
|
data/locale/Makefile
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Makefile for PO merging and MO generation. More info in the README.
|
3
|
-
#
|
4
|
-
# make all-mo (default) - generate MO files
|
5
|
-
# make check - check translations using translate-tool
|
6
|
-
# make tx-update - download and merge translations from Transifex
|
7
|
-
# make clean - clean everything
|
8
|
-
#
|
9
|
-
DOMAIN = ovirt_provision_plugin
|
10
|
-
VERSION = $(shell ruby -e 'require "rubygems";spec = Gem::Specification::load(Dir.glob("../*.gemspec")[0]);puts spec.version')
|
11
|
-
POTFILE = $(DOMAIN).pot
|
12
|
-
MOFILE = $(DOMAIN).mo
|
13
|
-
POFILES = $(shell find . -name '$(DOMAIN).po')
|
14
|
-
MOFILES = $(patsubst %.po,%.mo,$(POFILES))
|
15
|
-
POXFILES = $(patsubst %.po,%.pox,$(POFILES))
|
16
|
-
EDITFILES = $(patsubst %.po,%.edit.po,$(POFILES))
|
17
|
-
|
18
|
-
%.mo: %.po
|
19
|
-
mkdir -p $(shell dirname $@)/LC_MESSAGES
|
20
|
-
msgfmt -o $(shell dirname $@)/LC_MESSAGES/$(MOFILE) $<
|
21
|
-
|
22
|
-
# Generate MO files from PO files
|
23
|
-
all-mo: $(MOFILES)
|
24
|
-
|
25
|
-
# Check for malformed strings
|
26
|
-
%.pox: %.po
|
27
|
-
msgfmt -c $<
|
28
|
-
pofilter --nofuzzy -t variables -t blank -t urls -t emails -t long -t newlines \
|
29
|
-
-t endwhitespace -t endpunc -t puncspacing -t options -t printf -t validchars --gnome $< > $@
|
30
|
-
cat $@
|
31
|
-
! grep -q msgid $@
|
32
|
-
|
33
|
-
%.edit.po:
|
34
|
-
touch $@
|
35
|
-
|
36
|
-
check: $(POXFILES)
|
37
|
-
|
38
|
-
# Unify duplicate translations
|
39
|
-
uniq-po:
|
40
|
-
for f in $(shell find ./ -name "*.po") ; do \
|
41
|
-
msguniq $$f -o $$f ; \
|
42
|
-
done
|
43
|
-
|
44
|
-
tx-pull: $(EDITFILES)
|
45
|
-
tx pull -f
|
46
|
-
for f in $(EDITFILES) ; do \
|
47
|
-
sed -i 's/^\("Project-Id-Version: \).*$$/\1$(DOMAIN) $(VERSION)\\n"/' $$f; \
|
48
|
-
done
|
49
|
-
|
50
|
-
tx-update: tx-pull
|
51
|
-
@echo
|
52
|
-
@echo Run rake plugin:gettext[$(DOMAIN)] from the Foreman installation, then make -C locale mo-files to finish
|
53
|
-
@echo
|
54
|
-
|
55
|
-
mo-files: $(MOFILES)
|
56
|
-
git add $(POFILES) $(POTFILE) ../locale/*/LC_MESSAGES
|
57
|
-
git commit -m "i18n - pulling from tx"
|
58
|
-
@echo
|
59
|
-
@echo Changes commited!
|
60
|
-
@echo
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# ovirt_provision_plugin
|
2
|
-
#
|
3
|
-
# This file is distributed under the same license as ovirt_provision_plugin.
|
4
|
-
#
|
5
|
-
#, fuzzy
|
6
|
-
msgid ""
|
7
|
-
msgstr ""
|
8
|
-
"Project-Id-Version: version 0.0.1\n"
|
9
|
-
"Report-Msgid-Bugs-To: \n"
|
10
|
-
"POT-Creation-Date: 2014-08-20 08:46+0100\n"
|
11
|
-
"PO-Revision-Date: 2014-08-20 08:54+0100\n"
|
12
|
-
"Last-Translator: Foreman Team <foreman-dev@googlegroups.com>\n"
|
13
|
-
"Language-Team: Foreman Team <foreman-dev@googlegroups.com>\n"
|
14
|
-
"Language: \n"
|
15
|
-
"MIME-Version: 1.0\n"
|
16
|
-
"Content-Type: text/plain; charset=UTF-8\n"
|
17
|
-
"Content-Transfer-Encoding: 8bit\n"
|
18
|
-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
19
|
-
|
data/locale/gemspec.rb
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
# ovirt_provision_plugin
|
2
|
-
#
|
3
|
-
# This file is distributed under the same license as ovirt_provision_plugin.
|
4
|
-
#
|
5
|
-
#, fuzzy
|
6
|
-
msgid ""
|
7
|
-
msgstr ""
|
8
|
-
"Project-Id-Version: version 0.0.1\n"
|
9
|
-
"Report-Msgid-Bugs-To: \n"
|
10
|
-
"POT-Creation-Date: 2014-08-20 08:46+0100\n"
|
11
|
-
"PO-Revision-Date: 2014-08-20 08:46+0100\n"
|
12
|
-
"Last-Translator: Foreman Team <foreman-dev@googlegroups.com>\n"
|
13
|
-
"Language-Team: Foreman Team <foreman-dev@googlegroups.com>\n"
|
14
|
-
"Language: \n"
|
15
|
-
"MIME-Version: 1.0\n"
|
16
|
-
"Content-Type: text/plain; charset=UTF-8\n"
|
17
|
-
"Content-Transfer-Encoding: 8bit\n"
|
18
|
-
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
19
|
-
|