log-me 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +24 -0
- data/CHANGELOG.rdoc +3 -0
- data/Gemfile +2 -6
- data/Rakefile +10 -38
- data/lib/logme/version.rb +1 -6
- data/log-me.gemspec +18 -48
- metadata +20 -15
- data/Gemfile.lock +0 -29
data/.gitignore
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
.bundle
|
4
|
+
.config
|
5
|
+
.yardoc
|
6
|
+
Gemfile.lock
|
7
|
+
InstalledFiles
|
8
|
+
_yardoc
|
9
|
+
coverage
|
10
|
+
doc/
|
11
|
+
lib/bundler/man
|
12
|
+
pkg
|
13
|
+
rdoc
|
14
|
+
spec/reports
|
15
|
+
test/tmp
|
16
|
+
test/version_tmp
|
17
|
+
tmp
|
18
|
+
|
19
|
+
# For MacOS:
|
20
|
+
.DS_Store
|
21
|
+
|
22
|
+
# For vim:
|
23
|
+
*.swp
|
24
|
+
*.swo
|
data/CHANGELOG.rdoc
CHANGED
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -1,53 +1,25 @@
|
|
1
|
-
|
2
|
-
require '
|
3
|
-
require 'rake'
|
4
|
-
require './lib/logme/version'
|
1
|
+
#!/usr/bin/env rake
|
2
|
+
require 'bundler/gem_tasks'
|
5
3
|
|
6
|
-
require 'bundler'
|
7
|
-
begin
|
8
|
-
Bundler.setup(:default, :development)
|
9
|
-
rescue Bundler::BundlerError => e
|
10
|
-
$stderr.puts e.message
|
11
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
12
|
-
exit e.status_code
|
13
|
-
end
|
14
|
-
|
15
|
-
require 'jeweler'
|
16
|
-
Jeweler::Tasks.new do |gem|
|
17
|
-
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
18
|
-
gem.name = "log-me"
|
19
|
-
gem.homepage = "http://github.com/prodis/log-me"
|
20
|
-
gem.license = "MIT"
|
21
|
-
gem.summary = %Q{A simple way to configure log in your gem.}
|
22
|
-
gem.description = %Q{LogMe is a simple way to configure log in your gem. It's especially useful when you need to log Web Service calls or HTTP requests and responses.}
|
23
|
-
gem.email = "prodis@gmail.com"
|
24
|
-
gem.authors = ["Prodis a.k.a. Fernando Hamasaki"]
|
25
|
-
gem.version = LogMe::Version::VERSION
|
26
|
-
gem.required_ruby_version = ">= 1.8.7"
|
27
|
-
# dependencies defined in Gemfile
|
28
|
-
end
|
29
|
-
Jeweler::RubygemsDotOrgTasks.new
|
30
|
-
|
31
|
-
require 'rspec/core'
|
32
4
|
require 'rspec/core/rake_task'
|
33
5
|
RSpec::Core::RakeTask.new(:spec) do |spec|
|
34
|
-
spec.pattern = FileList[
|
6
|
+
spec.pattern = FileList["spec/**/*_spec.rb"]
|
35
7
|
end
|
36
8
|
|
37
9
|
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
38
|
-
spec.pattern =
|
10
|
+
spec.pattern = "spec/**/*_spec.rb"
|
39
11
|
spec.rcov = true
|
40
12
|
end
|
41
13
|
|
42
14
|
task :default => :spec
|
43
15
|
|
44
|
-
require '
|
16
|
+
require 'rdoc/task'
|
45
17
|
Rake::RDocTask.new do |rdoc|
|
46
|
-
version = File.exist?(
|
18
|
+
version = File.exist?("VERSION") ? File.read("VERSION") : ""
|
47
19
|
|
48
|
-
rdoc.rdoc_dir =
|
20
|
+
rdoc.rdoc_dir = "rdoc"
|
49
21
|
rdoc.title = "log-me #{version}"
|
50
|
-
rdoc.rdoc_files.include(
|
51
|
-
rdoc.rdoc_files.include(
|
52
|
-
rdoc.rdoc_files.include(
|
22
|
+
rdoc.rdoc_files.include("README*")
|
23
|
+
rdoc.rdoc_files.include("CHANGELOG*")
|
24
|
+
rdoc.rdoc_files.include("lib/**/*.rb")
|
53
25
|
end
|
data/lib/logme/version.rb
CHANGED
data/log-me.gemspec
CHANGED
@@ -1,54 +1,24 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
1
|
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path('../lib/logme/version', __FILE__)
|
5
3
|
|
6
|
-
Gem::Specification.new do |
|
7
|
-
|
8
|
-
|
4
|
+
Gem::Specification.new do |gem|
|
5
|
+
gem.name = "log-me"
|
6
|
+
gem.version = LogMe::VERSION
|
7
|
+
gem.authors = ["Prodis a.k.a. Fernando Hamasaki"]
|
8
|
+
gem.email = ["prodis@gmail.com"]
|
9
|
+
gem.summary = "A simple way to configure log in your gem."
|
10
|
+
gem.description = "LogMe is a simple way to configure log in your gem. It's especially useful when you need to log Web Service calls or HTTP requests and responses."
|
11
|
+
gem.homepage = "http://github.com/prodis/log-me"
|
12
|
+
gem.licenses = ["MIT"]
|
9
13
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
s.email = "prodis@gmail.com"
|
15
|
-
s.extra_rdoc_files = [
|
16
|
-
"README.rdoc"
|
17
|
-
]
|
18
|
-
s.files = [
|
19
|
-
".document",
|
20
|
-
".rspec",
|
21
|
-
"CHANGELOG.rdoc",
|
22
|
-
"Gemfile",
|
23
|
-
"Gemfile.lock",
|
24
|
-
"README.rdoc",
|
25
|
-
"Rakefile",
|
26
|
-
"lib/log-me.rb",
|
27
|
-
"lib/logme/version.rb",
|
28
|
-
"log-me.gemspec",
|
29
|
-
"spec/log-me_spec.rb",
|
30
|
-
"spec/spec_helper.rb"
|
31
|
-
]
|
32
|
-
s.homepage = "http://github.com/prodis/log-me"
|
33
|
-
s.licenses = ["MIT"]
|
34
|
-
s.require_paths = ["lib"]
|
35
|
-
s.required_ruby_version = Gem::Requirement.new(">= 1.8.7")
|
36
|
-
s.rubygems_version = "1.8.16"
|
37
|
-
s.summary = "A simple way to configure log in your gem."
|
14
|
+
gem.files = `git ls-files`.split($\)
|
15
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
16
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
17
|
+
gem.require_paths = ["lib"]
|
38
18
|
|
39
|
-
|
40
|
-
|
19
|
+
gem.platform = Gem::Platform::RUBY
|
20
|
+
gem.required_ruby_version = Gem::Requirement.new(">= 1.8.7")
|
41
21
|
|
42
|
-
|
43
|
-
|
44
|
-
s.add_development_dependency(%q<rspec>, ["~> 2.10"])
|
45
|
-
else
|
46
|
-
s.add_dependency(%q<jeweler>, ["~> 1.8"])
|
47
|
-
s.add_dependency(%q<rspec>, ["~> 2.10"])
|
48
|
-
end
|
49
|
-
else
|
50
|
-
s.add_dependency(%q<jeweler>, ["~> 1.8"])
|
51
|
-
s.add_dependency(%q<rspec>, ["~> 2.10"])
|
52
|
-
end
|
22
|
+
gem.add_development_dependency "rake"
|
23
|
+
gem.add_development_dependency "rspec", "~> 2.11"
|
53
24
|
end
|
54
|
-
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: log-me
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,43 +9,43 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-08-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
16
|
-
requirement: &
|
15
|
+
name: rake
|
16
|
+
requirement: &14776270 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
21
|
+
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *14776270
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rspec
|
27
|
-
requirement: &
|
27
|
+
requirement: &14776000 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '2.
|
32
|
+
version: '2.11'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *14776000
|
36
36
|
description: LogMe is a simple way to configure log in your gem. It's especially useful
|
37
37
|
when you need to log Web Service calls or HTTP requests and responses.
|
38
|
-
email:
|
38
|
+
email:
|
39
|
+
- prodis@gmail.com
|
39
40
|
executables: []
|
40
41
|
extensions: []
|
41
|
-
extra_rdoc_files:
|
42
|
-
- README.rdoc
|
42
|
+
extra_rdoc_files: []
|
43
43
|
files:
|
44
44
|
- .document
|
45
|
+
- .gitignore
|
45
46
|
- .rspec
|
46
47
|
- CHANGELOG.rdoc
|
47
48
|
- Gemfile
|
48
|
-
- Gemfile.lock
|
49
49
|
- README.rdoc
|
50
50
|
- Rakefile
|
51
51
|
- lib/log-me.rb
|
@@ -72,10 +72,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
72
|
- - ! '>='
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
|
+
segments:
|
76
|
+
- 0
|
77
|
+
hash: -940858029
|
75
78
|
requirements: []
|
76
79
|
rubyforge_project:
|
77
80
|
rubygems_version: 1.8.16
|
78
81
|
signing_key:
|
79
82
|
specification_version: 3
|
80
83
|
summary: A simple way to configure log in your gem.
|
81
|
-
test_files:
|
84
|
+
test_files:
|
85
|
+
- spec/log-me_spec.rb
|
86
|
+
- spec/spec_helper.rb
|
data/Gemfile.lock
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
diff-lcs (1.1.3)
|
5
|
-
git (1.2.5)
|
6
|
-
jeweler (1.8.3)
|
7
|
-
bundler (~> 1.0)
|
8
|
-
git (>= 1.2.5)
|
9
|
-
rake
|
10
|
-
rdoc
|
11
|
-
json (1.7.3)
|
12
|
-
rake (0.9.2.2)
|
13
|
-
rdoc (3.12)
|
14
|
-
json (~> 1.4)
|
15
|
-
rspec (2.10.0)
|
16
|
-
rspec-core (~> 2.10.0)
|
17
|
-
rspec-expectations (~> 2.10.0)
|
18
|
-
rspec-mocks (~> 2.10.0)
|
19
|
-
rspec-core (2.10.1)
|
20
|
-
rspec-expectations (2.10.0)
|
21
|
-
diff-lcs (~> 1.1.3)
|
22
|
-
rspec-mocks (2.10.1)
|
23
|
-
|
24
|
-
PLATFORMS
|
25
|
-
ruby
|
26
|
-
|
27
|
-
DEPENDENCIES
|
28
|
-
jeweler (~> 1.8)
|
29
|
-
rspec (~> 2.10)
|