radiation 0.0.4 → 0.1.0
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 +6 -14
- data/.gitignore +17 -17
- data/.rspec +1 -1
- data/.travis.yml +7 -9
- data/CHANGELOG.md +12 -12
- data/Gemfile +5 -5
- data/LICENSE.txt +22 -22
- data/README.md +45 -45
- data/Rakefile +6 -6
- data/lib/radiation/cli.rb +22 -0
- data/lib/radiation/resource/internal.rb +20 -0
- data/lib/radiation/resource/nucleideorg.rb +43 -0
- data/lib/radiation/resource.rb +14 -0
- data/lib/radiation/source.rb +47 -31
- data/lib/radiation/spectrum.rb +78 -61
- data/lib/radiation/version.rb +3 -3
- data/lib/radiation.rb +10 -7
- data/radiation.gemspec +32 -32
- data/samples/B0-Ra226.xml +4721 -4721
- data/samples/efficiencies.rb +10 -0
- data/spec/radiation_spec.rb +14 -4
- metadata +24 -23
- data/lib/radiation/source/resource/internal.rb +0 -17
- data/lib/radiation/source/resource/nucleideorg.rb +0 -36
- data/lib/radiation/source/resource.rb +0 -25
data/radiation.gemspec
CHANGED
@@ -1,32 +1,32 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'radiation/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "radiation"
|
8
|
-
spec.version = Radiation::VERSION
|
9
|
-
spec.authors = ["Jan Mayer"]
|
10
|
-
spec.email = ["jan.mayer@ikp.uni-koeln.de"]
|
11
|
-
spec.description = %q{Decay Radiation}
|
12
|
-
spec.summary = %q{This gem provides easy access to energies and intensities from the decay of radioactive nuclei}
|
13
|
-
spec.homepage = "https://github.com/janmayer/radiation"
|
14
|
-
spec.license = "MIT"
|
15
|
-
|
16
|
-
spec.files = `git ls-files`.split($/)
|
17
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
-
spec.require_paths = ["lib"]
|
20
|
-
|
21
|
-
spec.add_dependency "plusminus"
|
22
|
-
spec.add_dependency "open-uri-cached"
|
23
|
-
spec.add_dependency "combinatorics"
|
24
|
-
spec.add_dependency "linefit"
|
25
|
-
spec.add_dependency "xml-simple"
|
26
|
-
spec.add_dependency "thor"
|
27
|
-
|
28
|
-
|
29
|
-
spec.add_development_dependency "bundler", "~> 1.3"
|
30
|
-
spec.add_development_dependency "rake"
|
31
|
-
spec.add_development_dependency "rspec"
|
32
|
-
end
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'radiation/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "radiation"
|
8
|
+
spec.version = Radiation::VERSION
|
9
|
+
spec.authors = ["Jan Mayer"]
|
10
|
+
spec.email = ["jan.mayer@ikp.uni-koeln.de"]
|
11
|
+
spec.description = %q{Decay Radiation}
|
12
|
+
spec.summary = %q{This gem provides easy access to energies and intensities from the decay of radioactive nuclei}
|
13
|
+
spec.homepage = "https://github.com/janmayer/radiation"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_dependency "plusminus"
|
22
|
+
spec.add_dependency "open-uri-cached"
|
23
|
+
spec.add_dependency "combinatorics"
|
24
|
+
spec.add_dependency "linefit"
|
25
|
+
spec.add_dependency "xml-simple"
|
26
|
+
spec.add_dependency "thor"
|
27
|
+
|
28
|
+
|
29
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
30
|
+
spec.add_development_dependency "rake"
|
31
|
+
spec.add_development_dependency "rspec"
|
32
|
+
end
|