gist-content 0.0.3 → 0.0.4

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: ea1bb147e3d4e632729434e0a2e31a0e8be61389
4
- data.tar.gz: 28108ddc69cf6c5b39ed2dfd309a0d7c91b241ff
3
+ metadata.gz: eb53375a2749e695d13a6a8d0c2ef6267f092649
4
+ data.tar.gz: 67cfb70ce59e0c5b9e9a502b4352fdf668595e52
5
5
  SHA512:
6
- metadata.gz: c49c4241aa654b92bbad27d9c37e1f40268fff7e2c2235db21b493c1dde4b3b1545aba048d0da2d4390caead362b60dcdf2f05e1ca2f473b7b95f3682cfe4284
7
- data.tar.gz: 1b3861bf043fd243927c888b8512beb6956544f6e7795b76caa576f3a963f1147c2d6ff460aa94600e7739966970117ec6381c40436f175db45509277bd6cdfe
6
+ metadata.gz: c99a78b2e8a8fba1546748712967dfd88c447d1856a75eebcfcefcefd43e96877c7c3034f2a5a9fd6d87237477459e142dee06ef34cf67fbf1a754960af8719d
7
+ data.tar.gz: 6276b8814ba9cc32278b9a28acee3455413a699a05e1729729eaf16f76d1a58ed22f92819383275ccfa906b616152768bcfd227aa15f9e7693848a654e9f499f
data/bin/gistc ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ begin
4
+ require 'gist-content'
5
+ rescue LoadError
6
+ require 'rubygems'
7
+ require 'gist-content'
8
+ end
9
+
10
+ GistContent::Content.new.get(ARGV[0].to_s, ARGV[1].to_s)
data/gist-content.gemspec CHANGED
@@ -14,7 +14,8 @@ Gem::Specification.new do |spec|
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
17
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
+ spec.bindir = 'bin'
18
+ spec.executables = %w[gistc]
18
19
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
20
  spec.require_paths = ['lib']
20
21
 
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module GistContent
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gist-content
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Ifran
@@ -41,7 +41,8 @@ dependencies:
41
41
  description: ''
42
42
  email:
43
43
  - pabloifran@gmail.com
44
- executables: []
44
+ executables:
45
+ - gistc
45
46
  extensions: []
46
47
  extra_rdoc_files: []
47
48
  files:
@@ -52,6 +53,7 @@ files:
52
53
  - Rakefile
53
54
  - gist-content.gemspec
54
55
  - lib/version.rb
56
+ - bin/gistc
55
57
  homepage: ''
56
58
  licenses:
57
59
  - MIT