icalendar-google 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13de64abb6efa76bf863ec19edf1981094afc8789741884731de681d66511d1c
4
- data.tar.gz: 279f6c8aaea08ff18b84fdc461c4cb36bb8dbd005e78af378b1d7091a481ea41
3
+ metadata.gz: 48e492f55a1ebb026e1f1013bb985f8113fb241872f2e708e8af70321128436b
4
+ data.tar.gz: 2f26a238a4b27cf35f22c2a31f324c4269029cafc3264037c4152436551b96a4
5
5
  SHA512:
6
- metadata.gz: 1cf14f88a3fd41a7d1b88d6c7c1190af2a40ff93a0336f306a15033a8fa21bd2ccfa9ff1c131a3d891b948e76283656397af58f718ddfed6b8dbfe8978cf3b1d
7
- data.tar.gz: 881fe8c5945d494a9684b805416a7a6da48311e0d870ec9de4738dd770922974c6c79ae80cb9e970c16d1610031ae04ff29d1618be413688d246ebbe430e3e46
6
+ metadata.gz: fffe292dcf41674b916dae8c6e77f0dc4990b7b57714378308328348a4ab3be709d10ca2d9878e47f9bb77d7694846917361b5096c4fa320631e8aa71f8b28f2
7
+ data.tar.gz: 6a2696527b65b2248247fd3e58d4210da952de1df1c1df64b3db68cf68ec04f07d6dbf518fd79a24480422ec55290a5a9a46f5fd86f70889c86ed1e7d5a49615
data/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # Google iCalendar
2
2
 
3
- [![Build Status](https://travis-ci.com/amancevice/icalendar-google.svg?branch=master)](https://travis-ci.com/amancevice/icalendar-google)
4
- [![Gem Version](https://badge.fury.io/rb/icalendar-google.svg)](https://badge.fury.io/rb/icalendar-google)
5
- [![Test Coverage](https://api.codeclimate.com/v1/badges/9262efaca53e186d1801/test_coverage)](https://codeclimate.com/github/amancevice/icalendar-google/test_coverage)
6
- [![Maintainability](https://api.codeclimate.com/v1/badges/9262efaca53e186d1801/maintainability)](https://codeclimate.com/github/amancevice/icalendar-google/maintainability)
3
+ ![gem](https://img.shields.io/gem/v/icalendar-google?logo=rubygems&logoColor=eee&style=flat-square)
4
+ [![rspec](https://img.shields.io/github/workflow/status/amancevice/icalendar-google/RSpec?logo=github&style=flat-square)](https://github.com/amancevice/icalendar-google/actions)
5
+ [![coverage](https://img.shields.io/codeclimate/coverage/amancevice/icalendar-google?logo=code-climate&style=flat-square)](https://codeclimate.com/github/amancevice/icalendar-google/test_coverage)
6
+ [![maintainability](https://img.shields.io/codeclimate/maintainability/amancevice/icalendar-google?logo=code-climate&style=flat-square)](https://codeclimate.com/github/amancevice/icalendar-google/maintainability)
7
7
 
8
8
  Google Calendar extension for iCalendar
9
9
 
@@ -17,7 +17,7 @@ module Icalendar
17
17
  body = Net::HTTP.start(uri.host, uri.port, use_ssl: ssl) do |http|
18
18
  req = Net::HTTP::Get.new(uri.request_uri)
19
19
  res = http.request(req)
20
- enc = res['content-type'][%r{charset=(.*)}, 1]
20
+ enc = res['content-type'][%r{charset=(.*)}i, 1]
21
21
  enc.nil? ? res.body : res.body.force_encoding(enc)
22
22
  end
23
23
  Calendar.parse(body).each do |calendar|
@@ -1,5 +1,5 @@
1
1
  module Icalendar
2
2
  module Google
3
- VERSION = "0.4.0"
3
+ VERSION = "0.4.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: icalendar-google
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Mancevice
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-05 00:00:00.000000000 Z
11
+ date: 2020-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: icalendar
@@ -38,90 +38,6 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '2.0'
41
- - !ruby/object:Gem::Dependency
42
- name: bundler
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '2.0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '2.0'
55
- - !ruby/object:Gem::Dependency
56
- name: pry
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '0.12'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '0.12'
69
- - !ruby/object:Gem::Dependency
70
- name: rake
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '12.3'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '12.3'
83
- - !ruby/object:Gem::Dependency
84
- name: rspec
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '3.0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '3.0'
97
- - !ruby/object:Gem::Dependency
98
- name: simplecov
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '0.16'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '0.16'
111
- - !ruby/object:Gem::Dependency
112
- name: webmock
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '3.7'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '3.7'
125
41
  description: Parse GoogleCalenders into iCalendar objects from ID or public iCal URL
126
42
  email:
127
43
  - alexander.mancevice@gmail.com
@@ -154,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
70
  - !ruby/object:Gem::Version
155
71
  version: '0'
156
72
  requirements: []
157
- rubygems_version: 3.0.3
73
+ rubygems_version: 3.1.2
158
74
  signing_key:
159
75
  specification_version: 4
160
76
  summary: GoogleCalendar extension for iCalendar gem