ratlas 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/README.rdoc +1 -5
  2. data/Rakefile +2 -1
  3. data/VERSION +1 -1
  4. data/ratlas.gemspec +82 -0
  5. metadata +35 -12
@@ -16,11 +16,7 @@ Please see the atlas api documentation for a list of methods and their arguments
16
16
  puts n.title
17
17
  end
18
18
 
19
- Ratlas::Schedule.find(:all).where(:genre=> "drama", :media_type => 'video').each do |n|
20
- puts n.title
21
- end
22
-
23
- #http://atlasapi.org/3.0/schedule.json?from=now&to=now.plus.24h&channel=bbcone&publisher=bbc.co.uk,itv.com
19
+ #http://atlasapi.org/3.0/schedule.json?from=now&to=now.plus.1h&channel=bbcone&publisher=bbc.co.uk
24
20
  Ratlas::Schedule.find(:all).where(:from => Time.now.to_i, :to=> Time.now.to_i + 3600).and(:channel => 'bbcone', :publisher => 'bbc.co.uk').each do |n|
25
21
  puts "#{n.channel_title} has the following programs in the next hour:"
26
22
  n.items {|program| puts "-#{program.first.title}"}
data/Rakefile CHANGED
@@ -21,7 +21,8 @@ Jeweler::Tasks.new do |gem|
21
21
  gem.authors = ["Daniel Cooper"]
22
22
  # Include your dependencies below. Runtime dependencies are required when using your gem,
23
23
  # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
24
- # gem.add_runtime_dependency 'jabber4r', '> 0.1'
24
+ gem.add_runtime_dependency 'hashie', '> 0.1'
25
+ gem.add_runtime_dependency 'addressable', '> 0.1'
25
26
  # gem.add_development_dependency 'rspec', '> 1.2.3'
26
27
  end
27
28
  Jeweler::RubygemsDotOrgTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -0,0 +1,82 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{ratlas}
8
+ s.version = "0.1.2"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Daniel Cooper"]
12
+ s.date = %q{2011-04-06}
13
+ s.description = %q{Rutlas allows you to consume to the Atlas api without getting your hands dirty}
14
+ s.email = %q{daniel@14lines.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ "Gemfile",
21
+ "Gemfile.lock",
22
+ "LICENSE.txt",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "lib/patches/string.rb",
27
+ "lib/ratlas.rb",
28
+ "lib/ratlas/content.rb",
29
+ "lib/ratlas/discover.rb",
30
+ "lib/ratlas/query.rb",
31
+ "lib/ratlas/queryable.rb",
32
+ "lib/ratlas/response.rb",
33
+ "lib/ratlas/schedule.rb",
34
+ "lib/ratlas/search.rb",
35
+ "ratlas.gemspec",
36
+ "spec/container_spec.rb",
37
+ "spec/fixtures/content.json",
38
+ "spec/live_container_spec.rb",
39
+ "spec/ratlas_spec.rb"
40
+ ]
41
+ s.homepage = %q{http://github.com/daniel_cooper/ratlas}
42
+ s.licenses = ["MIT"]
43
+ s.require_paths = ["lib"]
44
+ s.rubygems_version = %q{1.7.2}
45
+ s.summary = %q{A Atlas api Ruby client}
46
+ s.test_files = [
47
+ "spec/container_spec.rb",
48
+ "spec/live_container_spec.rb",
49
+ "spec/ratlas_spec.rb"
50
+ ]
51
+
52
+ if s.respond_to? :specification_version then
53
+ s.specification_version = 3
54
+
55
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
56
+ s.add_development_dependency(%q<rspec>, [">= 0"])
57
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
58
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
59
+ s.add_development_dependency(%q<hashie>, [">= 0"])
60
+ s.add_development_dependency(%q<addressable>, [">= 0"])
61
+ s.add_runtime_dependency(%q<hashie>, ["> 0.1"])
62
+ s.add_runtime_dependency(%q<addressable>, ["> 0.1"])
63
+ else
64
+ s.add_dependency(%q<rspec>, [">= 0"])
65
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
66
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
67
+ s.add_dependency(%q<hashie>, [">= 0"])
68
+ s.add_dependency(%q<addressable>, [">= 0"])
69
+ s.add_dependency(%q<hashie>, ["> 0.1"])
70
+ s.add_dependency(%q<addressable>, ["> 0.1"])
71
+ end
72
+ else
73
+ s.add_dependency(%q<rspec>, [">= 0"])
74
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
75
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
76
+ s.add_dependency(%q<hashie>, [">= 0"])
77
+ s.add_dependency(%q<addressable>, [">= 0"])
78
+ s.add_dependency(%q<hashie>, ["> 0.1"])
79
+ s.add_dependency(%q<addressable>, ["> 0.1"])
80
+ end
81
+ end
82
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ratlas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-04-06 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &10678740 !ruby/object:Gem::Requirement
16
+ requirement: &11896600 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *10678740
24
+ version_requirements: *11896600
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
27
- requirement: &10673720 !ruby/object:Gem::Requirement
27
+ requirement: &11893500 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.0.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *10673720
35
+ version_requirements: *11893500
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: jeweler
38
- requirement: &10608440 !ruby/object:Gem::Requirement
38
+ requirement: &11889760 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.5.2
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *10608440
46
+ version_requirements: *11889760
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: hashie
49
- requirement: &10585940 !ruby/object:Gem::Requirement
49
+ requirement: &11880000 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *10585940
57
+ version_requirements: *11880000
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: addressable
60
- requirement: &10552200 !ruby/object:Gem::Requirement
60
+ requirement: &11877020 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,7 +65,29 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *10552200
68
+ version_requirements: *11877020
69
+ - !ruby/object:Gem::Dependency
70
+ name: hashie
71
+ requirement: &11870860 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>'
75
+ - !ruby/object:Gem::Version
76
+ version: '0.1'
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: *11870860
80
+ - !ruby/object:Gem::Dependency
81
+ name: addressable
82
+ requirement: &11866480 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ! '>'
86
+ - !ruby/object:Gem::Version
87
+ version: '0.1'
88
+ type: :runtime
89
+ prerelease: false
90
+ version_requirements: *11866480
69
91
  description: Rutlas allows you to consume to the Atlas api without getting your hands
70
92
  dirty
71
93
  email: daniel@14lines.com
@@ -90,6 +112,7 @@ files:
90
112
  - lib/ratlas/response.rb
91
113
  - lib/ratlas/schedule.rb
92
114
  - lib/ratlas/search.rb
115
+ - ratlas.gemspec
93
116
  - spec/container_spec.rb
94
117
  - spec/fixtures/content.json
95
118
  - spec/live_container_spec.rb
@@ -109,7 +132,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
109
132
  version: '0'
110
133
  segments:
111
134
  - 0
112
- hash: 2724427395774470526
135
+ hash: -1887629730318498064
113
136
  required_rubygems_version: !ruby/object:Gem::Requirement
114
137
  none: false
115
138
  requirements: