disqus_api 0.0.6 → 0.0.7

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: 45e94156aa3dd95c9a87cdda92de4e6b7a258106
4
- data.tar.gz: bcfb86edef7554e568eac7b908b611085692197a
3
+ metadata.gz: '052892d058a1f76a00c0d72e92d97d7a943b42e1'
4
+ data.tar.gz: 41402c5a5b5064ee4aed1a67b19df18e409754d8
5
5
  SHA512:
6
- metadata.gz: 3b7d46e7ca73e1f669030d43bf527b45c573e321ee85782ba8ae4a4cf048a3524e5f62a3c99eba8a12a4346f8b66fa79d77492460e465806926837997e4fae40
7
- data.tar.gz: 1eee4ed3d2ac6a0659a85748c794c99112786faa5d392156fb7c45207ca4e458f486ef9ad13495437fc6eaf4030a8c381143ed2e67d40c3975f8eb8b9efc73e4
6
+ metadata.gz: 2c0f9b0774b5351bc4f616e8ae693a2506610f35f42a3088bab73bdea0a75c433c76a282b09f512459f570405f197e130acf69ae38dc81707c95f6b12cb05c1e
7
+ data.tar.gz: 4905d596bd1fb3f57e99df597db2eaf65ff416ecc31d1845f65cbb3ab4921304c7eca9675931c519930b83ffadd498e8039fe8c4e9c0efde56fb9574c5c74739
data/.gitignore CHANGED
@@ -2,6 +2,7 @@
2
2
  .yardoc
3
3
  rdoc
4
4
  coverage
5
+ vendor/bundle
5
6
  .bundle
6
7
  .ruby-version
7
8
  .rvmrc
@@ -1,7 +1,10 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - "1.9.3"
5
- - "2.0.0"
6
- - "2.1.1"
7
- - "2.2.0"
4
+ - 1.9.3
5
+ - 2.0.0
6
+ - 2.1.1
7
+ - 2.2.0
8
+ - 2.3.0
9
+ - 2.4.0
10
+ - 2.5.1
@@ -6,22 +6,22 @@ Gem::Specification.new do |s|
6
6
  s.version = DisqusApi::VERSION
7
7
 
8
8
  s.date = %q{2013-12-09}
9
- s.authors = ["Sergei Zinin (einzige)"]
9
+ s.authors = ['Sergei Zinin (einzige)']
10
10
  s.email = %q{szinin@gmail.com}
11
11
  s.homepage = %q{http://github.com/toptal/disqus_api}
12
12
 
13
- s.licenses = ["MIT"]
13
+ s.licenses = ['MIT']
14
14
 
15
15
  s.files = `git ls-files`.split("\n")
16
- s.require_paths = ["lib"]
17
- s.extra_rdoc_files = ["README.md"]
16
+ s.require_paths = ['lib']
17
+ s.extra_rdoc_files = ['README.md']
18
18
 
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", "< 5"
23
- s.add_runtime_dependency 'faraday', "~> 0.9.2"
24
- s.add_runtime_dependency 'faraday_middleware', "~> 0.10.0"
22
+ s.add_runtime_dependency 'activesupport'
23
+ s.add_runtime_dependency 'faraday', '~> 0.9'
24
+ s.add_runtime_dependency 'faraday_middleware', '~> 0.10'
25
25
  s.add_development_dependency 'rspec'
26
26
  s.add_development_dependency 'rspec-its'
27
27
  s.add_development_dependency 'rake'
@@ -1,12 +1,10 @@
1
1
  module DisqusApi
2
2
  class Railtie < Rails::Railtie
3
3
  initializer 'disqus_api.initialize' do
4
- config_path = File.join(Rails.root, 'config', "disqus_api.yml")
4
+ config_path = Rails.root.join('config', 'disqus_api.yml')
5
5
 
6
- if File.exist?(config_path)
7
- DisqusApi.config = YAML.safe_load(ERB.new(
8
- File.read(Rails.root.join("config", "disqus_api.yml"))
9
- ).result)[Rails.env]
6
+ if config_path.exist?
7
+ DisqusApi.config = YAML.load(ERB.new(config_path.read).result)[Rails.env]
10
8
  else
11
9
  unless Rails.env.test?
12
10
  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.6"
2
+ VERSION = "0.0.7"
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.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergei Zinin (einzige)
@@ -16,48 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.0
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '5'
19
+ version: '0'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
- version: 3.0.0
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '5'
26
+ version: '0'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: faraday
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - "~>"
38
32
  - !ruby/object:Gem::Version
39
- version: 0.9.2
33
+ version: '0.9'
40
34
  type: :runtime
41
35
  prerelease: false
42
36
  version_requirements: !ruby/object:Gem::Requirement
43
37
  requirements:
44
38
  - - "~>"
45
39
  - !ruby/object:Gem::Version
46
- version: 0.9.2
40
+ version: '0.9'
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: faraday_middleware
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
45
  - - "~>"
52
46
  - !ruby/object:Gem::Version
53
- version: 0.10.0
47
+ version: '0.10'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
51
  requirements:
58
52
  - - "~>"
59
53
  - !ruby/object:Gem::Version
60
- version: 0.10.0
54
+ version: '0.10'
61
55
  - !ruby/object:Gem::Dependency
62
56
  name: rspec
63
57
  requirement: !ruby/object:Gem::Requirement