akki 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,7 +16,7 @@ module Akki
16
16
  yaml = YAML.parse(parts[0])
17
17
  content = parts[1]
18
18
  title = yaml['title'].value
19
- date = Date.strptime(yaml['date'].value, '%d/%m/%Y')
19
+ date = Date.strptime(yaml['date'].value, '%Y/%m/%d')
20
20
  Article.new(title, date, content)
21
21
  end
22
22
 
@@ -1,3 +1,3 @@
1
1
  module Akki
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -6,7 +6,7 @@ module Akki
6
6
  before do
7
7
  File.stub!(:read).and_return <<-ARTICLE
8
8
  title: the article title
9
- date: 23/10/1983
9
+ date: 1983/10/23
10
10
 
11
11
  article content
12
12
  ARTICLE
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: akki
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: sinatra
17
- requirement: &70211798428040 !ruby/object:Gem::Requirement
17
+ requirement: &70309988133600 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70211798428040
25
+ version_requirements: *70309988133600
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: haml
28
- requirement: &70211798427620 !ruby/object:Gem::Requirement
28
+ requirement: &70309988133180 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70211798427620
36
+ version_requirements: *70309988133180
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: rspec
39
- requirement: &70211798427200 !ruby/object:Gem::Requirement
39
+ requirement: &70309988132760 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: '0'
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *70211798427200
47
+ version_requirements: *70309988132760
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: cucumber
50
- requirement: &70211798426780 !ruby/object:Gem::Requirement
50
+ requirement: &70309988132340 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: '0'
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *70211798426780
58
+ version_requirements: *70309988132340
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: capybara
61
- requirement: &70211798426360 !ruby/object:Gem::Requirement
61
+ requirement: &70309988131920 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,7 +66,7 @@ dependencies:
66
66
  version: '0'
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *70211798426360
69
+ version_requirements: *70309988131920
70
70
  description: ''
71
71
  email:
72
72
  - andrew.vos@gmail.com