simple_gem 0.0.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA512:
3
+ data.tar.gz: 98e9442a9cff23b2864b764a74d5e8e3b6b4fa65f8c456eea6c41365ee795fd15a454c4b7113691e7cd70f915a4bc035d90f6194359abc077277f8aec23fabce
4
+ metadata.gz: 0f2fe9b96f96072a7b57557f823aafe136774a5bd64903a9a35e3df98343696959bf250fd62cb140c611e44f7853c2993a15501758b64efe3ef3a9176ac4ec1f
5
+ SHA1:
6
+ data.tar.gz: 04811b8e03643421a8dffedcb172f3f8f442e038
7
+ metadata.gz: 158d48fbdf020bbcb67079e76c73d37cc48093e5
data/CHANGELOG.rdoc CHANGED
@@ -1,5 +1,8 @@
1
1
  = Simple Gem
2
2
 
3
+ == Version 1.0.0
4
+ * Updating to rubygems 2
5
+
3
6
  == Version 0.0.2
4
7
  * Allowing license copyright to be set by environment variable
5
8
 
data/README.rdoc CHANGED
@@ -14,6 +14,10 @@ Note the output of the command - it will tell you to update the gemspec among a
14
14
 
15
15
  The new gem may be built and tested out of the box.
16
16
 
17
+ === Environment variables
18
+
19
+ By default, the gem will be populated with a LICENSE.txt file containing the MIT license and a copyright with your global git user.name config value. You can override the copyright by setting the SIMPLE_GEM_LICENSE_COPYRIGHT environment variable.
20
+
17
21
  == Building a gem
18
22
 
19
23
  There are two rake tasks--build and build_dev--that let you create either a new permenant versioned build of the gem or a temporary development build.
@@ -1,4 +1,4 @@
1
1
  module SimpleGem
2
- VERSION = '0.0.2'
2
+ VERSION = '1.0.0'
3
3
  end
4
4
 
@@ -1,4 +1,5 @@
1
1
  require 'rspec/core/rake_task'
2
+ require 'rubygems/package'
2
3
 
3
4
  module SimpleGem
4
5
  class << self
@@ -36,8 +37,7 @@ module SimpleGem
36
37
  safe_create_dir(target_dir)
37
38
  spec = Gem::Specification.load(current_gemspec)
38
39
  spec.version = current_version
39
- builder = Gem::Builder.new(spec)
40
- gem_file = builder.build
40
+ gem_file = Gem::Package.build(spec)
41
41
  target_file = "#{target_dir}/#{gem_file}"
42
42
  File.rename gem_file, target_file
43
43
  puts "Successfully built #{gem_file} into #{target_dir}"
metadata CHANGED
@@ -1,59 +1,57 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: simple_gem
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.2
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
6
5
  platform: ruby
7
- authors:
6
+ authors:
8
7
  - David Dawson
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-01-08 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
11
+
12
+ date: 2012-01-08 00:00:00 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
15
  name: activesupport
16
- requirement: &70185210179900 !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
16
+ prerelease: false
17
+ requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirements:
19
19
  - - ~>
20
- - !ruby/object:Gem::Version
21
- version: '3.0'
20
+ - !ruby/object:Gem::Version
21
+ version: "3.0"
22
22
  type: :runtime
23
- prerelease: false
24
- version_requirements: *70185210179900
25
- - !ruby/object:Gem::Dependency
23
+ version_requirements: *id001
24
+ - !ruby/object:Gem::Dependency
26
25
  name: rake
27
- requirement: &70185210179100 !ruby/object:Gem::Requirement
28
- none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
26
+ prerelease: false
27
+ requirement: &id002 !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
32
31
  version: 0.8.7
33
32
  type: :runtime
34
- prerelease: false
35
- version_requirements: *70185210179100
36
- - !ruby/object:Gem::Dependency
33
+ version_requirements: *id002
34
+ - !ruby/object:Gem::Dependency
37
35
  name: rspec
38
- requirement: &70185210178580 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
36
+ prerelease: false
37
+ requirement: &id003 !ruby/object:Gem::Requirement
38
+ requirements:
41
39
  - - ~>
42
- - !ruby/object:Gem::Version
43
- version: '2.8'
40
+ - !ruby/object:Gem::Version
41
+ version: "2.8"
44
42
  type: :runtime
45
- prerelease: false
46
- version_requirements: *70185210178580
47
- description: Contains tools that create gem skeletons, rake tasks that support building
48
- and deploying gems, and more.
43
+ version_requirements: *id003
44
+ description: Contains tools that create gem skeletons, rake tasks that support building and deploying gems, and more.
49
45
  email: daws23@gmail.com
50
46
  executables: []
47
+
51
48
  extensions: []
52
- extra_rdoc_files:
49
+
50
+ extra_rdoc_files:
53
51
  - README.rdoc
54
52
  - CHANGELOG.rdoc
55
53
  - LICENSE.txt
56
- files:
54
+ files:
57
55
  - lib/rubygems/commands/skeleton_command.rb
58
56
  - lib/rubygems_plugin.rb
59
57
  - lib/simple_gem/version.rb
@@ -74,28 +72,30 @@ files:
74
72
  - LICENSE.txt
75
73
  homepage: https://github.com/daws/simple_gem
76
74
  licenses: []
75
+
76
+ metadata: {}
77
+
77
78
  post_install_message:
78
- rdoc_options:
79
+ rdoc_options:
79
80
  - --main
80
81
  - README.rdoc
81
- require_paths:
82
+ require_paths:
82
83
  - lib
83
- required_ruby_version: !ruby/object:Gem::Requirement
84
- none: false
85
- requirements:
86
- - - ! '>='
87
- - !ruby/object:Gem::Version
88
- version: '0'
89
- required_rubygems_version: !ruby/object:Gem::Requirement
90
- none: false
91
- requirements:
92
- - - ! '>='
93
- - !ruby/object:Gem::Version
94
- version: '0'
84
+ required_ruby_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - &id004
87
+ - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: "0"
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - *id004
95
93
  requirements: []
94
+
96
95
  rubyforge_project:
97
- rubygems_version: 1.8.10
96
+ rubygems_version: 2.1.11
98
97
  signing_key:
99
- specification_version: 3
98
+ specification_version: 4
100
99
  summary: Support tools, libraries, and rake tasks for creating gems.
101
100
  test_files: []
101
+