fakerama 0.1.0 → 0.1.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.
- data/Gemfile.lock +26 -26
- data/VERSION +1 -1
- data/lib/fakerama/content.rb +2 -2
- metadata +13 -17
data/Gemfile.lock
CHANGED
|
@@ -2,53 +2,53 @@ GEM
|
|
|
2
2
|
remote: http://rubygems.org/
|
|
3
3
|
specs:
|
|
4
4
|
abstract (1.0.0)
|
|
5
|
-
actionpack (3.0.
|
|
6
|
-
activemodel (= 3.0.
|
|
7
|
-
activesupport (= 3.0.
|
|
5
|
+
actionpack (3.0.6)
|
|
6
|
+
activemodel (= 3.0.6)
|
|
7
|
+
activesupport (= 3.0.6)
|
|
8
8
|
builder (~> 2.1.2)
|
|
9
9
|
erubis (~> 2.6.6)
|
|
10
|
-
i18n (~> 0.
|
|
10
|
+
i18n (~> 0.5.0)
|
|
11
11
|
rack (~> 1.2.1)
|
|
12
|
-
rack-mount (~> 0.6.
|
|
13
|
-
rack-test (~> 0.5.
|
|
12
|
+
rack-mount (~> 0.6.14)
|
|
13
|
+
rack-test (~> 0.5.7)
|
|
14
14
|
tzinfo (~> 0.3.23)
|
|
15
|
-
activemodel (3.0.
|
|
16
|
-
activesupport (= 3.0.
|
|
15
|
+
activemodel (3.0.6)
|
|
16
|
+
activesupport (= 3.0.6)
|
|
17
17
|
builder (~> 2.1.2)
|
|
18
|
-
i18n (~> 0.
|
|
19
|
-
activesupport (3.0.
|
|
18
|
+
i18n (~> 0.5.0)
|
|
19
|
+
activesupport (3.0.6)
|
|
20
20
|
builder (2.1.2)
|
|
21
21
|
diff-lcs (1.1.2)
|
|
22
22
|
erubis (2.6.6)
|
|
23
23
|
abstract (>= 1.0.0)
|
|
24
24
|
faker (0.3.1)
|
|
25
|
-
gemcutter (0.
|
|
25
|
+
gemcutter (0.7.0)
|
|
26
26
|
git (1.2.5)
|
|
27
|
-
i18n (0.
|
|
27
|
+
i18n (0.5.0)
|
|
28
28
|
jeweler (1.4.0)
|
|
29
29
|
gemcutter (>= 0.1.0)
|
|
30
30
|
git (>= 1.2.5)
|
|
31
31
|
rubyforge (>= 2.0.0)
|
|
32
|
-
json_pure (1.
|
|
33
|
-
rack (1.2.
|
|
34
|
-
rack-mount (0.6.
|
|
32
|
+
json_pure (1.5.1)
|
|
33
|
+
rack (1.2.2)
|
|
34
|
+
rack-mount (0.6.14)
|
|
35
35
|
rack (>= 1.0.0)
|
|
36
|
-
rack-test (0.5.
|
|
36
|
+
rack-test (0.5.7)
|
|
37
37
|
rack (>= 1.0)
|
|
38
38
|
rake (0.8.7)
|
|
39
|
-
rspec (2.0.
|
|
40
|
-
rspec-core (
|
|
41
|
-
rspec-expectations (
|
|
42
|
-
rspec-mocks (
|
|
43
|
-
rspec-core (2.0.
|
|
44
|
-
rspec-expectations (2.0.
|
|
39
|
+
rspec (2.0.1)
|
|
40
|
+
rspec-core (~> 2.0.1)
|
|
41
|
+
rspec-expectations (~> 2.0.1)
|
|
42
|
+
rspec-mocks (~> 2.0.1)
|
|
43
|
+
rspec-core (2.0.1)
|
|
44
|
+
rspec-expectations (2.0.1)
|
|
45
45
|
diff-lcs (>= 1.1.2)
|
|
46
|
-
rspec-mocks (2.0.
|
|
47
|
-
rspec-core (
|
|
48
|
-
rspec-expectations (
|
|
46
|
+
rspec-mocks (2.0.1)
|
|
47
|
+
rspec-core (~> 2.0.1)
|
|
48
|
+
rspec-expectations (~> 2.0.1)
|
|
49
49
|
rubyforge (2.0.4)
|
|
50
50
|
json_pure (>= 1.1.7)
|
|
51
|
-
tzinfo (0.3.
|
|
51
|
+
tzinfo (0.3.26)
|
|
52
52
|
|
|
53
53
|
PLATFORMS
|
|
54
54
|
ruby
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.1
|
data/lib/fakerama/content.rb
CHANGED
|
@@ -6,7 +6,7 @@ module Fakerama
|
|
|
6
6
|
def headings(range = 1..6)
|
|
7
7
|
range.map do |size|
|
|
8
8
|
[filled_tag("h#{size}"), paragraph].join
|
|
9
|
-
end.
|
|
9
|
+
end.join
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
def list(*args)
|
|
@@ -20,7 +20,7 @@ module Fakerama
|
|
|
20
20
|
def paragraphs(count=1)
|
|
21
21
|
count.times.map do
|
|
22
22
|
content_tag( :p, Faker::Lorem.paragraph )
|
|
23
|
-
end.
|
|
23
|
+
end.join
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
alias :paragraph :paragraphs
|
metadata
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fakerama
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash: 27
|
|
5
4
|
prerelease: false
|
|
6
5
|
segments:
|
|
7
6
|
- 0
|
|
8
7
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
8
|
+
- 1
|
|
9
|
+
version: 0.1.1
|
|
11
10
|
platform: ruby
|
|
12
11
|
authors:
|
|
13
12
|
- Steve England
|
|
@@ -15,39 +14,37 @@ autorequire:
|
|
|
15
14
|
bindir: bin
|
|
16
15
|
cert_chain: []
|
|
17
16
|
|
|
18
|
-
date:
|
|
17
|
+
date: 2011-04-14 00:00:00 +01:00
|
|
19
18
|
default_executable:
|
|
20
19
|
dependencies:
|
|
21
20
|
- !ruby/object:Gem::Dependency
|
|
22
|
-
type: :development
|
|
23
|
-
prerelease: false
|
|
24
21
|
name: rspec
|
|
25
|
-
|
|
22
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
26
23
|
none: false
|
|
27
24
|
requirements:
|
|
28
25
|
- - ">="
|
|
29
26
|
- !ruby/object:Gem::Version
|
|
30
|
-
hash: 13
|
|
31
27
|
segments:
|
|
32
28
|
- 1
|
|
33
29
|
- 2
|
|
34
30
|
- 9
|
|
35
31
|
version: 1.2.9
|
|
36
|
-
|
|
37
|
-
- !ruby/object:Gem::Dependency
|
|
38
|
-
type: :runtime
|
|
32
|
+
type: :development
|
|
39
33
|
prerelease: false
|
|
34
|
+
version_requirements: *id001
|
|
35
|
+
- !ruby/object:Gem::Dependency
|
|
40
36
|
name: faker
|
|
41
|
-
|
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
|
42
38
|
none: false
|
|
43
39
|
requirements:
|
|
44
40
|
- - ">="
|
|
45
41
|
- !ruby/object:Gem::Version
|
|
46
|
-
hash: 3
|
|
47
42
|
segments:
|
|
48
43
|
- 0
|
|
49
44
|
version: "0"
|
|
50
|
-
|
|
45
|
+
type: :runtime
|
|
46
|
+
prerelease: false
|
|
47
|
+
version_requirements: *id002
|
|
51
48
|
description: Create website content using Faker. Incudes html content generation and stock files that can be used in your specs and or scripts
|
|
52
49
|
email: steve@wearebeef.co.uk
|
|
53
50
|
executables: []
|
|
@@ -102,7 +99,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
102
99
|
requirements:
|
|
103
100
|
- - ">="
|
|
104
101
|
- !ruby/object:Gem::Version
|
|
105
|
-
hash:
|
|
102
|
+
hash: 2593198190262751720
|
|
106
103
|
segments:
|
|
107
104
|
- 0
|
|
108
105
|
version: "0"
|
|
@@ -111,7 +108,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
111
108
|
requirements:
|
|
112
109
|
- - ">="
|
|
113
110
|
- !ruby/object:Gem::Version
|
|
114
|
-
hash: 3
|
|
115
111
|
segments:
|
|
116
112
|
- 0
|
|
117
113
|
version: "0"
|
|
@@ -123,6 +119,6 @@ signing_key:
|
|
|
123
119
|
specification_version: 3
|
|
124
120
|
summary: Create website content using Faker
|
|
125
121
|
test_files:
|
|
122
|
+
- spec/spec_helper.rb
|
|
126
123
|
- spec/asset_spec.rb
|
|
127
124
|
- spec/content_spec.rb
|
|
128
|
-
- spec/spec_helper.rb
|