duffy 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -2
- data/Rakefile +4 -0
- data/duffy.gemspec +1 -0
- data/lib/duffy/engine.rb +4 -0
- data/lib/duffy/version.rb +1 -1
- data/lib/duffy.rb +4 -5
- data/spec/spec_helper.rb +1 -0
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95b2dfd6e5d63be6db524418268a771b00d3d55e
|
4
|
+
data.tar.gz: 7b0f0c1a6fc722af1efedc5651ecb93ed79bcbb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da8049f3a345c016cc2fa7bacc7a8e68402ca89d466a2b0dec690ce237a7156de208a7ad752a17088094ae580e7639fc908101d283cd672ffb1d0b280a9df39f
|
7
|
+
data.tar.gz: 7a9f0048e37181294768ffe10129ee3cc7238e7542d88ca1503bc18528103cd80968da1dd0340440f76a0d21aaceab7d48909f186954ec62f3096c5061ecd812
|
data/README.md
CHANGED
@@ -24,7 +24,7 @@ String Patches:
|
|
24
24
|
to_alpha
|
25
25
|
to_alpha_numeric
|
26
26
|
pretty_phone
|
27
|
-
pretty_committer #
|
27
|
+
pretty_committer # "bob".pretty_committer => "Robert McLovin"
|
28
28
|
space2nbsp
|
29
29
|
nl2br
|
30
30
|
gender_human
|
@@ -32,7 +32,7 @@ String Patches:
|
|
32
32
|
```
|
33
33
|
|
34
34
|
Git Access:
|
35
|
-
This one is namespaced
|
35
|
+
This one is namespaced in case you use the 'git' gem. I found it to be overkill for what I wanted.
|
36
36
|
```ruby
|
37
37
|
Duffy::Git.log # => Produce tab separated listing of current git log.
|
38
38
|
Duffy::Git.count # => Count of git commits in current branch
|
@@ -46,6 +46,12 @@ This is a work in progress. I'm going to try to put all my generic helpers here
|
|
46
46
|
icon
|
47
47
|
```
|
48
48
|
|
49
|
+
CSS Reset & Print Styles: Very barebones CSS Reset / Sensible defaults and Print stylesheets.
|
50
|
+
```ruby
|
51
|
+
require duffy/reset
|
52
|
+
require duffy/print
|
53
|
+
```
|
54
|
+
|
49
55
|
## Contributing
|
50
56
|
|
51
57
|
1. Fork it ( https://github.com/[my-github-username]/duffy/fork )
|
data/Rakefile
CHANGED
data/duffy.gemspec
CHANGED
data/lib/duffy/engine.rb
ADDED
data/lib/duffy/version.rb
CHANGED
data/lib/duffy.rb
CHANGED
@@ -1,18 +1,17 @@
|
|
1
|
+
require File.dirname(__FILE__) + "/duffy/engine"
|
2
|
+
require File.dirname(__FILE__) + "/duffy/railtie" if defined?(Rails)
|
3
|
+
|
4
|
+
|
1
5
|
require File.dirname(__FILE__) + "/duffy/version"
|
2
6
|
require File.dirname(__FILE__) + "/duffy/git"
|
3
7
|
require File.dirname(__FILE__) + "/duffy/string"
|
4
8
|
|
5
|
-
# Helper LazyLoaded:
|
6
|
-
require File.dirname(__FILE__) + "/duffy/railtie" if defined?(Rails)
|
7
|
-
|
8
9
|
|
9
10
|
# Required to add assets to pipeline
|
10
11
|
# example:
|
11
12
|
# [application.css]
|
12
13
|
# *= require duffy/reset
|
13
14
|
module Duffy
|
14
|
-
class Engine < Rails::Engine
|
15
|
-
end
|
16
15
|
|
17
16
|
def self.configuration
|
18
17
|
@configuration ||= Duffy::Configuration.new
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: duffy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacob Duffy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rspec
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -68,6 +82,7 @@ files:
|
|
68
82
|
- duffy.gemspec
|
69
83
|
- lib/duffy.rb
|
70
84
|
- lib/duffy/duffy_helper.rb
|
85
|
+
- lib/duffy/engine.rb
|
71
86
|
- lib/duffy/git.rb
|
72
87
|
- lib/duffy/railtie.rb
|
73
88
|
- lib/duffy/string.rb
|