capitan 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YTUxMmNhNGI1MWZhN2IwZjVhY2YyMmQyYTg0ZDFhMmM1YWI1ZjQ3Nw==
5
+ data.tar.gz: !binary |-
6
+ NmUyYmZlOTRkZjBkMTNiYmQ0ZDI3MTA5YmJhOTAyYTY3MWI3NDBlZg==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ OTczZmFkNTJhYzAzMTcwYTQ3YWU0ZGVkZjUzNzE4Yjk0OWZmYmY4MTE2MGNi
10
+ MWY0YzhiYWJkNzY1Y2IxMTkxNTZiMzM0Njg5ODRmMDM3YmYwNWVmNGMxZGNl
11
+ MjAwYzMyM2FiYzJjNDdkOWI3YjNmYjJhZjkwZmM4NzU2ODA5YTk=
12
+ data.tar.gz: !binary |-
13
+ ZjJjNWE5YjIzYjhlYjQyZWJlZmUwY2JiNDEyMDhkZGM1NjViOTdlNGQ2NWZh
14
+ Mzg3YzU0OGEwZTQ0NWQ2MWYwZmZhNDE2YmI3ZDIxOGRkMGIzMzA3NWViZTQy
15
+ MzRlZTkzZDYxMjRiYjY4NjM3Mzk1Njg1MjViMGEyNTk1NDlhZWI=
data/README CHANGED
@@ -1,9 +1,9 @@
1
1
  Capitan
2
2
  =======
3
3
 
4
- Capitan is a Ruby plugin built to serve as a connector to Culturaldistrict.org through its API. cAPI provides read-only access to show listings and details, as well a as a monthly calendar feed. All responses are returned as JSON. Capitan handles the connection to cAPI, and serializes all JSON responses for use in your site.
4
+ Capitan is a Ruby plugin built to serve as a connector to CulturalDistrict.org through its API. cAPI provides read-only access to show listings and details, as well a as a monthly calendar feed. All responses are returned as JSON. Capitan handles the connection to cAPI, and serializes all JSON responses for use in your site.
5
5
 
6
- An API key is required. To receive on, contact us at helpdesk@cuturaldistrict.org
6
+ An API key is required. To receive one, contact us at helpdesk@cuturaldistrict.org
7
7
 
8
8
  Once received, the API key must be placed in your config.yml file as:
9
9
 
@@ -4,7 +4,7 @@ require "capitan"
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "capitan"
7
- s.version = '1.0.1'
7
+ s.version = '1.0.2'
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["Eric Sipple"]
10
10
  s.email = ["sipple@trustarts.org"]
@@ -22,7 +22,7 @@ class Capitan::Connection
22
22
 
23
23
  def get_response(url)
24
24
 
25
- Rails.cache.fetch(url) do
25
+ Rails.cache.fetch(url, expires_in: 60.minutes) do
26
26
  RestClient.get(url)
27
27
  end
28
28
 
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capitan
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
5
- prerelease:
4
+ version: 1.0.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Eric Sipple
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-12-10 00:00:00.000000000 Z
11
+ date: 2015-02-16 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rest-client
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ! '>='
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ! '>='
28
25
  - !ruby/object:Gem::Version
@@ -35,9 +32,13 @@ executables: []
35
32
  extensions: []
36
33
  extra_rdoc_files: []
37
34
  files:
35
+ - MIT-LICENSE
36
+ - README
37
+ - Rakefile
38
38
  - capitan.gemspec
39
39
  - init.rb
40
40
  - install.rb
41
+ - lib/capitan.rb
41
42
  - lib/capitan/calendar/calendar_show.rb
42
43
  - lib/capitan/calendar/day.rb
43
44
  - lib/capitan/calendar/monthly.rb
@@ -52,36 +53,31 @@ files:
52
53
  - lib/capitan/show_methods.rb
53
54
  - lib/capitan/shows.rb
54
55
  - lib/capitan/venue.rb
55
- - lib/capitan.rb
56
- - MIT-LICENSE
57
- - Rakefile
58
- - README
59
56
  - test/capitan_test.rb
60
57
  - test/test_helper.rb
61
58
  - uninstall.rb
62
59
  homepage: https://github.com/pgharts/capitan/
63
60
  licenses: []
61
+ metadata: {}
64
62
  post_install_message:
65
63
  rdoc_options: []
66
64
  require_paths:
67
65
  - lib
68
66
  required_ruby_version: !ruby/object:Gem::Requirement
69
- none: false
70
67
  requirements:
71
68
  - - ! '>='
72
69
  - !ruby/object:Gem::Version
73
70
  version: '0'
74
71
  required_rubygems_version: !ruby/object:Gem::Requirement
75
- none: false
76
72
  requirements:
77
73
  - - ! '>='
78
74
  - !ruby/object:Gem::Version
79
75
  version: '0'
80
76
  requirements: []
81
77
  rubyforge_project:
82
- rubygems_version: 1.8.29
78
+ rubygems_version: 2.4.5
83
79
  signing_key:
84
- specification_version: 3
80
+ specification_version: 4
85
81
  summary: Interface for culturaldistrict.org's read-only API
86
82
  test_files:
87
83
  - test/capitan_test.rb