just_share 1.0.2 → 1.0.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
  SHA1:
3
- metadata.gz: 4cf337c2f2e7a7f6015fb6ece7fa380735bc9f33
4
- data.tar.gz: c32f763f0a332cd0e4e02a66c19d054602b7abe7
3
+ metadata.gz: 04e6bd8d049aecd987c00333f4bf6e17ced6b23a
4
+ data.tar.gz: b139fae9d4fe5101596f79d6e6506994b4a4c0f3
5
5
  SHA512:
6
- metadata.gz: d2a055b30693b203b84b708dee0bf2903154fe9a7859873880a8a27c80134024b29e9075c7286ebc2ac71f96e24795e2b9814cbdbc26a58df12d5a01783524e3
7
- data.tar.gz: f3f597fa92e9d18c0825e1172a3334bd996ae4d0c1829a07e2cb414b9d44a88e090dd3da4269b465755663537e77afd3fecc709755a107c3e09ebc2a0add31a9
6
+ metadata.gz: 48dcec1dc3e7e03a3b75014685b195a490e2f8703088c938b81260dac415ec672b6b32d00a7491ab5db52fc620eae8ee982441e0db63995adf940d772dadcee1
7
+ data.tar.gz: 021f7d99b485fb81e8b70dd17efc96c4742d15ec45f1c3b311b0ec29ed2702e0a9ce5a5dc6a7ae5eafcdd174b617f9b8cff568a805e9b91c3ed64ebd64fda562
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- just_share (1.0.1)
4
+ just_share (1.0.3)
5
5
  colorize (~> 0.7.3, >= 0.7.3)
6
6
  multi_json (~> 1.10, >= 1.10.1)
7
7
  rest-client (~> 1.7, >= 1.7.2)
@@ -0,0 +1,16 @@
1
+ require 'colorize'
2
+ module JustShare
3
+ module Generators
4
+ class InstallGenerator < Rails::Generators::Base
5
+ source_root File.expand_path("../../templates", __FILE__)
6
+
7
+ desc "It automatically create it JustShare initializer rails app config"
8
+
9
+ def copy_initializer
10
+ template "just_share.rb", "config/initializers/just_share.rb"
11
+ puts 'Check your config/initializers/just_share.rb & read it comments'.colorize(:light_yellow)
12
+ end
13
+
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,12 @@
1
+ # encoding: utf-8
2
+ @via=#TODO your Username on the Twitter
3
+ @link=#TODO your link to be shared
4
+ @title=#TODO your message title
5
+ @message=#TODO your message on the share
6
+ @hash_tags=#TODO your HashTags references
7
+
8
+ JustShare.via=@via
9
+ JustShare.link=CGI::unescape(@link)
10
+ JustShare.title=@title
11
+ JustShare.message=@message
12
+ JustShare.hash_tags=@hash_tags
@@ -1,6 +1,6 @@
1
1
  module JustShare
2
2
  MAJOR = 1
3
3
  MINOR = 0
4
- PATCH = 2
4
+ PATCH = 3
5
5
  VERSION = "#{MAJOR}.#{MINOR}.#{PATCH}"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: just_share
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilton Garcia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-06 00:00:00.000000000 Z
11
+ date: 2015-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -179,6 +179,8 @@ files:
179
179
  - README.md
180
180
  - Rakefile
181
181
  - just_share.gemspec
182
+ - lib/generators/just_share/install_generator.rb
183
+ - lib/generators/templates/just_share.rb
182
184
  - lib/just_share.rb
183
185
  - lib/just_share/blogger.rb
184
186
  - lib/just_share/chiq.rb