crystalcell 0.0.3 → 0.0.4
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/CHANGES +23 -1
- data/Gemfile +9 -9
- data/VERSION +1 -1
- data/crystalcell.gemspec +41 -29
- data/lib/crystalcell/atom.rb +116 -118
- data/lib/crystalcell/cell.rb +542 -586
- data/lib/crystalcell/element.rb +49 -140
- data/lib/crystalcell/latticeaxes.rb +198 -185
- data/lib/crystalcell/periodiccell.rb +246 -244
- data/lib/crystalcell/povray/cell.rb +110 -0
- data/lib/crystalcell/povray/cylinder.rb +12 -0
- data/lib/crystalcell/povray/element.rb +284 -0
- data/lib/crystalcell/povray/sphere.rb +12 -0
- data/lib/crystalcell/povray/triangle.rb +17 -0
- data/lib/crystalcell/povray.rb +7 -0
- data/lib/crystalcell.rb +5 -1
- data/test/povray/test_cell.rb +179 -0
- data/test/povray/test_element.rb +230 -0
- data/test/test_atom.rb +198 -198
- data/test/test_cell.rb +1481 -1464
- data/test/test_element.rb +422 -642
- data/test/test_latticeaxes.rb +299 -283
- data/test/test_periodiccell.rb +928 -953
- metadata +63 -62
metadata
CHANGED
@@ -1,145 +1,142 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crystalcell
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- ippei94da
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2016-03-10 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: test-unit
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.1'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.1'
|
14
27
|
- !ruby/object:Gem::Dependency
|
15
28
|
name: rdoc
|
16
29
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
30
|
requirements:
|
19
|
-
- - ~>
|
31
|
+
- - "~>"
|
20
32
|
- !ruby/object:Gem::Version
|
21
|
-
version: 4.
|
33
|
+
version: '4.2'
|
22
34
|
type: :development
|
23
35
|
prerelease: false
|
24
36
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
37
|
requirements:
|
27
|
-
- - ~>
|
38
|
+
- - "~>"
|
28
39
|
- !ruby/object:Gem::Version
|
29
|
-
version: 4.
|
40
|
+
version: '4.2'
|
30
41
|
- !ruby/object:Gem::Dependency
|
31
42
|
name: bundler
|
32
43
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
44
|
requirements:
|
35
|
-
- - ~>
|
45
|
+
- - "~>"
|
36
46
|
- !ruby/object:Gem::Version
|
37
|
-
version: 1.
|
47
|
+
version: '1.11'
|
38
48
|
type: :development
|
39
49
|
prerelease: false
|
40
50
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
51
|
requirements:
|
43
|
-
- - ~>
|
52
|
+
- - "~>"
|
44
53
|
- !ruby/object:Gem::Version
|
45
|
-
version: 1.
|
54
|
+
version: '1.11'
|
46
55
|
- !ruby/object:Gem::Dependency
|
47
56
|
name: jeweler
|
48
57
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
58
|
requirements:
|
51
|
-
- - ~>
|
59
|
+
- - "~>"
|
52
60
|
- !ruby/object:Gem::Version
|
53
|
-
version: 2.0
|
61
|
+
version: '2.0'
|
54
62
|
type: :development
|
55
63
|
prerelease: false
|
56
64
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
65
|
requirements:
|
59
|
-
- - ~>
|
66
|
+
- - "~>"
|
60
67
|
- !ruby/object:Gem::Version
|
61
|
-
version: 2.0
|
68
|
+
version: '2.0'
|
62
69
|
- !ruby/object:Gem::Dependency
|
63
70
|
name: simplecov
|
64
71
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
72
|
requirements:
|
67
|
-
- -
|
73
|
+
- - "~>"
|
68
74
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.
|
75
|
+
version: '0.11'
|
70
76
|
type: :development
|
71
77
|
prerelease: false
|
72
78
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
79
|
requirements:
|
75
|
-
- -
|
80
|
+
- - "~>"
|
76
81
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0.
|
82
|
+
version: '0.11'
|
78
83
|
- !ruby/object:Gem::Dependency
|
79
84
|
name: malge
|
80
85
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
86
|
requirements:
|
83
|
-
- -
|
87
|
+
- - "~>"
|
84
88
|
- !ruby/object:Gem::Version
|
85
|
-
version: 0.0
|
89
|
+
version: '0.0'
|
86
90
|
type: :development
|
87
91
|
prerelease: false
|
88
92
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
93
|
requirements:
|
91
|
-
- -
|
94
|
+
- - "~>"
|
92
95
|
- !ruby/object:Gem::Version
|
93
|
-
version: 0.0
|
96
|
+
version: '0.0'
|
94
97
|
- !ruby/object:Gem::Dependency
|
95
98
|
name: mageo
|
96
99
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
100
|
requirements:
|
99
|
-
- -
|
101
|
+
- - "~>"
|
100
102
|
- !ruby/object:Gem::Version
|
101
|
-
version: 0.0
|
103
|
+
version: '0.0'
|
102
104
|
type: :development
|
103
105
|
prerelease: false
|
104
106
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
107
|
requirements:
|
107
|
-
- -
|
108
|
+
- - "~>"
|
108
109
|
- !ruby/object:Gem::Version
|
109
|
-
version: 0.0
|
110
|
+
version: '0.0'
|
110
111
|
- !ruby/object:Gem::Dependency
|
111
112
|
name: maset
|
112
113
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.0
|
117
|
+
version: '0.0'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
121
|
requirements:
|
123
|
-
- -
|
122
|
+
- - "~>"
|
124
123
|
- !ruby/object:Gem::Version
|
125
|
-
version: 0.0
|
124
|
+
version: '0.0'
|
126
125
|
- !ruby/object:Gem::Dependency
|
127
126
|
name: builtinextension
|
128
127
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
128
|
requirements:
|
131
|
-
- -
|
129
|
+
- - "~>"
|
132
130
|
- !ruby/object:Gem::Version
|
133
|
-
version: 0.1
|
131
|
+
version: '0.1'
|
134
132
|
type: :development
|
135
133
|
prerelease: false
|
136
134
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
135
|
requirements:
|
139
|
-
- -
|
136
|
+
- - "~>"
|
140
137
|
- !ruby/object:Gem::Version
|
141
|
-
version: 0.1
|
142
|
-
description:
|
138
|
+
version: '0.1'
|
139
|
+
description: "This gem provides Cell, LatticeAxes, Atom classes, and so on.\n And
|
143
140
|
this provides simple treatment of a periodic boundary condition.\n "
|
144
141
|
email: ippei94da@gmail.com
|
145
142
|
executables: []
|
@@ -148,7 +145,7 @@ extra_rdoc_files:
|
|
148
145
|
- LICENSE.txt
|
149
146
|
- README.rdoc
|
150
147
|
files:
|
151
|
-
- .document
|
148
|
+
- ".document"
|
152
149
|
- CHANGES
|
153
150
|
- Gemfile
|
154
151
|
- LICENSE.txt
|
@@ -162,8 +159,16 @@ files:
|
|
162
159
|
- lib/crystalcell/element.rb
|
163
160
|
- lib/crystalcell/latticeaxes.rb
|
164
161
|
- lib/crystalcell/periodiccell.rb
|
162
|
+
- lib/crystalcell/povray.rb
|
163
|
+
- lib/crystalcell/povray/cell.rb
|
164
|
+
- lib/crystalcell/povray/cylinder.rb
|
165
|
+
- lib/crystalcell/povray/element.rb
|
166
|
+
- lib/crystalcell/povray/sphere.rb
|
167
|
+
- lib/crystalcell/povray/triangle.rb
|
165
168
|
- test/cif/ZrO2-25C.cif
|
166
169
|
- test/helper.rb
|
170
|
+
- test/povray/test_cell.rb
|
171
|
+
- test/povray/test_element.rb
|
167
172
|
- test/test_atom.rb
|
168
173
|
- test/test_cell.rb
|
169
174
|
- test/test_element.rb
|
@@ -172,29 +177,25 @@ files:
|
|
172
177
|
homepage: http://github.com/ippei94da/crystalcell
|
173
178
|
licenses:
|
174
179
|
- MIT
|
180
|
+
metadata: {}
|
175
181
|
post_install_message:
|
176
182
|
rdoc_options: []
|
177
183
|
require_paths:
|
178
184
|
- lib
|
179
185
|
required_ruby_version: !ruby/object:Gem::Requirement
|
180
|
-
none: false
|
181
186
|
requirements:
|
182
|
-
- -
|
187
|
+
- - ">="
|
183
188
|
- !ruby/object:Gem::Version
|
184
189
|
version: '0'
|
185
|
-
segments:
|
186
|
-
- 0
|
187
|
-
hash: -2054463573171685801
|
188
190
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
189
|
-
none: false
|
190
191
|
requirements:
|
191
|
-
- -
|
192
|
+
- - ">="
|
192
193
|
- !ruby/object:Gem::Version
|
193
194
|
version: '0'
|
194
195
|
requirements: []
|
195
196
|
rubyforge_project:
|
196
|
-
rubygems_version:
|
197
|
+
rubygems_version: 2.5.1
|
197
198
|
signing_key:
|
198
|
-
specification_version:
|
199
|
+
specification_version: 4
|
199
200
|
summary: Classes around a cell in crystallography
|
200
201
|
test_files: []
|