physics_plus 0.0.1

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
+ SHA256:
3
+ metadata.gz: 2188440493d1f12852ba9663965dbb544eeb82c923ccfc99f1b7ade5a5e00ab0
4
+ data.tar.gz: ef9512f39a14e348a34c2eb06358bbf37b907ff50a9590b6dd0b2de8f2069576
5
+ SHA512:
6
+ metadata.gz: ebc541ce7067a89b6a0d1eaca641d8cf0847ec9c276866da58ba81d26e4a389e6c47fc6801dcc2af38f523cc89e3ef926c9578b9efb4ecf356effef235ffb7e2
7
+ data.tar.gz: b1f0673734422585dad4fc868692591ce7ffbebf9172f59688ad060d90ab0e7840410b9e093a97d92439910cd45fb6e030feb544aeeb7374dabb18b09521222a
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'http://rubygems.org'
2
+
3
+ gemspec
data/README.md ADDED
File without changes
@@ -0,0 +1,47 @@
1
+ module Main
2
+ module Constants
3
+
4
+ # Example:
5
+ # >> PhysicsPlus.C
6
+ # => 299792458
7
+ #
8
+
9
+ # Фундаментальные физические постоянные
10
+ def C
11
+ 299792458
12
+ end
13
+
14
+ def G
15
+ 6.674484 * ( 10 ** (11 * -1.0 ) )
16
+ end
17
+
18
+ def h
19
+ 6.62607015 * ( 10 ** (34 * -1.0 ) )
20
+ end
21
+
22
+ def e
23
+ 1.602176634 * ( 10 ** (19 * -1.0 ) )
24
+ end
25
+
26
+ def k
27
+ 1.380649 * ( 10 ** (23 * -1.0 ) )
28
+ end
29
+
30
+ # Постоянные, связывающие разные системы единиц, и переводные множители
31
+ def a_e_m
32
+ 1.66053906660 * ( 10 ** (27 * -1.0 ) )
33
+ end
34
+
35
+ def Na
36
+ 6.02214076 * ( 10 ** (23 * 1.0 ) )
37
+ end
38
+
39
+ def eV
40
+ 1.602176634 * ( 10 ** (19 * -1.0 ) )
41
+ end
42
+
43
+ def kal
44
+ 4.1868
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,3 @@
1
+ module PhysicsPlus
2
+ VERSION = '0.0.1'
3
+ end
@@ -0,0 +1,5 @@
1
+ require_relative 'physics_plus/main/constants'
2
+
3
+ module PhysicsPlus
4
+ extend Main::Constants
5
+ end
metadata ADDED
@@ -0,0 +1,63 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: physics_plus
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - AlexVikPast
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2023-07-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rspec
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.6'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.6'
27
+ description: physics_plus
28
+ email: steplerpav@gmail.com
29
+ executables: []
30
+ extensions: []
31
+ extra_rdoc_files:
32
+ - README.md
33
+ files:
34
+ - Gemfile
35
+ - README.md
36
+ - lib/physics_plus.rb
37
+ - lib/physics_plus/main/constants.rb
38
+ - lib/physics_plus/version.rb
39
+ homepage: https://github.com/AlexVikPast/physics_plus
40
+ licenses:
41
+ - MIT
42
+ metadata:
43
+ rubygems_mfa_required: 'true'
44
+ post_install_message:
45
+ rdoc_options: []
46
+ require_paths:
47
+ - lib
48
+ required_ruby_version: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 2.7.0
53
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ requirements: []
59
+ rubygems_version: 3.4.17
60
+ signing_key:
61
+ specification_version: 4
62
+ summary: physics_plus
63
+ test_files: []