disqus_api 0.0.5 → 0.0.6

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: 769f50840efa5768cca4a732b479d8373b05d504
4
- data.tar.gz: 164e1da0c1030901bfbadfff2d02f81f1aebb9f5
3
+ metadata.gz: 45e94156aa3dd95c9a87cdda92de4e6b7a258106
4
+ data.tar.gz: bcfb86edef7554e568eac7b908b611085692197a
5
5
  SHA512:
6
- metadata.gz: 5e661a1ca4277bfd1fa5066897b386be717f06cff40b970024a67dc69aadfc209adaa6e27914dd6323493cc30fb19a317414b7dd5862e1bb9e5ddb6146207a05
7
- data.tar.gz: da7f5c8664a7055529a77369481a247543cb8e1c9a34bc39f91b1274eaf85a88b8601fa6f3077fcfd222be4335de5a2ca765ffdcd6bee580ccd4238f7a15fe5d
6
+ metadata.gz: 3b7d46e7ca73e1f669030d43bf527b45c573e321ee85782ba8ae4a4cf048a3524e5f62a3c99eba8a12a4346f8b66fa79d77492460e465806926837997e4fae40
7
+ data.tar.gz: 1eee4ed3d2ac6a0659a85748c794c99112786faa5d392156fb7c45207ca4e458f486ef9ad13495437fc6eaf4030a8c381143ed2e67d40c3975f8eb8b9efc73e4
@@ -1,6 +1,7 @@
1
+ sudo: false
1
2
  language: ruby
2
3
  rvm:
3
4
  - "1.9.3"
4
5
  - "2.0.0"
5
6
  - "2.1.1"
6
- - "2.2.0"
7
+ - "2.2.0"
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.description = %q{Provides clean Disqus API for your Ruby app with a nice interface.}
20
20
  s.summary = %q{Disqus API for Ruby}
21
21
 
22
- s.add_runtime_dependency 'activesupport', ">= 3.0.0"
22
+ s.add_runtime_dependency 'activesupport', ">= 3.0.0", "< 5"
23
23
  s.add_runtime_dependency 'faraday', "~> 0.9.2"
24
24
  s.add_runtime_dependency 'faraday_middleware', "~> 0.10.0"
25
25
  s.add_development_dependency 'rspec'
@@ -4,7 +4,9 @@ module DisqusApi
4
4
  config_path = File.join(Rails.root, 'config', "disqus_api.yml")
5
5
 
6
6
  if File.exist?(config_path)
7
- DisqusApi.config = YAML.load_file(File.join(Rails.root, 'config', "disqus_api.yml"))[Rails.env]
7
+ DisqusApi.config = YAML.safe_load(ERB.new(
8
+ File.read(Rails.root.join("config", "disqus_api.yml"))
9
+ ).result)[Rails.env]
8
10
  else
9
11
  unless Rails.env.test?
10
12
  puts "WARNING: No config/disqus_api.yml provided for Disqus API. Make sure to set configuration manually."
@@ -1,3 +1,3 @@
1
1
  module DisqusApi
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: disqus_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergei Zinin (einzige)
@@ -14,84 +14,90 @@ dependencies:
14
14
  name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 3.0.0
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '5'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - '>='
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: 3.0.0
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '5'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: faraday
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
- - - ~>
37
+ - - "~>"
32
38
  - !ruby/object:Gem::Version
33
39
  version: 0.9.2
34
40
  type: :runtime
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
- - - ~>
44
+ - - "~>"
39
45
  - !ruby/object:Gem::Version
40
46
  version: 0.9.2
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: faraday_middleware
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
- - - ~>
51
+ - - "~>"
46
52
  - !ruby/object:Gem::Version
47
53
  version: 0.10.0
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
- - - ~>
58
+ - - "~>"
53
59
  - !ruby/object:Gem::Version
54
60
  version: 0.10.0
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: rspec
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
- - - '>='
65
+ - - ">="
60
66
  - !ruby/object:Gem::Version
61
67
  version: '0'
62
68
  type: :development
63
69
  prerelease: false
64
70
  version_requirements: !ruby/object:Gem::Requirement
65
71
  requirements:
66
- - - '>='
72
+ - - ">="
67
73
  - !ruby/object:Gem::Version
68
74
  version: '0'
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: rspec-its
71
77
  requirement: !ruby/object:Gem::Requirement
72
78
  requirements:
73
- - - '>='
79
+ - - ">="
74
80
  - !ruby/object:Gem::Version
75
81
  version: '0'
76
82
  type: :development
77
83
  prerelease: false
78
84
  version_requirements: !ruby/object:Gem::Requirement
79
85
  requirements:
80
- - - '>='
86
+ - - ">="
81
87
  - !ruby/object:Gem::Version
82
88
  version: '0'
83
89
  - !ruby/object:Gem::Dependency
84
90
  name: rake
85
91
  requirement: !ruby/object:Gem::Requirement
86
92
  requirements:
87
- - - '>='
93
+ - - ">="
88
94
  - !ruby/object:Gem::Version
89
95
  version: '0'
90
96
  type: :development
91
97
  prerelease: false
92
98
  version_requirements: !ruby/object:Gem::Requirement
93
99
  requirements:
94
- - - '>='
100
+ - - ">="
95
101
  - !ruby/object:Gem::Version
96
102
  version: '0'
97
103
  description: Provides clean Disqus API for your Ruby app with a nice interface.
@@ -101,8 +107,8 @@ extensions: []
101
107
  extra_rdoc_files:
102
108
  - README.md
103
109
  files:
104
- - .gitignore
105
- - .travis.yml
110
+ - ".gitignore"
111
+ - ".travis.yml"
106
112
  - Gemfile
107
113
  - Guardfile
108
114
  - LICENSE.txt
@@ -135,17 +141,17 @@ require_paths:
135
141
  - lib
136
142
  required_ruby_version: !ruby/object:Gem::Requirement
137
143
  requirements:
138
- - - '>='
144
+ - - ">="
139
145
  - !ruby/object:Gem::Version
140
146
  version: '0'
141
147
  required_rubygems_version: !ruby/object:Gem::Requirement
142
148
  requirements:
143
- - - '>='
149
+ - - ">="
144
150
  - !ruby/object:Gem::Version
145
151
  version: '0'
146
152
  requirements: []
147
153
  rubyforge_project:
148
- rubygems_version: 2.4.5
154
+ rubygems_version: 2.5.2
149
155
  signing_key:
150
156
  specification_version: 4
151
157
  summary: Disqus API for Ruby