yaggy 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +33 -0
  2. data/lib/yaggy.rb +14 -0
  3. metadata +112 -0
data/README.md ADDED
@@ -0,0 +1,33 @@
1
+ # Yet Another Goddamn Gemspec thingY
2
+
3
+ This is yet another goddamn gemspec thingy. It does roughly the same stuff as jeweler,
4
+ but it operates on plain vanilla gemfiles, so other devs working with your gems can work with it too, and you can
5
+ just plug it in without rewriting your gemfile.
6
+
7
+ ## installing
8
+
9
+ ```
10
+ # Rakefile
11
+ require 'yaggy'
12
+
13
+ Yaggy.gem('my_gem.gemspec', :push_gem => true)
14
+
15
+
16
+ # more advanced options
17
+ Yaggy.gem('my_gem.gemspec', :update_gemfile => "~/src/main_project/Gemfile")
18
+
19
+ # update_gemfile will update another project's Gemfile to use the current version on release.
20
+
21
+ ```
22
+
23
+ ## tasks
24
+
25
+ rake release # defaults to a patch revision
26
+ rake release:patch
27
+ rake release:minor
28
+ rake release:major
29
+
30
+
31
+
32
+
33
+
data/lib/yaggy.rb ADDED
@@ -0,0 +1,14 @@
1
+ require 'yaggy/gem'
2
+ require 'yaggy/release'
3
+ require 'yaggy/tasks'
4
+
5
+ module Yaggy
6
+ def self.gem(file, options = {})
7
+ @gem = Yaggy::Gem.new(file, options)
8
+ end
9
+
10
+ def self.current_gem
11
+ @gem
12
+ end
13
+ end
14
+
metadata ADDED
@@ -0,0 +1,112 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: yaggy
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Ben Osheroff
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-04-11 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rake
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: bundler
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: mocha
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: shoulda
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ description: ''
79
+ email:
80
+ - ben@gimbo.net
81
+ executables: []
82
+ extensions: []
83
+ extra_rdoc_files:
84
+ - README.md
85
+ files:
86
+ - README.md
87
+ - lib/yaggy.rb
88
+ homepage: http://github.com/osheroff/yaggy
89
+ licenses: []
90
+ post_install_message:
91
+ rdoc_options: []
92
+ require_paths:
93
+ - lib
94
+ required_ruby_version: !ruby/object:Gem::Requirement
95
+ none: false
96
+ requirements:
97
+ - - ! '>='
98
+ - !ruby/object:Gem::Version
99
+ version: '0'
100
+ required_rubygems_version: !ruby/object:Gem::Requirement
101
+ none: false
102
+ requirements:
103
+ - - ! '>='
104
+ - !ruby/object:Gem::Version
105
+ version: '0'
106
+ requirements: []
107
+ rubyforge_project:
108
+ rubygems_version: 1.8.21
109
+ signing_key:
110
+ specification_version: 3
111
+ summary: Yet Another Goddamn Gemspec thingY
112
+ test_files: []