swiftype-rb 0.0.2 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: dcd136297457db99409df7f97ef61f1f8c3a2751
4
+ data.tar.gz: f2fcd4e7ea10593c45352685630c0393edaffd44
5
+ SHA512:
6
+ metadata.gz: 63f214b6e91f89248a03e5cbc95d737b4904e671ce49eaa17a225e05f68db30b6a185bfa84f6e475991a08ab46455ea0f8c58877684f809ef7f95656619fc818
7
+ data.tar.gz: 9da4317d5de8382fe15de9e99a64098fadcc609e6702627ffd0308e83515703cf2993ef99d335bde009fb4f64e01b4dc27ae22da953d49763cdac933c4c2b878
@@ -14,7 +14,7 @@ module Swiftype
14
14
  autoload :DocumentType, 'swiftype/document_type'
15
15
  autoload :Document, 'swiftype/document'
16
16
  autoload :Easy, 'swiftype/easy'
17
-
17
+
18
18
 
19
19
  extend Configuration
20
20
 
@@ -31,6 +31,16 @@ module Swiftype
31
31
  def respond_to?(method, include_private=false)
32
32
  new.respond_to?(method, include_private) || super(method, include_private)
33
33
  end
34
+
35
+ def deprecation_notice!
36
+ ActiveSupport::Deprecation.warn(
37
+ %{You're using a very old client to access Swiftype. The gem named 'swiftype-rb' is deprecated,
38
+ has not received updates since August 2012, and will receive no further updates.
39
+
40
+ Please switch to using the 'swiftype' gem instead, at your convenience; it is far
41
+ better maintaned, supported, and documented.}, caller)
42
+ end
34
43
  end
35
44
  end
36
45
 
46
+ ::Swiftype.deprecation_notice!
@@ -1,3 +1,3 @@
1
1
  module Swiftype
2
- VERSION = "0.0.2"
3
- end
2
+ VERSION = "0.0.6"
3
+ end
@@ -24,5 +24,5 @@ Gem::Specification.new do |s|
24
24
  s.add_runtime_dependency "faraday", ['~> 0.8.1']
25
25
  s.add_runtime_dependency "faraday_middleware", ['~> 0.8.7']
26
26
  s.add_runtime_dependency "hashie", ['~> 1.2.0']
27
- s.add_runtime_dependency 'activesupport', ['>= 2.3.9', '< 4']
27
+ s.add_runtime_dependency 'activesupport', ['>= 2.3.9']
28
28
  end
metadata CHANGED
@@ -1,110 +1,78 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: swiftype-rb
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.2
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.6
6
5
  platform: ruby
7
- authors:
6
+ authors:
8
7
  - Quin Hoxie
9
8
  - Matt Riley
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2012-08-13 00:00:00.000000000 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+
13
+ date: 2014-03-17 00:00:00 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
16
  name: json
17
- requirement: !ruby/object:Gem::Requirement
18
- none: false
19
- requirements:
20
- - - ! '>='
21
- - !ruby/object:Gem::Version
22
- version: '0'
23
- type: :runtime
24
17
  prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
- requirements:
28
- - - ! '>='
29
- - !ruby/object:Gem::Version
30
- version: '0'
31
- - !ruby/object:Gem::Dependency
32
- name: faraday
33
- requirement: !ruby/object:Gem::Requirement
34
- none: false
35
- requirements:
36
- - - ~>
37
- - !ruby/object:Gem::Version
38
- version: 0.8.1
18
+ requirement: &id001 !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - &id006
21
+ - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0"
39
24
  type: :runtime
25
+ version_requirements: *id001
26
+ - !ruby/object:Gem::Dependency
27
+ name: faraday
40
28
  prerelease: false
41
- version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
- requirements:
29
+ requirement: &id002 !ruby/object:Gem::Requirement
30
+ requirements:
44
31
  - - ~>
45
- - !ruby/object:Gem::Version
32
+ - !ruby/object:Gem::Version
46
33
  version: 0.8.1
47
- - !ruby/object:Gem::Dependency
48
- name: faraday_middleware
49
- requirement: !ruby/object:Gem::Requirement
50
- none: false
51
- requirements:
52
- - - ~>
53
- - !ruby/object:Gem::Version
54
- version: 0.8.7
55
34
  type: :runtime
35
+ version_requirements: *id002
36
+ - !ruby/object:Gem::Dependency
37
+ name: faraday_middleware
56
38
  prerelease: false
57
- version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
- requirements:
39
+ requirement: &id003 !ruby/object:Gem::Requirement
40
+ requirements:
60
41
  - - ~>
61
- - !ruby/object:Gem::Version
42
+ - !ruby/object:Gem::Version
62
43
  version: 0.8.7
63
- - !ruby/object:Gem::Dependency
64
- name: hashie
65
- requirement: !ruby/object:Gem::Requirement
66
- none: false
67
- requirements:
68
- - - ~>
69
- - !ruby/object:Gem::Version
70
- version: 1.2.0
71
44
  type: :runtime
45
+ version_requirements: *id003
46
+ - !ruby/object:Gem::Dependency
47
+ name: hashie
72
48
  prerelease: false
73
- version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
- requirements:
49
+ requirement: &id004 !ruby/object:Gem::Requirement
50
+ requirements:
76
51
  - - ~>
77
- - !ruby/object:Gem::Version
52
+ - !ruby/object:Gem::Version
78
53
  version: 1.2.0
79
- - !ruby/object:Gem::Dependency
80
- name: activesupport
81
- requirement: !ruby/object:Gem::Requirement
82
- none: false
83
- requirements:
84
- - - ! '>='
85
- - !ruby/object:Gem::Version
86
- version: 2.3.9
87
- - - <
88
- - !ruby/object:Gem::Version
89
- version: '4'
90
54
  type: :runtime
55
+ version_requirements: *id004
56
+ - !ruby/object:Gem::Dependency
57
+ name: activesupport
91
58
  prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- none: false
94
- requirements:
95
- - - ! '>='
96
- - !ruby/object:Gem::Version
59
+ requirement: &id005 !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
97
63
  version: 2.3.9
98
- - - <
99
- - !ruby/object:Gem::Version
100
- version: '4'
64
+ type: :runtime
65
+ version_requirements: *id005
101
66
  description: Official Gem for accessing the Swiftype Search API
102
- email:
67
+ email:
103
68
  - team@swiftype.com
104
69
  executables: []
70
+
105
71
  extensions: []
72
+
106
73
  extra_rdoc_files: []
107
- files:
74
+
75
+ files:
108
76
  - .gitignore
109
77
  - Gemfile
110
78
  - README.md
@@ -125,26 +93,26 @@ files:
125
93
  - swiftype-rb.gemspec
126
94
  homepage: http://swiftype.com
127
95
  licenses: []
96
+
97
+ metadata: {}
98
+
128
99
  post_install_message:
129
100
  rdoc_options: []
130
- require_paths:
101
+
102
+ require_paths:
131
103
  - lib
132
- required_ruby_version: !ruby/object:Gem::Requirement
133
- none: false
134
- requirements:
135
- - - ! '>='
136
- - !ruby/object:Gem::Version
137
- version: '0'
138
- required_rubygems_version: !ruby/object:Gem::Requirement
139
- none: false
140
- requirements:
141
- - - ! '>='
142
- - !ruby/object:Gem::Version
143
- version: '0'
104
+ required_ruby_version: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - *id006
107
+ required_rubygems_version: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - *id006
144
110
  requirements: []
111
+
145
112
  rubyforge_project: swiftype-rb
146
- rubygems_version: 1.8.23
113
+ rubygems_version: 2.0.14
147
114
  signing_key:
148
- specification_version: 3
115
+ specification_version: 4
149
116
  summary: Swiftype API Gem
150
117
  test_files: []
118
+