instacli 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +54 -0
  3. data/lib/instacli/cli.rb +3 -1
  4. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 73c62df456a9f4097aeda72e34c8f5eee4f24c72
4
- data.tar.gz: 62b498a79db1e4e1f666752779c5408fcba3ba25
3
+ metadata.gz: 55b19d045bf39287fefe51606f08cb7ab9229ae4
4
+ data.tar.gz: ed29fe41d254e7e9fc254e5cdcca628115a75229
5
5
  SHA512:
6
- metadata.gz: 2ff591a58ca4c885ce70873fe826abe0cb0daf932a876e0f49da9a56e4ee64688de2c5f8926572a1ea6f5055dc5f962d168cf258e8d2171a45621cd211add504
7
- data.tar.gz: 5f005496ccf73ec65141ddba3782336ea3f5ec8748a308f03d4754ee373877a1ccf41a6f1fa4cc4275a643565972edc4279074b6b259ad4851ae53ac54abb8dd
6
+ metadata.gz: e8b97004e147b46b1be2f19d0bd94dad972c8123f2678fb7fe049e1873067cd0ac93b9b269615f7a64a7b9dce06f613809844def1422b317ba5c086f1e41205a
7
+ data.tar.gz: 7d38052eb06774a9c4c6ad8b14a1452b2efd591b15802fd834ef27a2f93d4dcff6b7af57b7c76fdf993261dbaa1c1c7df4f4d4feefad33095f22da77781468d8
data/.gitignore ADDED
@@ -0,0 +1,54 @@
1
+
2
+ # Created by https://www.gitignore.io/api/ruby
3
+
4
+ ### Ruby ###
5
+ *.gem
6
+ *.rbc
7
+ /.config
8
+ /coverage/
9
+ /InstalledFiles
10
+ /pkg/
11
+ /spec/reports/
12
+ /spec/examples.txt
13
+ /test/tmp/
14
+ /test/version_tmp/
15
+ /tmp/
16
+
17
+ # Used by dotenv library to load environment variables.
18
+ # .env
19
+
20
+ ## Specific to RubyMotion:
21
+ .dat*
22
+ .repl_history
23
+ build/
24
+ *.bridgesupport
25
+ build-iPhoneOS/
26
+ build-iPhoneSimulator/
27
+
28
+ ## Specific to RubyMotion (use of CocoaPods):
29
+ #
30
+ # We recommend against adding the Pods directory to your .gitignore. However
31
+ # you should judge for yourself, the pros and cons are mentioned at:
32
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
33
+ #
34
+ # vendor/Pods/
35
+
36
+ ## Documentation cache and generated files:
37
+ /.yardoc/
38
+ /_yardoc/
39
+ /doc/
40
+ /rdoc/
41
+
42
+ ## Environment normalization:
43
+ /.bundle/
44
+ /vendor/bundle
45
+ /lib/bundler/man/
46
+
47
+ # for a library or gem, you might want to ignore these files since the code is
48
+ # intended to run in multiple environments; otherwise, check them in:
49
+ # Gemfile.lock
50
+ # .ruby-version
51
+ # .ruby-gemset
52
+
53
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
54
+ .rvmrc
data/lib/instacli/cli.rb CHANGED
@@ -37,7 +37,9 @@ module InstaCLI
37
37
 
38
38
  Contract RespondTo[:to_sym] => ArrayOf[Symbol]
39
39
  def methods(o)
40
- object(o).methods - Object.methods
40
+ (object(o).methods - Object.methods).reject do |m|
41
+ m.to_s.start_with? '__contracts_ruby_original_'
42
+ end
41
43
  end
42
44
 
43
45
  Contract RespondTo[:to_sym], RespondTo[:to_sym] => Bool
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: instacli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Olstrom
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-17 00:00:00.000000000 Z
11
+ date: 2016-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: contracts
@@ -36,6 +36,7 @@ executables: []
36
36
  extensions: []
37
37
  extra_rdoc_files: []
38
38
  files:
39
+ - ".gitignore"
39
40
  - LICENSE.txt
40
41
  - README.org
41
42
  - instacli.gemspec