pry-send_tweet.rb 0.13.0 → 0.13.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 400374f90dfa63fbc17fb9f2b2676ad12c12d080da32d2cac65bd7a2494bcc5f
4
- data.tar.gz: 1a436174c9e722ecaba2fe4536bc5cd49c9438e8c257e3165f55169ac83e3a83
3
+ metadata.gz: 4472ff3991955109ac85b9e5d958797f3ee995f09055797915015560b36003aa
4
+ data.tar.gz: 8c35030496b10cd6271a38d56b85de93830030721efc2b91dba5e97e929b9bf6
5
5
  SHA512:
6
- metadata.gz: 0571355b013a36706a43cb78b44ea3ae1ee328af23e0aba6697280556b522d57fd48fe51b553c07830b3d3228462842f548395d636e0393eeaec99ea16ae33ab
7
- data.tar.gz: b8c588b3816953a0bdcd5a7b1de5de7165472f315e292d9c022f4a577d469a0f712130dfeb296c90c39712d977e53373cada99225584c8b1defa571f5620edaf
6
+ metadata.gz: ef03150ab5edcc9e0e88036c7b9851448d98efba1f00a143df89f8f55354520268153500bd5b19af962b7974b49fba627adc0c528cc132896df45353db62bdd0
7
+ data.tar.gz: c611456c0762f63f3776859fc67216ccfdf211a34da0893d01af1fe3f4cab50f253ba0cdec5517d85d38144036e9bab3544e13d911e472740a3cd0265a4706e2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## v0.13.1
4
+
5
+ * Load `$HOME/.pry-send_tweet.yml` using `YAML.safe_load()`.
6
+
7
+ * Add `time-ago-in-words` README and gemspec to Rubygem package.
8
+
3
9
  ## v0.13.0
4
10
 
5
11
  * Remove `Gemfile`, and the Bundler dependency.
@@ -44,8 +44,8 @@ class Pry
44
44
  def self.merge_yaml_file!(config, path)
45
45
  if File.readable?(path)
46
46
  warn "[warning] Reading pry-send_tweet configuration from '#{path}'."
47
- t = Pry::Config.from_hash config.merge!(YAML.load_file(path))
48
- config.twitter = t
47
+ twitter_config = YAML.safe_load File.binread(path)
48
+ config.twitter = Pry::Config.from_hash(twitter_config)
49
49
  end
50
50
  rescue => e
51
51
  warn "[warning] Error parsing '#{path}' .. (#{e.class})."
@@ -1,5 +1,5 @@
1
1
  class Pry
2
2
  module SendTweet
3
- VERSION = '0.13.0'
3
+ VERSION = '0.13.1'
4
4
  end
5
5
  end
@@ -0,0 +1,14 @@
1
+ # time-ago-in-words
2
+
3
+ ## Introduction
4
+
5
+ Add `time_ago_in_words` method to Time class.
6
+
7
+ ## Credits
8
+
9
+ This subdirectory is a modified clone of https://github.com/sirupsen/time-ago-in-words.
10
+ `time-ago-in-words` is a fork of `time-lord` that focuses on a single feature
11
+ instead of many features.
12
+
13
+ * Credits to author(s) of `time-lord` RubyGem.
14
+ * Credits to the author of its fork, `time-ago-in-words`.
@@ -0,0 +1,14 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "time-ago-in-words"
4
+ Gem::Specification.new do |s|
5
+ s.name = "time-ago-in-words"
6
+ s.version = TimeAgoInWords::VERSION
7
+ s.platform = Gem::Platform::RUBY
8
+ s.authors = ["Kurtis Rainbolt-Greene", "sirupsen", "r-obert"]
9
+ s.homepage = "https://github.com/sirupsen/time-ago-in-words"
10
+ s.summary = %q{Represent a past tense Time object in words}
11
+ s.description = %q{Represent a past tense Time object in words}
12
+ s.files = Dir["*.{md,txt}", "lib/*.rb", "lib/**/*.rb"]
13
+ s.require_paths = ["lib"]
14
+ end
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
15
15
  "vms/*",
16
16
  "samples/*",
17
17
  "*.{txt,gemspec,md,sh}",
18
- "lib/**/*.rb"
18
+ "lib/**/*.{rb,gemspec,md}"
19
19
  ]
20
20
  spec.add_runtime_dependency "pry", "~> 0.12"
21
21
  spec.add_runtime_dependency "twitter", "~> 6.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-send_tweet.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Gleeson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-27 00:00:00.000000000 Z
11
+ date: 2019-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -97,7 +97,9 @@ files:
97
97
  - lib/pry/send_tweet/renderers/user_renderer.rb
98
98
  - lib/pry/send_tweet/tty-box.rb
99
99
  - lib/pry/send_tweet/version.rb
100
+ - lib/time-ago-in-words/README.md
100
101
  - lib/time-ago-in-words/lib/time-ago-in-words.rb
102
+ - lib/time-ago-in-words/time-ago-in-words.gemspec
101
103
  - pry-send_tweet.gemspec
102
104
  - samples/freebsd-zshrc
103
105
  - samples/tmuxinator-vagrant.yml