hiroshimarb 0.2.7 → 0.2.8
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 +4 -4
- data/lib/hiroshimarb/version.rb +1 -1
- data/resource/event.yaml +6 -0
- data/spec/hiroshimarb/event_spec.rb +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 398e0f0fdcfb2e2dced711164b797e1cf89db44d
|
|
4
|
+
data.tar.gz: d57640e689092c983ada9f474c022938a97846d8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3acd3a12914f6fed75a90501cd6df78f39779d84a63f0cea26a482c31b330fed086307496f4fd11572c8e23b3ecf3baa4215190efb19bd60852cd004991a7682
|
|
7
|
+
data.tar.gz: 430edd8de4c8bbec398a908903ea517de674a4b1b9351a074b507ab6b8ac1f753b91d9fbcd86273ab86cd5358c9e3839392efaba00fdb86d6fce280be7393ea2
|
data/lib/hiroshimarb/version.rb
CHANGED
data/resource/event.yaml
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
---
|
|
2
|
+
- date: '2013-09-07 14:00 - 18:00'
|
|
3
|
+
title: '広島Ruby勉強会 #034'
|
|
4
|
+
url: 'http://hiroshimarb.github.com/blog/2013/09/07/hiroshimarb-34/'
|
|
5
|
+
- date: '2013-08-03 14:00 - 18:00'
|
|
6
|
+
title: '広島Ruby勉強会 #033'
|
|
7
|
+
url: 'http://hiroshimarb.github.com/blog/2013/08/03/hiroshimarb-33/'
|
|
2
8
|
- date: '2013-07-06 14:00 - 18:00'
|
|
3
9
|
title: '広島Ruby勉強会 #032'
|
|
4
10
|
url: 'http://hiroshimarb.github.com/blog/2013/07/06/hiroshimarb-32/'
|
|
@@ -6,15 +6,15 @@ module Hiroshimarb
|
|
|
6
6
|
describe Event do
|
|
7
7
|
describe '.all' do
|
|
8
8
|
subject { Event.all }
|
|
9
|
-
it { should have(
|
|
9
|
+
it { should have(8).items }
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
describe '.recent' do
|
|
13
13
|
subject { Event.recent }
|
|
14
|
-
its(:title) { should eq('広島Ruby勉強会 #
|
|
15
|
-
it '日付は
|
|
14
|
+
its(:title) { should eq('広島Ruby勉強会 #034') }
|
|
15
|
+
it '日付は2013年 9月7日' do
|
|
16
16
|
date = subject.start_datetime
|
|
17
|
-
expect(date.strftime('%Y-%m-%d')).to eq('2013-
|
|
17
|
+
expect(date.strftime('%Y-%m-%d')).to eq('2013-09-07')
|
|
18
18
|
end
|
|
19
19
|
end
|
|
20
20
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hiroshimarb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tomohiko Himura
|
|
@@ -24,7 +24,7 @@ authors:
|
|
|
24
24
|
autorequire:
|
|
25
25
|
bindir: bin
|
|
26
26
|
cert_chain: []
|
|
27
|
-
date: 2013-
|
|
27
|
+
date: 2013-08-21 00:00:00.000000000 Z
|
|
28
28
|
dependencies:
|
|
29
29
|
- !ruby/object:Gem::Dependency
|
|
30
30
|
name: launchy
|
|
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
151
151
|
version: '0'
|
|
152
152
|
requirements: []
|
|
153
153
|
rubyforge_project: github
|
|
154
|
-
rubygems_version: 2.0.
|
|
154
|
+
rubygems_version: 2.0.3
|
|
155
155
|
signing_key:
|
|
156
156
|
specification_version: 4
|
|
157
157
|
summary: provide `hiroshimarb` command. hiroshimarb is Hiroshima.rb
|