madlibs 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1125a3c5ba72d78edcea246293d14d836d734924
4
+ data.tar.gz: a0f62fba8126f03873912664f19342cd9bace812
5
+ SHA512:
6
+ metadata.gz: b0c7095bd644e9aadd88641e892bf9100d0b4a2cb6987fa391f253b8a1e51373806f23f8d99b1a3d7f7f0f169c61d98f3c094c3c01a08d84833129dd8b9158e3
7
+ data.tar.gz: fff04cdde7b252c459eb0320ce152fed065cf0497aece0337644dcb79b5d222f1cd11ebfef3e62456901bd47d7525fc3d7265eebdad79151ba6dd7ba82a209f0
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Madlibs
2
2
 
3
3
  Sometimes you just need to make something silly on a whim. That's exactly
4
- what this is.
4
+ what this gem is and does.
5
5
 
6
6
  This gem simply takes a template, does some randomizing, applies a dictionary,
7
7
  and produces a string. Depending on the dictionary, it can be quite humorous.
@@ -128,8 +128,6 @@ madlib.generate
128
128
 
129
129
  ## Installation
130
130
 
131
- **Not yet distributed via rubygems yet.**
132
-
133
131
  Add this line to your application's Gemfile:
134
132
 
135
133
  gem 'madlibs'
@@ -1,3 +1,3 @@
1
1
  module Madlibs
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
data/madlibs.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "active_support", ">= 3.0.0"
21
+ spec.add_dependency "activesupport", ">= 3.0.0"
22
22
 
23
23
  spec.add_development_dependency "bundler", "~> 1.3"
24
24
  spec.add_development_dependency "rake"
data/specs/madlib_spec.rb CHANGED
@@ -3,6 +3,9 @@ require 'minitest/autorun'
3
3
  require 'madlibs'
4
4
 
5
5
  describe Madlibs::Madlib do
6
+ def assert_block(test_description, &block)
7
+ assert test_description, yield
8
+ end
6
9
 
7
10
  before do
8
11
  @mad = Madlibs::Madlib.new '', {
metadata CHANGED
@@ -1,62 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: madlibs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
5
- prerelease:
4
+ version: 1.0.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jonathan D. Johnson
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-12-28 00:00:00.000000000 Z
11
+ date: 2014-09-16 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- name: active_support
14
+ name: activesupport
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: 3.0.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: 3.0.0
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: bundler
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: '1.3'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
40
  version: '1.3'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rake
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  description: Because sometimes, you just need to make something stupid.
@@ -66,7 +59,7 @@ executables: []
66
59
  extensions: []
67
60
  extra_rdoc_files: []
68
61
  files:
69
- - .gitignore
62
+ - ".gitignore"
70
63
  - Gemfile
71
64
  - LICENSE.txt
72
65
  - README.md
@@ -79,33 +72,26 @@ files:
79
72
  homepage: ''
80
73
  licenses:
81
74
  - Apache v2
75
+ metadata: {}
82
76
  post_install_message:
83
77
  rdoc_options: []
84
78
  require_paths:
85
79
  - lib
86
80
  required_ruby_version: !ruby/object:Gem::Requirement
87
- none: false
88
81
  requirements:
89
- - - ! '>='
82
+ - - ">="
90
83
  - !ruby/object:Gem::Version
91
84
  version: '0'
92
- segments:
93
- - 0
94
- hash: 937808861999979417
95
85
  required_rubygems_version: !ruby/object:Gem::Requirement
96
- none: false
97
86
  requirements:
98
- - - ! '>='
87
+ - - ">="
99
88
  - !ruby/object:Gem::Version
100
89
  version: '0'
101
- segments:
102
- - 0
103
- hash: 937808861999979417
104
90
  requirements: []
105
91
  rubyforge_project:
106
- rubygems_version: 1.8.25
92
+ rubygems_version: 2.2.2
107
93
  signing_key:
108
- specification_version: 3
94
+ specification_version: 4
109
95
  summary: Create generated text with a combination of coditional templating and a provided
110
96
  dictionary
111
97
  test_files: []