Deutsch 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 419c9fcbafea5d49c1c29e1fd38ca446aad9b85a
4
+ data.tar.gz: 1badd6d7c150e7d8427e08bb10c9d1cd6d7226c4
5
+ SHA512:
6
+ metadata.gz: 7face6dab29caae03a2bfd6ab03d4b5bba56514bdc6d96e682bf4941ba68affa05159fb441115ebc64bde1820e8a46e92b5e916263817a537e7b05e02c467d6f
7
+ data.tar.gz: 43993d21595b385b82956109a6482fba3073623dc007e4f1ec4248183998dea2faa3de725e5a25a459343155cbfac446a66821b48bcc56cd077c29214119a55e
@@ -0,0 +1,2 @@
1
+ Gemfile.lock
2
+ pkg
@@ -0,0 +1,17 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |gem|
4
+ gem.name = "Deutsch"
5
+ gem.version = "1.0.0"
6
+ gem.summary = "Deutsch.rb"
7
+ gem.description = "Include the Deutsch library file in a Ruby script, and you can reference the global variables such as $_ using less cryptic names."
8
+ gem.license = "MIT"
9
+ gem.authors = ["Jan Lelis"]
10
+ gem.email = "mail@janlelis.de"
11
+ gem.homepage = "https://github.com/janlelis/Deutsch.rb"
12
+ gem.files = Dir['{**/}{.*,*}'].select { |path| File.file?(path) }
13
+ gem.require_paths = ['lib']
14
+
15
+ gem.add_development_dependency 'rake', '~> 0.8'
16
+ gem.add_development_dependency 'rubygems-tasks', '~> 0.2'
17
+ end
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2014 Jan Lelis
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.
@@ -0,0 +1,21 @@
1
+ Like https://github.com/ruby/ruby/blob/trunk/lib/English.rb but for German:
2
+
3
+ Include the Deutsch library file in a Ruby script, and you can reference the global variables such as $_ using less cryptic names.
4
+
5
+ Without 'Deutsch':
6
+
7
+ $\ = ' -- '
8
+ "waterbuffalo" =~ /buff/
9
+ print $", $', $$, "\n"
10
+
11
+ With Deutsch:
12
+
13
+ require "Deutsch"
14
+
15
+ $AUSGABE_DATENSATZ_TRENNER = ' -- '
16
+ "waterbuffalo" =~ /buff/
17
+ print $GELADENE_FUNKTIONALITÄTEN, $NACHÜBEREINSTIMMUNG, $PID, "\n"
18
+
19
+
20
+ Copyright (c) 2014 Jan Lelis
21
+ MIT LICENSE
@@ -0,0 +1,5 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rake'
4
+ require 'rubygems/tasks'
5
+ Gem::Tasks.new
@@ -0,0 +1,41 @@
1
+ # https://github.com/ruby/ruby/blob/trunk/lib/English.rb
2
+ module Deutsch end if false
3
+
4
+ alias $FEHLER_INFO $!
5
+ alias $FEHLER_POSITION $@
6
+ alias $FT $;
7
+ alias $FELD_TRENNER $;
8
+ alias $AFT $,
9
+ alias $AUSGABE_FELD_TRENNER $,
10
+ alias $DT $/
11
+ alias $EINGABE_DATENSATZ_TRENNER $/
12
+ alias $ADT $\
13
+ alias $AUSGABE_DATENSATZ_TRENNER $\
14
+ alias $EINGABE_ZEILEN_NUMMER $.
15
+ alias $NR $.
16
+ alias $ZULETZT_GELESENE_ZEILE $_
17
+ alias $STANDARD_AUSGABE $>
18
+ alias $STANDARD_EINGABE $<
19
+ alias $PID $$
20
+ alias $PROZESS_ID $$
21
+ alias $KIND_STATUS $?
22
+ alias $LETZTE_ÜBEREINSTIMMUNG $~
23
+ alias $IGNORIERE_SCHREIBUNG $=
24
+ alias $ARGV $*
25
+ alias $ÜBEREINSTIMMUNG $&
26
+ alias $VORÜBEREINSTIMMUNG $`
27
+ alias $NACHÜBEREINSTIMMUNG $'
28
+ alias $LETZTE_ELTERN_ÜBEREINSTIMMUNG $+
29
+
30
+ alias $SICHERHEIT $SAFE
31
+ alias $DATEINAME $FILENAME
32
+ alias $PROGRAMM_NAME $PROGRAM_NAME
33
+ alias $LADE_PFAD $LOAD_PATH
34
+ alias $GELADENE_FUNKTIONALITÄTEN $LOADED_FEATURES
35
+ alias $AUSFÜHRLICH $VERBOSE
36
+ alias $ENTWANZEN $DEBUG
37
+
38
+ alias $bindung $binding
39
+ alias $stdrein $stdin
40
+ alias $stdraus $stdout
41
+ alias $stdfehl $stderr
metadata ADDED
@@ -0,0 +1,78 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: Deutsch
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Jan Lelis
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-02-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.8'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.8'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubygems-tasks
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.2'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.2'
41
+ description: Include the Deutsch library file in a Ruby script, and you can reference
42
+ the global variables such as $_ using less cryptic names.
43
+ email: mail@janlelis.de
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - ".gitignore"
49
+ - Deutsch.gemspec
50
+ - LICENSE.txt
51
+ - README.rdoc
52
+ - Rakefile
53
+ - lib/Deutsch.rb
54
+ homepage: https://github.com/janlelis/Deutsch.rb
55
+ licenses:
56
+ - MIT
57
+ metadata: {}
58
+ post_install_message:
59
+ rdoc_options: []
60
+ require_paths:
61
+ - lib
62
+ required_ruby_version: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
67
+ required_rubygems_version: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: '0'
72
+ requirements: []
73
+ rubyforge_project:
74
+ rubygems_version: 2.2.1
75
+ signing_key:
76
+ specification_version: 4
77
+ summary: Deutsch.rb
78
+ test_files: []