instagrammer 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: f0b07ab9cd24e4ec456977ff744839e16e25ce9e599daba305ecbce4333b5fa6
4
- data.tar.gz: 2e63474f3a4c5d307379e91dd034c6e32756656163b590c252c8669391845a1c
3
+ metadata.gz: bf6b1334dcecbe5eaa59cdbe222fbe7d26d194ef7adcb3f38f69e051208da203
4
+ data.tar.gz: f795b469c1611e5eb355c9db5848d671cdeeeb4455350909c812ef37f425477c
5
5
  SHA512:
6
- metadata.gz: 2ac6494192f5fd3dd4d6daa7bdc8cc9b6994e725563aef03d63f8558d41873bb27e723df62c253b262402449966b9c482db65ea12ff88740bb0d8e2dbbc68eda
7
- data.tar.gz: 5894ad8609101ec6df18e609a59f87f0ca5703beeebf31c2ad81ff3870de83f82d352de2b9f8cae3053a7e00ac01dcbb98d04dde0fb57183bb907a432b31157d
6
+ metadata.gz: d440948e383e41ebf587abaa96dc89dd5e72e165ff14f12062031f438a1026ea787e945b7511239bbc0d7df5d0850cae117e86bd63ff8aa5f0ed407cf541276f
7
+ data.tar.gz: 1c0d923c19ebcbeb8c650ee3f11217b3ff32185c25da94b56c6993ec7ffd52397a798a26880551ac2144cf44a1a5a9768f5c593b91526a3dafea2cd0eece9f3f
data/.travis.yml CHANGED
@@ -1,4 +1,8 @@
1
1
  ---
2
+ env:
3
+ global:
4
+ - CC_TEST_REPORTER_ID=526db1135405affea7a464c4da48f5778e2e2883e9ef166b58ac224e41c8d313
5
+
2
6
  sudo: false
3
7
 
4
8
  addons:
@@ -14,6 +18,14 @@ cache: bundler
14
18
  before_install:
15
19
  - gem install bundler --no-document
16
20
 
21
+ before_script:
22
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
23
+ - chmod +x ./cc-test-reporter
24
+ - ./cc-test-reporter before-build
25
+
17
26
  script:
18
27
  - bundle exec rake test
19
28
  - bundle exec rubocop
29
+
30
+ after_script:
31
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
data/CHANGELOG.md CHANGED
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.1.3] - 2019-06-20
10
+ ### Changed
11
+ - Setup test coverage
12
+ - Order load order to setup namespace early on (should fix Bootsnap issues)
13
+
9
14
  ## [0.1.2] - 2019-06-20
10
15
  ### Added
11
16
  - Configure Travis to run daily
@@ -17,6 +22,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17
22
  ### Changed
18
23
  - Pin chromedriver version for CI compatibility
19
24
 
20
- ## [0.1.0] - 2019-06-18
25
+ ## [0.1.0] - 2019-06-19
21
26
  ### Added
22
27
  - Initial release
data/README.md CHANGED
@@ -4,6 +4,8 @@ Instagrammer lets you fetch Instagram user info and posts. This is done by crawl
4
4
 
5
5
  [![Build Status](https://travis-ci.org/richardvenneman/instagrammer.svg?branch=master)](https://travis-ci.org/richardvenneman/instagrammer)
6
6
  [![Gem Version](https://badge.fury.io/rb/instagrammer.svg)](https://badge.fury.io/rb/instagrammer)
7
+ [![Maintainability](https://api.codeclimate.com/v1/badges/d7627a894c354a73dee8/maintainability)](https://codeclimate.com/github/richardvenneman/instagrammer/maintainability)
8
+ [![Test Coverage](https://api.codeclimate.com/v1/badges/d7627a894c354a73dee8/test_coverage)](https://codeclimate.com/github/richardvenneman/instagrammer/test_coverage)
7
9
 
8
10
  ## Installation
9
11
 
@@ -91,7 +93,7 @@ post.watch_count # => 8035142
91
93
 
92
94
  ## Motivation
93
95
 
94
- The problem with scrapers is that they always brake. Especially Instagram/Facebook seems to put in a lot of effort into this. This gem tries to approach that challenge a bit different than other Ruby Instagram scrapers. Decent test coverage should test the integration continuously and good code quality should allow for quick and easy updates may any changes in the Instagram web interface happen.
96
+ The problem with scrapers is that they always brake. Instagram/Facebook seems to put in a lot of effort to battle scrapers. This gem tries to approach that challenge a bit different than other Ruby Instagram scrapers. With decent test coverage the integration should be tested continuously and good code quality should allow for quick and easy updates may any changes in the Instagram web interface happen.
95
97
 
96
98
  The main focus is currently retrieving user posts with some metadata while maintaining a stable implementation. Therefor I try to avoid naive page selectors and rely on meta data where possible.
97
99
 
data/instagrammer.gemspec CHANGED
@@ -36,4 +36,5 @@ Gem::Specification.new do |spec|
36
36
  spec.add_development_dependency "minitest", "~> 5.0"
37
37
  spec.add_development_dependency "rake", "~> 10.0"
38
38
  spec.add_development_dependency "rubocop-rails_config", "~> 0.6"
39
+ spec.add_development_dependency "simplecov", "~> 0.16"
39
40
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Instagrammer
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
data/lib/instagrammer.rb CHANGED
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "instagrammer/version"
3
4
  require "instagrammer/config/capybara"
4
5
  require "instagrammer/post"
5
6
  require "instagrammer/user"
6
- require "instagrammer/version"
7
7
 
8
8
  module Instagrammer
9
9
  class PrivateAccount < StandardError; end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: instagrammer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Venneman
@@ -122,6 +122,20 @@ dependencies:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0.6'
125
+ - !ruby/object:Gem::Dependency
126
+ name: simplecov
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '0.16'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '0.16'
125
139
  description:
126
140
  email:
127
141
  - richardvenneman@me.com