simple_gem 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,5 +1,8 @@
1
1
  = Simple Gem
2
2
 
3
+ == Version 0.0.1
4
+ * Stripping whitespace from code-gen to properly space generated code
5
+
3
6
  == Version 0.0.0
4
7
  * Supports "gem skeleton" command to create a new gem
5
8
  * Supports "rake build" to build a new permanent versioned gemfile
@@ -1,4 +1,4 @@
1
1
  module SimpleGem
2
- VERSION = '0.0.0'
2
+ VERSION = '0.0.1'
3
3
  end
4
4
 
@@ -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
@@ -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` %>/<%= @gem_name %>}
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.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: &70112078226820 !ruby/object:Gem::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: *70112078226820
24
+ version_requirements: *70294217373200
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &70112078226320 !ruby/object:Gem::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: *70112078226320
35
+ version_requirements: *70294217372700
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &70112078276800 !ruby/object:Gem::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: *70112078276800
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