almanack 1.1.0.beta5 → 1.1.0.beta6

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
- SHA1:
3
- metadata.gz: 0c36d9bfa065a70d2b6e3b5299213dc8ea38132b
4
- data.tar.gz: 522b3819c8bc819ba3499f07c9d9e15d3d6476ea
2
+ SHA256:
3
+ metadata.gz: 05426dcc39293d4df6b54f8c3f54e8bb30aecfc45e1e49ef7949b66932e1c9e5
4
+ data.tar.gz: 5ce2e06a75cd667fcc429366ea6bf8a595c2f5bd7fd395e54c75a4506f31512a
5
5
  SHA512:
6
- metadata.gz: 7abe8380eab8d1a8ad8a7ba45ca92de6b8abbac1764fcd7e83f7d29b6c83b023d00f3530fb4c0604770aedaadbadafd69bc2a9f1b808a27fa8acfcdda0210047
7
- data.tar.gz: 4cfe46e37c3570ff50858a05869754c501fb2a413b573caaa8038e04a3da79c7296b20172e1f9767b9c6cc83975f5e753c50eea6987772a6f81cc9f69c2bae49
6
+ metadata.gz: cd20eb9a10afb336b9b5b514e3b1cb0784110a5932769ecbfd55b70029c399aec355e3294f77690882fb64b98eb8e79a359e7e2144f5e518aaffb6ea2ce50b7d
7
+ data.tar.gz: c946d50086a0d5638cb47323875d6e8032e58e42b864ba6f1aea22a7e6344e10748d93114ac59795b17b9b00595c666531a20599d128bde1ea6b4ddb8e15b77e
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ .sass-cache/
data/.travis.yml CHANGED
@@ -1,12 +1,9 @@
1
1
  language: ruby
2
2
  cache: bundler
3
3
  rvm:
4
- - 2.1.5
5
- - 2.1.4
6
- - 2.1.3
7
- - 2.1.2
8
- - 2.1.0
9
- - 2.0.0
4
+ - 2.4.5
5
+ - 2.5.3
6
+ - 2.6.2
10
7
  addons:
11
8
  code_climate:
12
9
  repo_token:
data/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # Almanack
2
2
 
3
3
  [![Build Status](https://travis-ci.org/Aupajo/almanack.svg)](https://travis-ci.org/Aupajo/almanack)
4
- [![Code Climate](https://codeclimate.com/github/Aupajo/almanack.png)](https://codeclimate.com/github/Aupajo/almanack)
5
4
  [![Gem Version](https://badge.fury.io/rb/almanack.svg)](http://badge.fury.io/rb/almanack)
6
5
 
7
6
  A calendar that combines events from different sources (such as Google Calendar, Meetup.com, and iCal feeds), and can be hosted for free on [Heroku](http://heroku.com).
data/almanack.gemspec CHANGED
@@ -28,7 +28,6 @@ Gem::Specification.new do |spec|
28
28
  spec.add_dependency "rack-contrib"
29
29
  spec.add_dependency "activesupport"
30
30
 
31
- spec.add_development_dependency "bundler", "~> 1.5"
32
31
  spec.add_development_dependency "pry"
33
32
  spec.add_development_dependency "rake"
34
33
  spec.add_development_dependency "rspec"
@@ -37,5 +36,4 @@ Gem::Specification.new do |spec|
37
36
  spec.add_development_dependency "vcr"
38
37
  spec.add_development_dependency "timecop"
39
38
  spec.add_development_dependency "nokogiri"
40
- spec.add_development_dependency "codeclimate-test-reporter"
41
39
  end
@@ -25,7 +25,6 @@ module Almanack
25
25
 
26
26
  def connection
27
27
  @connection ||= Faraday.new do |conn|
28
- conn.use FaradayMiddleware::FollowRedirects
29
28
  conn.response(:caching) { cache_store } if cache_responses
30
29
  conn.adapter Faraday.default_adapter
31
30
  end
@@ -15,15 +15,15 @@ module Almanack
15
15
  end
16
16
 
17
17
  def title
18
- safely_encoded(:title)
18
+ self[:title]&.force_encoding('UTF-8')
19
19
  end
20
20
 
21
21
  def location
22
- safely_encoded(:location)
22
+ self[:location]&.force_encoding('UTF-8')
23
23
  end
24
24
 
25
25
  def description
26
- safely_encoded(:description)
26
+ self[:description]&.force_encoding('UTF-8')
27
27
  end
28
28
 
29
29
  # Deprecated in favour of start_time
@@ -52,10 +52,6 @@ module Almanack
52
52
 
53
53
  private
54
54
 
55
- def safely_encoded(attr)
56
- self[attr].try(:force_encoding, 'UTF-8')
57
- end
58
-
59
55
  def serialize_attribute(attribute)
60
56
  value = send(attribute)
61
57
  value.is_a?(Time) ? value.iso8601 : value
@@ -1,6 +1,6 @@
1
1
  module Almanack
2
2
  CODENAME = "Garlick"
3
- VERSION = "1.1.0.beta5"
3
+ VERSION = "1.1.0.beta6"
4
4
  HOMEPAGE = "https://github.com/Aupajo/almanack"
5
5
  ISSUES = "https://github.com/Aupajo/almanack/issues"
6
6
  end
data/spec/spec_helper.rb CHANGED
@@ -2,9 +2,6 @@ require 'webmock/rspec'
2
2
  require 'vcr'
3
3
  require 'timecop'
4
4
  require 'nokogiri'
5
- require 'codeclimate-test-reporter'
6
-
7
- CodeClimate::TestReporter.start if ENV['CODECLIMATE_REPO_TOKEN']
8
5
 
9
6
  require 'almanack'
10
7
 
@@ -18,8 +15,7 @@ end
18
15
 
19
16
  VCR.configure do |config|
20
17
  config.cassette_library_dir = File.expand_path('../fixtures/responses', __FILE__)
21
- config.ignore_hosts 'codeclimate.com'
22
18
  config.hook_into :webmock
23
19
  end
24
20
 
25
- WebMock.disable_net_connect!(:allow => "codeclimate.com")
21
+ WebMock.disable_net_connect!
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: almanack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0.beta5
4
+ version: 1.1.0.beta6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Nicholls
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-29 00:00:00.000000000 Z
11
+ date: 2019-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra
@@ -150,20 +150,6 @@ dependencies:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
- - !ruby/object:Gem::Dependency
154
- name: bundler
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: '1.5'
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: '1.5'
167
153
  - !ruby/object:Gem::Dependency
168
154
  name: pry
169
155
  requirement: !ruby/object:Gem::Requirement
@@ -276,20 +262,6 @@ dependencies:
276
262
  - - ">="
277
263
  - !ruby/object:Gem::Version
278
264
  version: '0'
279
- - !ruby/object:Gem::Dependency
280
- name: codeclimate-test-reporter
281
- requirement: !ruby/object:Gem::Requirement
282
- requirements:
283
- - - ">="
284
- - !ruby/object:Gem::Version
285
- version: '0'
286
- type: :development
287
- prerelease: false
288
- version_requirements: !ruby/object:Gem::Requirement
289
- requirements:
290
- - - ">="
291
- - !ruby/object:Gem::Version
292
- version: '0'
293
265
  description:
294
266
  email:
295
267
  - pete@metanation.com
@@ -377,8 +349,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
377
349
  - !ruby/object:Gem::Version
378
350
  version: 1.3.1
379
351
  requirements: []
380
- rubyforge_project:
381
- rubygems_version: 2.5.1
352
+ rubygems_version: 3.0.3
382
353
  signing_key:
383
354
  specification_version: 4
384
355
  summary: Combined events calendar for Google Calendar, iCal, Meetup.com and friends.