rack-newsstand 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d1b39385d42b9c031bcf3cd4f16f51ee4226bf9c
4
- data.tar.gz: bff4a52e8bc3dac67ad69da5747a6fb1b65f1df6
3
+ metadata.gz: d58fb34b9989d590f00aec6a4db29f8c71ec2727
4
+ data.tar.gz: 1c13f36296e94f34012df70d794c5e59b6153dfb
5
5
  SHA512:
6
- metadata.gz: 91301f2a6d4a2dde985c5dd61cbb0b147747a8644ec6fca45600aadb58eb44cd093515570a76c9f273fdc84c3e456cdc3128246d6a96023126d64a1cef8cd26c
7
- data.tar.gz: 7a66d26e1ebd237d25548f5869e19f583632631a595539e6044e25f0e4477bf76ffac1e93ecde1a4581c1c70bce5adc6121fb6fd7e2b94665d002436317eaa9a
6
+ metadata.gz: 731c9df32b7c55abd15d37d530b44a92f5a436c1bb024a32506379fc0f34dd5b7758457cc786fbb5bbd8ae3739cd3d70713e57d7a70fd586b5150d76094be256
7
+ data.tar.gz: c016acbb7b3ebc64515ed23659de2e35034a62b3ef75a606bb33f345585d9fd24eed9e65f4dcd0ab9c5f93cd177c25fd5ddd85b467dfaf527b544d286bf589ca
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rack-newsstand (0.1.1)
4
+ rack-newsstand (0.1.2)
5
5
  builder (>= 3.0)
6
6
  plist (~> 3.1)
7
7
  rack (~> 1.4)
@@ -11,11 +11,11 @@ PATH
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- builder (3.2.0)
14
+ builder (3.2.2)
15
15
  diff-lcs (1.2.4)
16
16
  plist (3.1.0)
17
17
  rack (1.5.2)
18
- rack-protection (1.5.0)
18
+ rack-protection (1.5.2)
19
19
  rack
20
20
  rake (10.0.4)
21
21
  rspec (2.13.0)
@@ -26,12 +26,12 @@ GEM
26
26
  rspec-expectations (2.13.0)
27
27
  diff-lcs (>= 1.1.3, < 2.0)
28
28
  rspec-mocks (2.13.1)
29
- sequel (3.47.0)
30
- sinatra (1.4.2)
31
- rack (~> 1.5, >= 1.5.2)
29
+ sequel (3.48.0)
30
+ sinatra (1.4.4)
31
+ rack (~> 1.4)
32
32
  rack-protection (~> 1.4)
33
33
  tilt (~> 1.3, >= 1.3.4)
34
- tilt (1.4.0)
34
+ tilt (1.4.1)
35
35
 
36
36
  PLATFORMS
37
37
  ruby
@@ -9,7 +9,7 @@ module Rack
9
9
  disable :raise_errors, :show_exceptions
10
10
 
11
11
  configure do
12
- Sequel.extension :core_extensions, :migration, :pg_array, :pg_hstore, :pg_hstore_ops
12
+ Sequel.extension :core_extensions, :migration, :pg_array, :pg_array_ops, :pg_hstore, :pg_hstore_ops
13
13
 
14
14
  if ENV['DATABASE_URL']
15
15
  DB = Sequel.connect(ENV['DATABASE_URL'])
@@ -26,7 +26,7 @@ module Rack
26
26
  request.accept.each do |type|
27
27
  case type.to_s
28
28
  when 'application/atom+xml', 'application/xml', 'text/xml'
29
- content_type 'application/x-plist'
29
+ content_type 'application/atom+xml'
30
30
  return builder :atom
31
31
  when 'application/x-plist'
32
32
  content_type 'application/x-plist'
@@ -6,7 +6,6 @@ Sequel.migration do
6
6
  primary_key :id
7
7
 
8
8
  column :name, :varchar, unique: true, empty: false
9
- column :title, :varchar, empty: false
10
9
  column :summary, :varchar, empty: false
11
10
  column :tags, :'text[]'
12
11
  column :metadata, :hstore
@@ -16,7 +16,6 @@ module Rack
16
16
  def to_plist_node
17
17
  {
18
18
  name: self.name,
19
- title: self.title,
20
19
  date: self.published_at,
21
20
  covers: (self.cover_urls || {}).to_hash,
22
21
  assets: (self.asset_urls || []).to_a
Binary file
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.authors = ["Mattt Thompson"]
8
8
  s.email = "m@mattt.me"
9
9
  s.homepage = "http://mattt.me"
10
- s.version = "0.1.1"
10
+ s.version = "0.1.2"
11
11
  s.platform = Gem::Platform::RUBY
12
12
  s.summary = "Rack::Newsstand"
13
13
  s.description = "Automatically generate webservice endpoints for Newsstand"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-newsstand
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mattt Thompson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-07 00:00:00.000000000 Z
11
+ date: 2014-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -70,42 +70,42 @@ dependencies:
70
70
  name: builder
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ! '>='
73
+ - - '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '3.0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ! '>='
80
+ - - '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '3.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ! '>='
87
+ - - '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ! '>='
94
+ - - '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rake
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ! '>='
101
+ - - '>='
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ! '>='
108
+ - - '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  description: Automatically generate webservice endpoints for Newsstand
@@ -121,6 +121,7 @@ files:
121
121
  - ./lib/rack/newsstand/models/issue.rb
122
122
  - ./lib/rack/newsstand.rb
123
123
  - ./LICENSE
124
+ - ./rack-newsstand-0.1.1.gem
124
125
  - ./rack-newsstand.gemspec
125
126
  - ./Rakefile
126
127
  - ./README.md
@@ -134,17 +135,17 @@ require_paths:
134
135
  - lib
135
136
  required_ruby_version: !ruby/object:Gem::Requirement
136
137
  requirements:
137
- - - ! '>='
138
+ - - '>='
138
139
  - !ruby/object:Gem::Version
139
140
  version: '0'
140
141
  required_rubygems_version: !ruby/object:Gem::Requirement
141
142
  requirements:
142
- - - ! '>='
143
+ - - '>='
143
144
  - !ruby/object:Gem::Version
144
145
  version: '0'
145
146
  requirements: []
146
147
  rubyforge_project:
147
- rubygems_version: 2.0.3
148
+ rubygems_version: 2.1.11
148
149
  signing_key:
149
150
  specification_version: 4
150
151
  summary: Rack::Newsstand