instafeed 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 390b4d8dc8e3406128b539fc30447281b5a42230
4
+ data.tar.gz: f17ac1d728fb1885ce2df28276afeeb0dd3fcb43
5
+ SHA512:
6
+ metadata.gz: 051404e09fb94e481ac78f083a83dd4195ea9f6dae0041f1d142ad0bdbbbf5fd549b080d4dac8781f359c0cd6c33b4022063bf3fce88529bf4afb660d493e4f6
7
+ data.tar.gz: b7f8906161c1093493426e7ba22fa74b620f8780eff75ab81ca85310028a86a6d93bcb250220af45377b4172f567ec319f2752c901452f1214c2bba0622b4d6f
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at gmedina.santos@gmail.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in instafeed.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 gabrielmedina
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # Instafeed
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/instafeed`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'instafeed'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install instafeed
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/instafeed. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "instafeed"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/instafeed.gemspec ADDED
@@ -0,0 +1,24 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'instafeed/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "instafeed"
8
+ spec.version = Instafeed::VERSION
9
+ spec.authors = ["gabrielmedina"]
10
+ spec.email = ["gmedina.santos@gmail.com"]
11
+
12
+ spec.summary = %q{Instafeed integrated in Rails asset pipeline}
13
+ spec.description = spec.summary
14
+ spec.homepage = "https://github.com/gabrielmedina/instafeed-rails"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_development_dependency "bundler", "~> 1.11"
23
+ spec.add_development_dependency "rake", "~> 10.0"
24
+ end
data/lib/instafeed.rb ADDED
@@ -0,0 +1,5 @@
1
+ require "instafeed/version"
2
+ require "instafeed/engine"
3
+
4
+ module Instafeed
5
+ end
@@ -0,0 +1,7 @@
1
+ module Instafeed
2
+ class Engine < ::Rails::Engine
3
+ initializer 'instafeed.load_static_assets' do |app|
4
+ app.middleware.use ::ActionDispatch::Static, "#{root}/vendor"
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,4 @@
1
+ module Instafeed
2
+ VERSION = "0.1.0"
3
+ INSTAFEED_VERSION = "1.4.1"
4
+ end
@@ -0,0 +1,371 @@
1
+ // Generated by CoffeeScript 1.9.3
2
+ (function() {
3
+ var Instafeed;
4
+
5
+ Instafeed = (function() {
6
+ function Instafeed(params, context) {
7
+ var option, value;
8
+ this.options = {
9
+ target: 'instafeed',
10
+ get: 'popular',
11
+ resolution: 'thumbnail',
12
+ sortBy: 'none',
13
+ links: true,
14
+ mock: false,
15
+ useHttp: false
16
+ };
17
+ if (typeof params === 'object') {
18
+ for (option in params) {
19
+ value = params[option];
20
+ this.options[option] = value;
21
+ }
22
+ }
23
+ this.context = context != null ? context : this;
24
+ this.unique = this._genKey();
25
+ }
26
+
27
+ Instafeed.prototype.hasNext = function() {
28
+ return typeof this.context.nextUrl === 'string' && this.context.nextUrl.length > 0;
29
+ };
30
+
31
+ Instafeed.prototype.next = function() {
32
+ if (!this.hasNext()) {
33
+ return false;
34
+ }
35
+ return this.run(this.context.nextUrl);
36
+ };
37
+
38
+ Instafeed.prototype.run = function(url) {
39
+ var header, instanceName, script;
40
+ if (typeof this.options.clientId !== 'string') {
41
+ if (typeof this.options.accessToken !== 'string') {
42
+ throw new Error("Missing clientId or accessToken.");
43
+ }
44
+ }
45
+ if (typeof this.options.accessToken !== 'string') {
46
+ if (typeof this.options.clientId !== 'string') {
47
+ throw new Error("Missing clientId or accessToken.");
48
+ }
49
+ }
50
+ if ((this.options.before != null) && typeof this.options.before === 'function') {
51
+ this.options.before.call(this);
52
+ }
53
+ if (typeof document !== "undefined" && document !== null) {
54
+ script = document.createElement('script');
55
+ script.id = 'instafeed-fetcher';
56
+ script.src = url || this._buildUrl();
57
+ header = document.getElementsByTagName('head');
58
+ header[0].appendChild(script);
59
+ instanceName = "instafeedCache" + this.unique;
60
+ window[instanceName] = new Instafeed(this.options, this);
61
+ window[instanceName].unique = this.unique;
62
+ }
63
+ return true;
64
+ };
65
+
66
+ Instafeed.prototype.parse = function(response) {
67
+ var anchor, childNodeCount, childNodeIndex, childNodesArr, e, eMsg, fragment, header, htmlString, httpProtocol, i, image, imageObj, imageString, imageUrl, images, img, imgHeight, imgOrient, imgUrl, imgWidth, instanceName, j, k, len, len1, len2, node, parsedLimit, reverse, sortSettings, targetEl, tmpEl;
68
+ if (typeof response !== 'object') {
69
+ if ((this.options.error != null) && typeof this.options.error === 'function') {
70
+ this.options.error.call(this, 'Invalid JSON data');
71
+ return false;
72
+ } else {
73
+ throw new Error('Invalid JSON response');
74
+ }
75
+ }
76
+ if (response.meta.code !== 200) {
77
+ if ((this.options.error != null) && typeof this.options.error === 'function') {
78
+ this.options.error.call(this, response.meta.error_message);
79
+ return false;
80
+ } else {
81
+ throw new Error("Error from Instagram: " + response.meta.error_message);
82
+ }
83
+ }
84
+ if (response.data.length === 0) {
85
+ if ((this.options.error != null) && typeof this.options.error === 'function') {
86
+ this.options.error.call(this, 'No images were returned from Instagram');
87
+ return false;
88
+ } else {
89
+ throw new Error('No images were returned from Instagram');
90
+ }
91
+ }
92
+ if ((this.options.success != null) && typeof this.options.success === 'function') {
93
+ this.options.success.call(this, response);
94
+ }
95
+ this.context.nextUrl = '';
96
+ if (response.pagination != null) {
97
+ this.context.nextUrl = response.pagination.next_url;
98
+ }
99
+ if (this.options.sortBy !== 'none') {
100
+ if (this.options.sortBy === 'random') {
101
+ sortSettings = ['', 'random'];
102
+ } else {
103
+ sortSettings = this.options.sortBy.split('-');
104
+ }
105
+ reverse = sortSettings[0] === 'least' ? true : false;
106
+ switch (sortSettings[1]) {
107
+ case 'random':
108
+ response.data.sort(function() {
109
+ return 0.5 - Math.random();
110
+ });
111
+ break;
112
+ case 'recent':
113
+ response.data = this._sortBy(response.data, 'created_time', reverse);
114
+ break;
115
+ case 'liked':
116
+ response.data = this._sortBy(response.data, 'likes.count', reverse);
117
+ break;
118
+ case 'commented':
119
+ response.data = this._sortBy(response.data, 'comments.count', reverse);
120
+ break;
121
+ default:
122
+ throw new Error("Invalid option for sortBy: '" + this.options.sortBy + "'.");
123
+ }
124
+ }
125
+ if ((typeof document !== "undefined" && document !== null) && this.options.mock === false) {
126
+ images = response.data;
127
+ parsedLimit = parseInt(this.options.limit, 10);
128
+ if ((this.options.limit != null) && images.length > parsedLimit) {
129
+ images = images.slice(0, parsedLimit);
130
+ }
131
+ fragment = document.createDocumentFragment();
132
+ if ((this.options.filter != null) && typeof this.options.filter === 'function') {
133
+ images = this._filter(images, this.options.filter);
134
+ }
135
+ if ((this.options.template != null) && typeof this.options.template === 'string') {
136
+ htmlString = '';
137
+ imageString = '';
138
+ imgUrl = '';
139
+ tmpEl = document.createElement('div');
140
+ for (i = 0, len = images.length; i < len; i++) {
141
+ image = images[i];
142
+ imageObj = image.images[this.options.resolution];
143
+ if (typeof imageObj !== 'object') {
144
+ eMsg = "No image found for resolution: " + this.options.resolution + ".";
145
+ throw new Error(eMsg);
146
+ }
147
+ imgWidth = imageObj.width;
148
+ imgHeight = imageObj.height;
149
+ imgOrient = "square";
150
+ if (imgWidth > imgHeight) {
151
+ imgOrient = "landscape";
152
+ }
153
+ if (imgWidth < imgHeight) {
154
+ imgOrient = "portrait";
155
+ }
156
+ imageUrl = imageObj.url;
157
+ httpProtocol = window.location.protocol.indexOf("http") >= 0;
158
+ if (httpProtocol && !this.options.useHttp) {
159
+ imageUrl = imageUrl.replace(/https?:\/\//, '//');
160
+ }
161
+ imageString = this._makeTemplate(this.options.template, {
162
+ model: image,
163
+ id: image.id,
164
+ link: image.link,
165
+ type: image.type,
166
+ image: imageUrl,
167
+ width: imgWidth,
168
+ height: imgHeight,
169
+ orientation: imgOrient,
170
+ caption: this._getObjectProperty(image, 'caption.text'),
171
+ likes: image.likes.count,
172
+ comments: image.comments.count,
173
+ location: this._getObjectProperty(image, 'location.name')
174
+ });
175
+ htmlString += imageString;
176
+ }
177
+ tmpEl.innerHTML = htmlString;
178
+ childNodesArr = [];
179
+ childNodeIndex = 0;
180
+ childNodeCount = tmpEl.childNodes.length;
181
+ while (childNodeIndex < childNodeCount) {
182
+ childNodesArr.push(tmpEl.childNodes[childNodeIndex]);
183
+ childNodeIndex += 1;
184
+ }
185
+ for (j = 0, len1 = childNodesArr.length; j < len1; j++) {
186
+ node = childNodesArr[j];
187
+ fragment.appendChild(node);
188
+ }
189
+ } else {
190
+ for (k = 0, len2 = images.length; k < len2; k++) {
191
+ image = images[k];
192
+ img = document.createElement('img');
193
+ imageObj = image.images[this.options.resolution];
194
+ if (typeof imageObj !== 'object') {
195
+ eMsg = "No image found for resolution: " + this.options.resolution + ".";
196
+ throw new Error(eMsg);
197
+ }
198
+ imageUrl = imageObj.url;
199
+ httpProtocol = window.location.protocol.indexOf("http") >= 0;
200
+ if (httpProtocol && !this.options.useHttp) {
201
+ imageUrl = imageUrl.replace(/https?:\/\//, '//');
202
+ }
203
+ img.src = imageUrl;
204
+ if (this.options.links === true) {
205
+ anchor = document.createElement('a');
206
+ anchor.href = image.link;
207
+ anchor.appendChild(img);
208
+ fragment.appendChild(anchor);
209
+ } else {
210
+ fragment.appendChild(img);
211
+ }
212
+ }
213
+ }
214
+ targetEl = this.options.target;
215
+ if (typeof targetEl === 'string') {
216
+ targetEl = document.getElementById(targetEl);
217
+ }
218
+ if (targetEl == null) {
219
+ eMsg = "No element with id=\"" + this.options.target + "\" on page.";
220
+ throw new Error(eMsg);
221
+ }
222
+ targetEl.appendChild(fragment);
223
+ header = document.getElementsByTagName('head')[0];
224
+ header.removeChild(document.getElementById('instafeed-fetcher'));
225
+ instanceName = "instafeedCache" + this.unique;
226
+ window[instanceName] = void 0;
227
+ try {
228
+ delete window[instanceName];
229
+ } catch (_error) {
230
+ e = _error;
231
+ }
232
+ }
233
+ if ((this.options.after != null) && typeof this.options.after === 'function') {
234
+ this.options.after.call(this);
235
+ }
236
+ return true;
237
+ };
238
+
239
+ Instafeed.prototype._buildUrl = function() {
240
+ var base, endpoint, final;
241
+ base = "https://api.instagram.com/v1";
242
+ switch (this.options.get) {
243
+ case "popular":
244
+ endpoint = "media/popular";
245
+ break;
246
+ case "tagged":
247
+ if (!this.options.tagName) {
248
+ throw new Error("No tag name specified. Use the 'tagName' option.");
249
+ }
250
+ endpoint = "tags/" + this.options.tagName + "/media/recent";
251
+ break;
252
+ case "location":
253
+ if (!this.options.locationId) {
254
+ throw new Error("No location specified. Use the 'locationId' option.");
255
+ }
256
+ endpoint = "locations/" + this.options.locationId + "/media/recent";
257
+ break;
258
+ case "user":
259
+ if (!this.options.userId) {
260
+ throw new Error("No user specified. Use the 'userId' option.");
261
+ }
262
+ endpoint = "users/" + this.options.userId + "/media/recent";
263
+ break;
264
+ default:
265
+ throw new Error("Invalid option for get: '" + this.options.get + "'.");
266
+ }
267
+ final = base + "/" + endpoint;
268
+ if (this.options.accessToken != null) {
269
+ final += "?access_token=" + this.options.accessToken;
270
+ } else {
271
+ final += "?client_id=" + this.options.clientId;
272
+ }
273
+ if (this.options.limit != null) {
274
+ final += "&count=" + this.options.limit;
275
+ }
276
+ final += "&callback=instafeedCache" + this.unique + ".parse";
277
+ return final;
278
+ };
279
+
280
+ Instafeed.prototype._genKey = function() {
281
+ var S4;
282
+ S4 = function() {
283
+ return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
284
+ };
285
+ return "" + (S4()) + (S4()) + (S4()) + (S4());
286
+ };
287
+
288
+ Instafeed.prototype._makeTemplate = function(template, data) {
289
+ var output, pattern, ref, varName, varValue;
290
+ pattern = /(?:\{{2})([\w\[\]\.]+)(?:\}{2})/;
291
+ output = template;
292
+ while (pattern.test(output)) {
293
+ varName = output.match(pattern)[1];
294
+ varValue = (ref = this._getObjectProperty(data, varName)) != null ? ref : '';
295
+ output = output.replace(pattern, function() {
296
+ return "" + varValue;
297
+ });
298
+ }
299
+ return output;
300
+ };
301
+
302
+ Instafeed.prototype._getObjectProperty = function(object, property) {
303
+ var piece, pieces;
304
+ property = property.replace(/\[(\w+)\]/g, '.$1');
305
+ pieces = property.split('.');
306
+ while (pieces.length) {
307
+ piece = pieces.shift();
308
+ if ((object != null) && piece in object) {
309
+ object = object[piece];
310
+ } else {
311
+ return null;
312
+ }
313
+ }
314
+ return object;
315
+ };
316
+
317
+ Instafeed.prototype._sortBy = function(data, property, reverse) {
318
+ var sorter;
319
+ sorter = function(a, b) {
320
+ var valueA, valueB;
321
+ valueA = this._getObjectProperty(a, property);
322
+ valueB = this._getObjectProperty(b, property);
323
+ if (reverse) {
324
+ if (valueA > valueB) {
325
+ return 1;
326
+ } else {
327
+ return -1;
328
+ }
329
+ }
330
+ if (valueA < valueB) {
331
+ return 1;
332
+ } else {
333
+ return -1;
334
+ }
335
+ };
336
+ data.sort(sorter.bind(this));
337
+ return data;
338
+ };
339
+
340
+ Instafeed.prototype._filter = function(images, filter) {
341
+ var filteredImages, fn, i, image, len;
342
+ filteredImages = [];
343
+ fn = function(image) {
344
+ if (filter(image)) {
345
+ return filteredImages.push(image);
346
+ }
347
+ };
348
+ for (i = 0, len = images.length; i < len; i++) {
349
+ image = images[i];
350
+ fn(image);
351
+ }
352
+ return filteredImages;
353
+ };
354
+
355
+ return Instafeed;
356
+
357
+ })();
358
+
359
+ (function(root, factory) {
360
+ if (typeof define === 'function' && define.amd) {
361
+ return define([], factory);
362
+ } else if (typeof module === 'object' && module.exports) {
363
+ return module.exports = factory();
364
+ } else {
365
+ return root.Instafeed = factory();
366
+ }
367
+ })(this, function() {
368
+ return Instafeed;
369
+ });
370
+
371
+ }).call(this);
metadata ADDED
@@ -0,0 +1,85 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: instafeed
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - gabrielmedina
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-03-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.11'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.11'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: Instafeed integrated in Rails asset pipeline
42
+ email:
43
+ - gmedina.santos@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - ".gitignore"
49
+ - CODE_OF_CONDUCT.md
50
+ - Gemfile
51
+ - LICENSE.txt
52
+ - README.md
53
+ - Rakefile
54
+ - bin/console
55
+ - bin/setup
56
+ - instafeed.gemspec
57
+ - lib/instafeed.rb
58
+ - lib/instafeed/engine.rb
59
+ - lib/instafeed/version.rb
60
+ - vendor/assets/javascripts/instafeed.js
61
+ homepage: https://github.com/gabrielmedina/instafeed-rails
62
+ licenses:
63
+ - MIT
64
+ metadata: {}
65
+ post_install_message:
66
+ rdoc_options: []
67
+ require_paths:
68
+ - lib
69
+ required_ruby_version: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
74
+ required_rubygems_version: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
79
+ requirements: []
80
+ rubyforge_project:
81
+ rubygems_version: 2.6.1
82
+ signing_key:
83
+ specification_version: 4
84
+ summary: Instafeed integrated in Rails asset pipeline
85
+ test_files: []