r18n-desktop 1.1.6 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 87da377d854c9a443ea0cbb7e24d51b76500a9f0
4
+ data.tar.gz: c53d2575a3e13d9fb1a0cc3e33c8427e0984aed0
5
+ SHA512:
6
+ metadata.gz: aecaa08de014097f4ee659124d21ce94f34032f0ff6691f4ca93461fb9aeab97afc51181446f9ed7b8fd94b89e24ec074ba94eee8f4e7d0f650dbcf26921aabf
7
+ data.tar.gz: ef5eea1fabf84fa0f7c5451be19f1badbc729cb765bd05f45cc3f93b0ad896d74e4850bf24ed53e73474334ead9b6649b663baa22c1f9da952dd579cc6b3324a
data/Rakefile CHANGED
@@ -1,32 +1,13 @@
1
- # encoding: utf-8
2
1
  require 'rubygems'
3
2
 
4
- begin
5
- require 'bundler/setup'
6
- Bundler::GemHelper.install_tasks
7
- rescue LoadError
8
- puts "Bundler not available. Install it with: gem install bundler"
9
- end
10
-
11
- PKG_NAME = 'r18n-desktop'
12
- require '../r18n-core/lib/r18n-core/version'
3
+ require 'bundler/setup'
4
+ Bundler::GemHelper.install_tasks
13
5
 
14
6
  require 'rspec/core/rake_task'
15
-
16
7
  RSpec::Core::RakeTask.new
8
+ task :default => :spec
17
9
 
18
- require 'yard'
19
- YARD::Rake::YardocTask.new do |yard|
20
- yard.options << "--title='R18n Desktop #{R18n::VERSION}'"
21
- end
22
-
23
- task :clobber_doc do
24
- rm_r 'doc' rescue nil
25
- rm_r '.yardoc' rescue nil
26
- end
27
10
  task :clobber_package do
28
11
  rm_r 'pkg' rescue nil
29
12
  end
30
- task :clobber => [:clobber_package, :clobber_doc]
31
-
32
- task :default => :spec
13
+ task :clobber => [:clobber_package]
data/r18n-desktop.gemspec CHANGED
@@ -23,6 +23,7 @@ Gem::Specification.new do |s|
23
23
  s.author = 'Andrey "A.I." Sitnik'
24
24
  s.email = 'andrey@sitnik.ru'
25
25
  s.homepage = 'https://github.com/ai/r18n/tree/master/r18n-desktop'
26
+ s.license = 'LGPL-3'
26
27
 
27
28
  s.add_dependency 'r18n-core', ["= #{R18n::VERSION}"]
28
29
  end
@@ -8,26 +8,26 @@ describe "r18n-desktop" do
8
8
  R18n.reset!
9
9
  end
10
10
 
11
- it "should return array of system locales" do
11
+ it "returns array of system locales" do
12
12
  locale = R18n::I18n.system_locale
13
13
  locale.class.should == String
14
14
  locale.should_not be_empty
15
15
  end
16
16
 
17
- it "should load I18n from system environment" do
17
+ it "loads I18n from system environment" do
18
18
  R18n.from_env
19
19
  r18n.class.should == R18n::I18n
20
20
  r18n.locale.should_not be_empty if String == r18n.locale.class
21
21
  R18n.get.should == r18n
22
22
  end
23
23
 
24
- it "should load i18n from system environment using specified order" do
24
+ it "loads i18n from system environment using specified order" do
25
25
  R18n.from_env(nil, 'en')
26
26
  r18n.locale.should == R18n.locale('en')
27
27
  R18n.get.should == r18n
28
28
  end
29
29
 
30
- it "allow to overide autodetect by LANG environment" do
30
+ it "allows to overide autodetect by LANG environment" do
31
31
  R18n::I18n.stub(:system_locale).and_return('ru')
32
32
  ENV['LANG'] = 'en'
33
33
  R18n.from_env
metadata CHANGED
@@ -1,37 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: r18n-desktop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
5
- prerelease:
4
+ version: 1.1.7
6
5
  platform: ruby
7
6
  authors:
8
7
  - Andrey "A.I." Sitnik
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-08-25 00:00:00.000000000 Z
11
+ date: 2013-10-13 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: r18n-core
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - '='
20
18
  - !ruby/object:Gem::Version
21
- version: 1.1.6
19
+ version: 1.1.7
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - '='
28
25
  - !ruby/object:Gem::Version
29
- version: 1.1.6
30
- description: ! " A i18n tool to translate your desktop application in several languages.\n
31
- \ It is just a wrapper for R18n core library.\n It has nice Ruby-style syntax,
32
- filters, flexible locales, custom loaders,\n translation support for any classes,
33
- time and number localization, several\n user language support, agnostic core
34
- package with out-of-box support for\n Rails, Sinatra and desktop applications.\n"
26
+ version: 1.1.7
27
+ description: |2
28
+ A i18n tool to translate your desktop application in several languages.
29
+ It is just a wrapper for R18n core library.
30
+ It has nice Ruby-style syntax, filters, flexible locales, custom loaders,
31
+ translation support for any classes, time and number localization, several
32
+ user language support, agnostic core package with out-of-box support for
33
+ Rails, Sinatra and desktop applications.
35
34
  email: andrey@sitnik.ru
36
35
  executables: []
37
36
  extensions: []
@@ -40,7 +39,6 @@ extra_rdoc_files:
40
39
  - LICENSE
41
40
  files:
42
41
  - .rspec
43
- - .yardopts
44
42
  - LICENSE
45
43
  - README.md
46
44
  - Rakefile
@@ -53,34 +51,29 @@ files:
53
51
  - spec/r18n-desktop_spec.rb
54
52
  - spec/spec_helper.rb
55
53
  homepage: https://github.com/ai/r18n/tree/master/r18n-desktop
56
- licenses: []
54
+ licenses:
55
+ - LGPL-3
56
+ metadata: {}
57
57
  post_install_message:
58
58
  rdoc_options: []
59
59
  require_paths:
60
60
  - lib
61
61
  required_ruby_version: !ruby/object:Gem::Requirement
62
- none: false
63
62
  requirements:
64
- - - ! '>='
63
+ - - '>='
65
64
  - !ruby/object:Gem::Version
66
65
  version: '0'
67
- segments:
68
- - 0
69
- hash: 327800916062043965
70
66
  required_rubygems_version: !ruby/object:Gem::Requirement
71
- none: false
72
67
  requirements:
73
- - - ! '>='
68
+ - - '>='
74
69
  - !ruby/object:Gem::Version
75
70
  version: '0'
76
- segments:
77
- - 0
78
- hash: 327800916062043965
79
71
  requirements: []
80
72
  rubyforge_project:
81
- rubygems_version: 1.8.23
73
+ rubygems_version: 2.0.3
82
74
  signing_key:
83
- specification_version: 3
75
+ specification_version: 4
84
76
  summary: A i18n tool to translate your Ruby desktop application.
85
- test_files: []
86
- has_rdoc:
77
+ test_files:
78
+ - spec/r18n-desktop_spec.rb
79
+ - spec/spec_helper.rb
data/.yardopts DELETED
@@ -1,3 +0,0 @@
1
- --charset utf-8
2
- -
3
- README.md