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 +4 -4
- data/Gemfile.lock +7 -7
- data/lib/rack/newsstand.rb +2 -2
- data/lib/rack/newsstand/migrations/001_base_schema.rb +0 -1
- data/lib/rack/newsstand/models/issue.rb +0 -1
- data/rack-newsstand-0.1.1.gem +0 -0
- data/rack-newsstand.gemspec +1 -1
- metadata +12 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d58fb34b9989d590f00aec6a4db29f8c71ec2727
|
4
|
+
data.tar.gz: 1c13f36296e94f34012df70d794c5e59b6153dfb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 731c9df32b7c55abd15d37d530b44a92f5a436c1bb024a32506379fc0f34dd5b7758457cc786fbb5bbd8ae3739cd3d70713e57d7a70fd586b5150d76094be256
|
7
|
+
data.tar.gz: c016acbb7b3ebc64515ed23659de2e35034a62b3ef75a606bb33f345585d9fd24eed9e65f4dcd0ab9c5f93cd177c25fd5ddd85b467dfaf527b544d286bf589ca
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rack-newsstand (0.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.
|
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.
|
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.
|
30
|
-
sinatra (1.4.
|
31
|
-
rack (~> 1.
|
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.
|
34
|
+
tilt (1.4.1)
|
35
35
|
|
36
36
|
PLATFORMS
|
37
37
|
ruby
|
data/lib/rack/newsstand.rb
CHANGED
@@ -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/
|
29
|
+
content_type 'application/atom+xml'
|
30
30
|
return builder :atom
|
31
31
|
when 'application/x-plist'
|
32
32
|
content_type 'application/x-plist'
|
Binary file
|
data/rack-newsstand.gemspec
CHANGED
@@ -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.
|
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.
|
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:
|
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.
|
148
|
+
rubygems_version: 2.1.11
|
148
149
|
signing_key:
|
149
150
|
specification_version: 4
|
150
151
|
summary: Rack::Newsstand
|