irb_affirmations 0.0.1 → 0.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6c2ab58a7ed01c5906be646a0f8fcbbbfa21954e
4
- data.tar.gz: 0512b3d8fc5b7a03191c223a4ac47b81f7c674ac
3
+ metadata.gz: 259496bb3aa1c56a4d4d7ba3e8f04b85cd8a1493
4
+ data.tar.gz: e880026735cdf287c00293f24ec3f4911eda11b0
5
5
  SHA512:
6
- metadata.gz: 38f89f76ff6498a443b1fc35ac0d6a8026d8887aea5d75d41291dc05e99f662a3ee44ca70fa7324a88b688b8412c4122c445e09f3dd07e4db8877df87d33bf7b
7
- data.tar.gz: 9501cbb253b8548a06b6b0d1e81d8672fa8351da090e707e02dfc733ec194b918a86ef7c1678bb149197a83679e7c05073cb8e2a3b595112b6e6fd13772bc749
6
+ metadata.gz: f8e3fc7d3498549f02863a59c37a6f72c7e2784d8544bf296887f74c4f1f4c7893445d27b3d55e960530f8ae855f8b49b89025fe61d4a578a3381bd55910d4b9
7
+ data.tar.gz: 8a8cc4cc09379fa2c2a17ce79e3a6b91dc3a3bc67ebdd56f0ba5dfa5488126d47930a618b2b2b4b68f5c4eb90759d5a073f8739647f4cd92b8296066a32bf910
data/README.md CHANGED
@@ -1,30 +1,24 @@
1
1
  # IrbAffirmations
2
2
 
3
- TODO: Write a gem description
3
+ Thanks to @tehviking and his 2014 Rubyconf talk. Sometimes when working
4
+ on a C extension you sometimes need some affirmations in your irb. I've
5
+ tried to provide that for him.
4
6
 
5
7
  ## Installation
6
8
 
7
- Add this line to your application's Gemfile:
8
-
9
- ```ruby
10
- gem 'irb_affirmations'
11
- ```
12
-
13
- And then execute:
14
-
15
- $ bundle
16
-
17
- Or install it yourself as:
18
-
19
- $ gem install irb_affirmations
9
+ $ gem install irb_affirmations
20
10
 
21
11
  ## Usage
22
12
 
23
- TODO: Write usage instructions here
13
+ Add this line to your .irbrc:
14
+
15
+ ```ruby
16
+ require 'irb_affirmations'
17
+ ```
24
18
 
25
19
  ## Contributing
26
20
 
27
- 1. Fork it ( https://github.com/[my-github-username]/irb_affirmations/fork )
21
+ 1. Fork it ( https://github.com/adkron/irb_affirmations/fork )
28
22
  2. Create your feature branch (`git checkout -b my-new-feature`)
29
23
  3. Commit your changes (`git commit -am 'Add some feature'`)
30
24
  4. Push to the branch (`git push origin my-new-feature`)
@@ -3,17 +3,15 @@ require "irb_affirmations/version"
3
3
 
4
4
  module IrbAffirmations
5
5
  module PromptReturn
6
- AFFIRMATIONS = %{
7
- You are worthy and deserving of beauty and well being in my life.
6
+ AFFIRMATIONS = %{You are worthy and deserving of beauty and well being in my life.
8
7
  You love what you do and you do what you love.
9
8
  You are connected to the source energy which provides within you the divine abilities to make very successful personal, financial and professional decisions.
10
9
  You are articulate and you have excellent communication skills.
11
- You communicate in a persuasive, charming and charismatic manner.
12
- }.lines
10
+ You communicate in a persuasive, charming and charismatic manner.}.lines
13
11
 
14
12
  def self.write(results)
15
13
  puts results
16
- puts AFFIRMATIONS.shuffle.first
14
+ puts AFFIRMATIONS.sample
17
15
  end
18
16
  end
19
17
  end
@@ -1,3 +1,3 @@
1
1
  module IrbAffirmations
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: irb_affirmations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amos L King
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-19 00:00:00.000000000 Z
11
+ date: 2015-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.7'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.7'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
41
  description: "\n Thanks to @tehviking and his 2014 Rubyconf talk. Sometimes when
@@ -47,7 +47,7 @@ executables: []
47
47
  extensions: []
48
48
  extra_rdoc_files: []
49
49
  files:
50
- - .gitignore
50
+ - ".gitignore"
51
51
  - Gemfile
52
52
  - LICENSE.txt
53
53
  - README.md
@@ -65,17 +65,17 @@ require_paths:
65
65
  - lib
66
66
  required_ruby_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
- - - '>='
68
+ - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.0.14
78
+ rubygems_version: 2.4.5.1
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Add affirmations to irb