sprache 0.0.2 → 0.0.3

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 (3) hide show
  1. data/bin/sprache +7 -1
  2. data/sprache.rb +7 -1
  3. metadata +2 -2
data/bin/sprache CHANGED
@@ -345,7 +345,13 @@ class Sprache
345
345
  stimmt = stimmt? bedingung[0], bedingung[2], bedingung[1]
346
346
  end
347
347
  @stimmt = stimmt
348
- stimmt = stimmt.! if nicht
348
+ if nicht
349
+ if stimmt
350
+ stimmt = false
351
+ else
352
+ stimmt = true
353
+ end
354
+ end
349
355
  if (woerter.index("kein") or
350
356
  woerter.index("keine") or
351
357
  woerter.index("keinen") or
data/sprache.rb CHANGED
@@ -345,7 +345,13 @@ class Sprache
345
345
  stimmt = stimmt? bedingung[0], bedingung[2], bedingung[1]
346
346
  end
347
347
  @stimmt = stimmt
348
- stimmt = stimmt.! if nicht
348
+ if nicht
349
+ if stimmt
350
+ stimmt = false
351
+ else
352
+ stimmt = true
353
+ end
354
+ end
349
355
  if (woerter.index("kein") or
350
356
  woerter.index("keine") or
351
357
  woerter.index("keinen") or
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-07 00:00:00.000000000 Z
12
+ date: 2012-11-10 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description:
15
15
  email: