memo_rage 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,11 +10,9 @@ module MemoRage
10
10
  end
11
11
 
12
12
  def form_array(entry)
13
- output = []
14
- entry.elements.each do |text|
15
- output << text.text
13
+ entry.elements.collect do |text|
14
+ text.text
16
15
  end
17
- output
18
16
  end
19
17
  end
20
18
  end
@@ -26,8 +26,7 @@ module MemoRage
26
26
  :runtime => entry.elements["runtime"].text.to_i,
27
27
  :airtime => entry.elements["airtime"].text,
28
28
  :airday => entry.elements["airday"].text,
29
- :timezone => entry.elements["timezone"].text,
30
- :akas => form_array(entry.elements["akas"])
29
+ :timezone => entry.elements["timezone"].text
31
30
  )
32
31
  end
33
32
 
@@ -1,3 +1,3 @@
1
1
  module MemoRage
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/memo_rage.rb CHANGED
@@ -10,4 +10,4 @@ require "memo_rage/node"
10
10
  require "memo_rage/show"
11
11
  require "memo_rage/episode"
12
12
  require "memo_rage/client"
13
- require "memo_rage/parser"
13
+ require "memo_rage/parser"
@@ -70,4 +70,4 @@ module WebMockHelper
70
70
  end
71
71
 
72
72
  include WebMockHelper
73
- WebMock.disable_net_connect!
73
+ WebMock.disable_net_connect!
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: memo_rage
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:
@@ -10,12 +10,12 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-03-01 00:00:00.000000000 +02:00
13
+ date: 2012-03-12 00:00:00.000000000 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: httpclient
18
- requirement: &74295010 !ruby/object:Gem::Requirement
18
+ requirement: &80528250 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: 2.2.0.2
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *74295010
26
+ version_requirements: *80528250
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: hashie
29
- requirement: &74294750 !ruby/object:Gem::Requirement
29
+ requirement: &80528000 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: 1.1.0
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *74294750
37
+ version_requirements: *80528000
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: rake
40
- requirement: &74294500 !ruby/object:Gem::Requirement
40
+ requirement: &80527770 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ! '>='
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: 0.8.7
46
46
  type: :development
47
47
  prerelease: false
48
- version_requirements: *74294500
48
+ version_requirements: *80527770
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: rspec
51
- requirement: &74294230 !ruby/object:Gem::Requirement
51
+ requirement: &80527540 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ! '>='
@@ -56,10 +56,10 @@ dependencies:
56
56
  version: '2'
57
57
  type: :development
58
58
  prerelease: false
59
- version_requirements: *74294230
59
+ version_requirements: *80527540
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: webmock
62
- requirement: &74293980 !ruby/object:Gem::Requirement
62
+ requirement: &80527310 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
65
  - - ! '>='
@@ -67,10 +67,10 @@ dependencies:
67
67
  version: 1.6.2
68
68
  type: :development
69
69
  prerelease: false
70
- version_requirements: *74293980
70
+ version_requirements: *80527310
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: timecop
73
- requirement: &74293740 !ruby/object:Gem::Requirement
73
+ requirement: &80527080 !ruby/object:Gem::Requirement
74
74
  none: false
75
75
  requirements:
76
76
  - - ! '>='
@@ -78,7 +78,7 @@ dependencies:
78
78
  version: 0.3.5
79
79
  type: :development
80
80
  prerelease: false
81
- version_requirements: *74293740
81
+ version_requirements: *80527080
82
82
  description: Find more information at https://github.com/appsbakery/memo_rage
83
83
  email:
84
84
  - aganov@gmail.com