academic_degree 0.0.1
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.
- checksums.yaml +7 -0
- data/.gitignore +22 -0
- data/Gemfile +10 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +2 -0
- data/academic_degree.gemspec +26 -0
- data/lib/academic_degree.rb +10 -0
- data/lib/academic_degree/config.rb +3 -0
- data/lib/academic_degree/config/yaml_loader.rb +16 -0
- data/lib/academic_degree/version.rb +3 -0
- data/test/lib/academic_degree_test.rb +9 -0
- data/test/test_helper.rb +16 -0
- data/yaml/ru/ussr.academic_degrees.yml +46 -0
- metadata +90 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f1ad3b1cdbc351ceea443045adb18d4d8f330ff3
|
4
|
+
data.tar.gz: 26d08bc2988fdeeaada0b391067308342ecb1d3d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9d7a9cbea6cefeaff0a034ffa5a8128f69d65649659198cc7b1ea3726c435a40846e35b1124d305ec7d382a50a04d98006154885882c94fe13110fc78849c335
|
7
|
+
data.tar.gz: 8e67fd799d1bcbeba85d076d879c4598a2aad9628aba1d8575300502c69796619999dc7b0b7fff798bd9d22e30d81d8c7c42259eee7c51ae66ff5cd0de79bc0f
|
data/.gitignore
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
.bundle
|
4
|
+
.config
|
5
|
+
.yardoc
|
6
|
+
Gemfile.lock
|
7
|
+
InstalledFiles
|
8
|
+
_yardoc
|
9
|
+
coverage
|
10
|
+
doc/
|
11
|
+
lib/bundler/man
|
12
|
+
pkg
|
13
|
+
rdoc
|
14
|
+
spec/reports
|
15
|
+
test/tmp
|
16
|
+
test/version_tmp
|
17
|
+
tmp
|
18
|
+
*.bundle
|
19
|
+
*.so
|
20
|
+
*.o
|
21
|
+
*.a
|
22
|
+
mkmf.log
|
data/Gemfile
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in academic_degree.gemspec
|
4
|
+
gemspec
|
5
|
+
gem 'pry'
|
6
|
+
gem 'tconsole', git: "git://github.com/gma/tconsole"
|
7
|
+
gem 'coveralls', require: false
|
8
|
+
gem 'simplecov'
|
9
|
+
gem 'minitest', '4.7.5'
|
10
|
+
gem 'activesupport'
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 pavel
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# AcademicDegree
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'academic_degree'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install academic_degree
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it ( https://github.com/[my-github-username]/academic_degree/fork )
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'academic_degree/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "academic_degree"
|
8
|
+
spec.version = AcademicDegree::VERSION
|
9
|
+
spec.authors = ["Pavel Kalashnikov"]
|
10
|
+
spec.email = ["kalashnikovisme@gmail.com"]
|
11
|
+
spec.summary = %q{Academic Degrees of all systems and on many languages.}
|
12
|
+
spec.description = %q{Academic Degree has all academic degrees of all systems and on many languages (for version 1.0.0)}
|
13
|
+
spec.homepage = "https://github.com/kalashnikovisme/academic_degree"
|
14
|
+
spec.license = "MIT"
|
15
|
+
spec.required_ruby_version = '>= 2.0.0'
|
16
|
+
spec.metadata = { "issue_tracker" => "https://github.com/kalashnikovisme/academic_degree/issues" }
|
17
|
+
|
18
|
+
spec.files = `git ls-files`.split("\n")
|
19
|
+
spec.post_install_message = "See documentation of Academic_Degree on https://github.com/kalashnikovisme/academic_degree."
|
20
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
21
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
22
|
+
spec.require_paths = ["lib"]
|
23
|
+
|
24
|
+
spec.add_development_dependency "bundler", "~> 1.6"
|
25
|
+
spec.add_development_dependency "rake"
|
26
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'active_support/core_ext/hash'
|
2
|
+
require 'yaml'
|
3
|
+
|
4
|
+
module AcademicDegree
|
5
|
+
module Config
|
6
|
+
class YamlLoader
|
7
|
+
def self.gem_root
|
8
|
+
Gem::Specification.find_by_name('academic_degree').gem_dir
|
9
|
+
end
|
10
|
+
|
11
|
+
def self.yaml_object(filename)
|
12
|
+
YAML.load_file(gem_root + '/yaml/' + filename + '.yml').with_indifferent_access
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'minitest/autorun'
|
2
|
+
require 'bundler/setup'
|
3
|
+
if ENV["TRAVIS"]
|
4
|
+
require 'coveralls'
|
5
|
+
Coveralls.wear!
|
6
|
+
end
|
7
|
+
require 'simplecov'
|
8
|
+
ENV["RAILS_ENV"] = "test"
|
9
|
+
SimpleCov.start('rails') if ENV["COVERAGE"]
|
10
|
+
|
11
|
+
Bundler.require
|
12
|
+
|
13
|
+
MiniTest::Unit.autorun
|
14
|
+
|
15
|
+
class TestCase < MiniTest::Unit::TestCase
|
16
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
list:
|
2
|
+
- Без ученой степени
|
3
|
+
- Доктор архитектурных наук
|
4
|
+
- Доктор биологических наук
|
5
|
+
- Доктор ветеринарных наук
|
6
|
+
- Доктор военных наук
|
7
|
+
- Доктор географических наукук
|
8
|
+
- Доктор геолого-минералогических наук
|
9
|
+
- Доктор искусствоведения
|
10
|
+
- Доктор исторических наук
|
11
|
+
- Доктор медицинских наук
|
12
|
+
- Доктор педагогических наук
|
13
|
+
- Доктор политологических наук
|
14
|
+
- Доктор психологических наукаук
|
15
|
+
- Доктор сельскохозяйственных наук
|
16
|
+
- Доктор социологических наук
|
17
|
+
- Доктор технических наук
|
18
|
+
- Доктор фармацевтических наук
|
19
|
+
- Доктор физико-математических наук
|
20
|
+
- Доктор филологических наук
|
21
|
+
- Доктор филологическихсофских наук
|
22
|
+
- Доктор химических наукк
|
23
|
+
- Доктор экономических наук
|
24
|
+
- Доктор юридических наук
|
25
|
+
- Кандидат архитектурных наук
|
26
|
+
- Кандидат биологическихческих наук
|
27
|
+
- Кандидат ветеринарных наук
|
28
|
+
- Кандидат военных наук
|
29
|
+
- Кандидат географических наук
|
30
|
+
- Кандидат геолого-минералогических наук
|
31
|
+
- Кандидат искусствоведения
|
32
|
+
- Кандидат исторических наук
|
33
|
+
- Кандидат медицинскихцинских наук
|
34
|
+
- Кандидат педагогических наук
|
35
|
+
- Кандидат политологическихих наук
|
36
|
+
- Кандидат психологических наук
|
37
|
+
- Кандидат сельскохозяйственныхных наук
|
38
|
+
- Кандидат социологических наук
|
39
|
+
- Кандидат технических наук
|
40
|
+
- Кандидат физико-математических наук
|
41
|
+
- Кандидат фармацевтических наук
|
42
|
+
- Кандидат филологических наук
|
43
|
+
- Кандидат философских наук
|
44
|
+
- Кандидат химических наук
|
45
|
+
- Кандидат экономических наук
|
46
|
+
- Кандидат юридических наук
|
metadata
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: academic_degree
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Pavel Kalashnikov
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-09-04 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.6'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.6'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: Academic Degree has all academic degrees of all systems and on many languages
|
42
|
+
(for version 1.0.0)
|
43
|
+
email:
|
44
|
+
- kalashnikovisme@gmail.com
|
45
|
+
executables: []
|
46
|
+
extensions: []
|
47
|
+
extra_rdoc_files: []
|
48
|
+
files:
|
49
|
+
- ".gitignore"
|
50
|
+
- Gemfile
|
51
|
+
- LICENSE.txt
|
52
|
+
- README.md
|
53
|
+
- Rakefile
|
54
|
+
- academic_degree.gemspec
|
55
|
+
- lib/academic_degree.rb
|
56
|
+
- lib/academic_degree/config.rb
|
57
|
+
- lib/academic_degree/config/yaml_loader.rb
|
58
|
+
- lib/academic_degree/version.rb
|
59
|
+
- test/lib/academic_degree_test.rb
|
60
|
+
- test/test_helper.rb
|
61
|
+
- yaml/ru/ussr.academic_degrees.yml
|
62
|
+
homepage: https://github.com/kalashnikovisme/academic_degree
|
63
|
+
licenses:
|
64
|
+
- MIT
|
65
|
+
metadata:
|
66
|
+
issue_tracker: https://github.com/kalashnikovisme/academic_degree/issues
|
67
|
+
post_install_message: See documentation of Academic_Degree on https://github.com/kalashnikovisme/academic_degree.
|
68
|
+
rdoc_options: []
|
69
|
+
require_paths:
|
70
|
+
- lib
|
71
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 2.0.0
|
76
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
81
|
+
requirements: []
|
82
|
+
rubyforge_project:
|
83
|
+
rubygems_version: 2.2.2
|
84
|
+
signing_key:
|
85
|
+
specification_version: 4
|
86
|
+
summary: Academic Degrees of all systems and on many languages.
|
87
|
+
test_files:
|
88
|
+
- test/lib/academic_degree_test.rb
|
89
|
+
- test/test_helper.rb
|
90
|
+
has_rdoc:
|