cesd_problems 0.1.2.0 → 0.1.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2e45b4f165ad86b1e8aeacc502aa4f2917afbf2
4
- data.tar.gz: 25e6aab2a32a598f4bcfad23799d38d065d115d0
3
+ metadata.gz: 20083069029fba33d683d74e80ceb069e98d7212
4
+ data.tar.gz: 697cc4b2851f31d35de59da20cae64a27efc69c4
5
5
  SHA512:
6
- metadata.gz: 25a197bcd7235779dd2d3e225d05f05c842aaae3b20c45069430568de8f23859e21738f80812eb7a4e08307905cfd192727b8aee0997b6d23ef0881c80c10fef
7
- data.tar.gz: 9b64106a26f36ab07bf1e6c7cb531d7093fbf59a111296753bec04b28da5f1231bb47112a877f257ae8f964e90116178eb5da155cd3c31639c33dbf468d25d0d
6
+ metadata.gz: 1b56ef50491c2911f1538c857239be75bd76f066202f1df84a40845bb3c7d46b4d92614bccf4f59249cfe8e382752f0b2b4b55e5def8435fa89d4675d561c097
7
+ data.tar.gz: 3b36bee72cbf31e890150909a2f6c8777c13cd50dffd522d7f748390a415c30a9150ce38cfc5a3595599cf9b1217c73120a72340ec28319c94c1806b557dcd37
@@ -1,3 +1,3 @@
1
1
  module CesdProblems
2
- VERSION = "0.1.2.0"
2
+ VERSION = "0.1.3.0"
3
3
  end
data/lib/cesd_problems.rb CHANGED
@@ -9,28 +9,28 @@ module CesdProblems
9
9
 
10
10
  ja_problems = {
11
11
  answers: [ "ないかあってもほんの少し この週間てまったくないか、あっても1日足らず", "少し この1週間で1~2日", "かなり この1週間で3~4日", "ほとんど この1週間で5日以上" ],
12
- problems: {
13
- p1: { problem: "普段は何でもないことが煩わしい。", points: [0, 1, 2, 3] },
14
- p2: { problem: "食べたくない。食欲が落ちた。", points: [0, 1, 2, 3] },
15
- p3: { problem: "家族や友人に助けてもらっても憂鬱な気分が晴れない。", points: [0, 1, 2, 3] },
16
- p4: { problem: "他の人と同じ程度の能力があると思える。", points: [3, 2, 1, 0] },
17
- p5: { problem: "物事に集中することができない。", points: [0, 1, 2, 3] },
18
- p6: { problem: "落ち込んでいる。", points: [0, 1, 2, 3] },
19
- p7: { problem: "何をするのもめんどうだ。", points: [0, 1, 2, 3] },
20
- p8: { problem: "将来に希望がある。", points: [3, 2, 1, 0] },
21
- p9: { problem: "自分の人生は失敗だったと思う。", points: [0, 1, 2, 3] },
22
- p10: { problem: "何か恐ろしく感じる。", points: [0, 1, 2, 3] },
23
- p11: { problem: "熟眠できない。", points: [0, 1, 2, 3] },
24
- p12: { problem: "幸せに感じる。", points: [3, 2, 1, 0] },
25
- p13: { problem: "いつもより口数が少ない。", points: [0, 1, 2, 3] },
26
- p14: { problem: "寂しいと感じる。", points: [0, 1, 2, 3] },
27
- p15: { problem: "他の人がよそよそしいと感じる。", points: [0, 1, 2, 3] },
28
- p16: { problem: "生活を楽しく感じる。", points: [3, 2, 1, 0] },
29
- p17: { problem: "泣き続けることがある。", points: [0, 1, 2, 3] },
30
- p18: { problem: "悲しいと感じる。", points: [0, 1, 2, 3] },
31
- p19: { problem: "みんなが私を嫌っていると感じる。", points: [0, 1, 2, 3] },
32
- p20: { problem: "何も手につかない。", points: [0, 1, 2, 3] }
33
- },
12
+ problems: [
13
+ { problem: "普段は何でもないことが煩わしい。", points: [0, 1, 2, 3] },
14
+ { problem: "食べたくない。食欲が落ちた。", points: [0, 1, 2, 3] },
15
+ { problem: "家族や友人に助けてもらっても憂鬱な気分が晴れない。", points: [0, 1, 2, 3] },
16
+ { problem: "他の人と同じ程度の能力があると思える。", points: [3, 2, 1, 0] },
17
+ { problem: "物事に集中することができない。", points: [0, 1, 2, 3] },
18
+ { problem: "落ち込んでいる。", points: [0, 1, 2, 3] },
19
+ { problem: "何をするのもめんどうだ。", points: [0, 1, 2, 3] },
20
+ { problem: "将来に希望がある。", points: [3, 2, 1, 0] },
21
+ { problem: "自分の人生は失敗だったと思う。", points: [0, 1, 2, 3] },
22
+ { problem: "何か恐ろしく感じる。", points: [0, 1, 2, 3] },
23
+ { problem: "熟眠できない。", points: [0, 1, 2, 3] },
24
+ { problem: "幸せに感じる。", points: [3, 2, 1, 0] },
25
+ { problem: "いつもより口数が少ない。", points: [0, 1, 2, 3] },
26
+ { problem: "寂しいと感じる。", points: [0, 1, 2, 3] },
27
+ { problem: "他の人がよそよそしいと感じる。", points: [0, 1, 2, 3] },
28
+ { problem: "生活を楽しく感じる。", points: [3, 2, 1, 0] },
29
+ { problem: "泣き続けることがある。", points: [0, 1, 2, 3] },
30
+ { problem: "悲しいと感じる。", points: [0, 1, 2, 3] },
31
+ { problem: "みんなが私を嫌っていると感じる。", points: [0, 1, 2, 3] },
32
+ { problem: "何も手につかない。", points: [0, 1, 2, 3] }
33
+ ],
34
34
  criteria: 16
35
35
  }
36
36
 
@@ -43,28 +43,28 @@ module CesdProblems
43
43
 
44
44
  en_problems = {
45
45
  answers: ["Rarely or none of the time (<1 day)", "Some or a little of the time (1-2 days)", "Occasionally or a moderate amount of the time (3-4 days)", "Most or all of the time (5-7 days)" ],
46
- problems: {
47
- p1: { problem: "I was bothered by things that don't usually bother me.", points: [0, 1, 2, 3] },
48
- p2: { problem: "I did not feel like eating; my appetite was poor.", points: [0, 1, 2, 3] },
49
- p3: { problem: "I felt that I could not shake off the blues even with the help of my family or friends.", points: [0, 1, 2, 3] },
50
- p4: { problem: "I felt that I was just as good as other people.", points: [3, 2, 1, 0] },
51
- p5: { problem: "I had trouble keeping my mind on what I was doing.", points: [0, 1, 2, 3] },
52
- p6: { problem: "I felt depressed.", points: [0, 1, 2, 3] },
53
- p7: { problem: "I felt everything I did was an effort.", points: [0, 1, 2, 3] },
54
- p8: { problem: "I felt hopeful about the future.", points: [3, 2, 1, 0] },
55
- p9: { problem: "I thought my life had been a failure.", points: [0, 1, 2, 3] },
56
- p10: { problem: "I felt fearful.", points: [0, 1, 2, 3] },
57
- p11: { problem: "My sleep was restless.", points: [0, 1, 2, 3] },
58
- p12: { problem: "I was happy.", points: [3, 2, 1, 0] },
59
- p13: { problem: "I talked less than usual.", points: [0, 1, 2, 3] },
60
- p14: { problem: "I felt lonely.", points: [0, 1, 2, 3] },
61
- p15: { problem: "People were unfriendly.", points: [0, 1, 2, 3] },
62
- p16: { problem: "I enjoyed life.", points: [3, 2, 1, 0] },
63
- p17: { problem: "I had crying spells.", points: [0, 1, 2, 3] },
64
- p18: { problem: "I felt sad.", points: [0, 1, 2, 3] },
65
- p19: { problem: "I felt that people disliked me.", points: [0, 1, 2, 3] },
66
- p20: { problem: "I could not get \"going\".", points: [0, 1, 2, 3] }
67
- },
46
+ problems: [
47
+ { problem: "I was bothered by things that don't usually bother me.", points: [0, 1, 2, 3] },
48
+ { problem: "I did not feel like eating; my appetite was poor.", points: [0, 1, 2, 3] },
49
+ { problem: "I felt that I could not shake off the blues even with the help of my family or friends.", points: [0, 1, 2, 3] },
50
+ { problem: "I felt that I was just as good as other people.", points: [3, 2, 1, 0] },
51
+ { problem: "I had trouble keeping my mind on what I was doing.", points: [0, 1, 2, 3] },
52
+ { problem: "I felt depressed.", points: [0, 1, 2, 3] },
53
+ { problem: "I felt everything I did was an effort.", points: [0, 1, 2, 3] },
54
+ { problem: "I felt hopeful about the future.", points: [3, 2, 1, 0] },
55
+ { problem: "I thought my life had been a failure.", points: [0, 1, 2, 3] },
56
+ { problem: "I felt fearful.", points: [0, 1, 2, 3] },
57
+ { problem: "My sleep was restless.", points: [0, 1, 2, 3] },
58
+ { problem: "I was happy.", points: [3, 2, 1, 0] },
59
+ { problem: "I talked less than usual.", points: [0, 1, 2, 3] },
60
+ { problem: "I felt lonely.", points: [0, 1, 2, 3] },
61
+ { problem: "People were unfriendly.", points: [0, 1, 2, 3] },
62
+ { problem: "I enjoyed life.", points: [3, 2, 1, 0] },
63
+ { problem: "I had crying spells.", points: [0, 1, 2, 3] },
64
+ { problem: "I felt sad.", points: [0, 1, 2, 3] },
65
+ { problem: "I felt that people disliked me.", points: [0, 1, 2, 3] },
66
+ { problem: "I could not get \"going\".", points: [0, 1, 2, 3] }
67
+ ],
68
68
  criteria: 16
69
69
  }
70
70
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cesd_problems
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2.0
4
+ version: 0.1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - h.shigemoto
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-12 00:00:00.000000000 Z
11
+ date: 2016-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler