simple_gem 0.0.0 → 0.0.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/CHANGELOG.rdoc +3 -0
- data/lib/simple_gem/version.rb +1 -1
- data/lib/tasks/simple_gem.rb +2 -2
- data/templates/LICENSE.txt +1 -1
- data/templates/gemspec +3 -3
- metadata +7 -7
data/CHANGELOG.rdoc
CHANGED
data/lib/simple_gem/version.rb
CHANGED
data/lib/tasks/simple_gem.rb
CHANGED
@@ -48,7 +48,7 @@ module SimpleGem
|
|
48
48
|
end
|
49
49
|
|
50
50
|
def build_production_gem
|
51
|
-
if !`git status -s`.empty?
|
51
|
+
if !`git status -s`.strip.empty?
|
52
52
|
raise 'There are uncommitted changes in the tree - commit before building'
|
53
53
|
end
|
54
54
|
|
@@ -57,7 +57,7 @@ module SimpleGem
|
|
57
57
|
|
58
58
|
def tag(version)
|
59
59
|
version ||= current_version
|
60
|
-
`git tag #{version}
|
60
|
+
`git tag #{version}`.strip
|
61
61
|
end
|
62
62
|
|
63
63
|
end
|
data/templates/LICENSE.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (c) <%= Date.today.year %> <%= `git config user.name
|
1
|
+
Copyright (c) <%= Date.today.year %> <%= `git config user.name`.strip %>
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
4
4
|
|
data/templates/gemspec
CHANGED
@@ -10,9 +10,9 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.date = %q{<%= Date.today %>}
|
11
11
|
s.summary = %q{Summary of gem here.}
|
12
12
|
s.description = %q{Description of gem here.}
|
13
|
-
s.authors = [ '<%= `git config user.name
|
14
|
-
s.email = %q{<%= `git config user.email
|
15
|
-
s.homepage = %q{https://github.com/<%= `git config github.user
|
13
|
+
s.authors = [ '<%= `git config user.name`.strip %>' ]
|
14
|
+
s.email = %q{<%= `git config user.email`.strip %>}
|
15
|
+
s.homepage = %q{https://github.com/<%= `git config github.user`.strip %>/<%= @gem_name %>}
|
16
16
|
s.require_paths = [ 'lib' ]
|
17
17
|
|
18
18
|
# documentation
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-01-08 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
16
|
-
requirement: &
|
16
|
+
requirement: &70294217373200 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '3.0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70294217373200
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rake
|
27
|
-
requirement: &
|
27
|
+
requirement: &70294217372700 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.8.7
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70294217372700
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rspec
|
38
|
-
requirement: &
|
38
|
+
requirement: &70294217372240 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '2.8'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70294217372240
|
47
47
|
description: Contains tools that create gem skeletons, rake tasks that support building
|
48
48
|
and deploying gems, and more.
|
49
49
|
email: daws23@gmail.com
|