rrd-ffi 0.2.10 → 0.2.11

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.
@@ -0,0 +1,6 @@
1
+ *.rrd
2
+ *.png
3
+ pkg
4
+ doc
5
+ coverage
6
+ .idea
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source "http://rubygems.org"
2
+ gem "ffi"
3
+ gem "activesupport"
4
+
5
+ group :development do
6
+ gem "rspec", :require => "spec"
7
+ end
@@ -0,0 +1,26 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activesupport (3.2.3)
5
+ i18n (~> 0.6)
6
+ multi_json (~> 1.0)
7
+ diff-lcs (1.1.3)
8
+ ffi (1.0.11)
9
+ i18n (0.6.0)
10
+ multi_json (1.3.5)
11
+ rspec (2.10.0)
12
+ rspec-core (~> 2.10.0)
13
+ rspec-expectations (~> 2.10.0)
14
+ rspec-mocks (~> 2.10.0)
15
+ rspec-core (2.10.1)
16
+ rspec-expectations (2.10.0)
17
+ diff-lcs (~> 1.1.3)
18
+ rspec-mocks (2.10.1)
19
+
20
+ PLATFORMS
21
+ ruby
22
+
23
+ DEPENDENCIES
24
+ activesupport
25
+ ffi
26
+ rspec
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2012 Thiago Morello
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile CHANGED
@@ -1,53 +1,2 @@
1
- $:.unshift(File.dirname(__FILE__) + "/lib")
2
-
3
- require "rake"
4
- require "rspec/core/rake_task"
5
- require "rrd/version"
6
-
7
- begin
8
- require "hanna/rdoctask"
9
- rescue LoadError => e
10
- require "rake/rdoctask"
11
- end
12
-
13
- begin
14
- require 'jeweler'
15
- Jeweler::Tasks.new do |gem|
16
- gem.name = "rrd-ffi"
17
- gem.version = RRD::Version::STRING
18
- gem.summary = %Q{RRDTool gem using librrd and ffi}
19
- gem.description = %Q{Provides bindings for many RRD functions (using ffi gem and librrd), as well as DSLs for graphic and rrd building. You must have librrd in your system!}
20
- gem.email = "morellon@gmail.com"
21
- gem.homepage = "http://github.com/morellon/rrd-ffi"
22
- gem.authors = ["morellon"]
23
- gem.add_development_dependency "rspec"
24
- gem.add_dependency "ffi"
25
- gem.add_dependency "activesupport"
26
- end
27
- Jeweler::GemcutterTasks.new
28
- rescue LoadError
29
- puts "Jeweler not available. Install it with: gem install jeweler"
30
- end
31
-
32
- desc 'Run the specs'
33
- RSpec::Core::RakeTask.new(:spec) do |t|
34
- t.pattern = 'spec/**/*_spec.rb'
35
- end
36
-
37
- desc "Rspec : run all with RCov"
38
- RSpec::Core::RakeTask.new('spec:rcov') do |t|
39
- t.pattern = 'spec/**/*_spec.rb'
40
- t.rcov = true
41
- t.rcov_opts = ['--exclude', 'gems', '--exclude', 'spec']
42
- end
43
-
44
- Rake::RDocTask.new do |rdoc|
45
- rdoc.main = "README.rdoc"
46
- rdoc.rdoc_dir = "doc"
47
- rdoc.title = "RRD"
48
- rdoc.options += %w[ --line-numbers --inline-source --charset utf-8 ]
49
- rdoc.rdoc_files.include("README.rdoc", "CHANGELOG.rdoc")
50
- rdoc.rdoc_files.include("lib/**/*.rb")
51
- end
52
-
53
- task :default => :spec
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
@@ -3,7 +3,7 @@ module RRD
3
3
  module Version #:nodoc: all
4
4
  MAJOR = 0
5
5
  MINOR = 2
6
- PATCH = 10
6
+ PATCH = 11
7
7
  STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
8
8
  end
9
9
  end
@@ -1,62 +1,17 @@
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/rrd/version', __FILE__)
5
3
 
6
- Gem::Specification.new do |s|
7
- s.name = "rrd-ffi"
8
- s.version = "0.2.10"
4
+ Gem::Specification.new do |gem|
5
+ gem.authors = ["Thiago Morello"]
6
+ gem.email = ["morellon@gmail.com"]
7
+ gem.description = %q{Provides bindings for many RRD functions (using ffi gem and librrd), as well as DSLs for graphic and rrd building. You must have librrd in your system!}
8
+ gem.summary = %q{DSL + Bindings for librrd using FFI}
9
+ gem.homepage = "http://github.com/morellon/rrd-ffi"
9
10
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["morellon"]
12
- s.date = "2012-04-12"
13
- s.description = "Provides bindings for many RRD functions (using ffi gem and librrd), as well as DSLs for graphic and rrd building. You must have librrd in your system!"
14
- s.email = "morellon@gmail.com"
15
- s.extra_rdoc_files = [
16
- "README.rdoc"
17
- ]
18
- s.files = [
19
- "CHANGELOG.rdoc",
20
- "README.rdoc",
21
- "Rakefile",
22
- "examples/all.rb",
23
- "lib/rrd.rb",
24
- "lib/rrd/base.rb",
25
- "lib/rrd/builder.rb",
26
- "lib/rrd/graph.rb",
27
- "lib/rrd/time_extension.rb",
28
- "lib/rrd/version.rb",
29
- "lib/rrd/wrapper.rb",
30
- "rrd-ffi.gemspec",
31
- "spec/rrd/base_spec.rb",
32
- "spec/rrd/builder_spec.rb",
33
- "spec/rrd/graph_spec.rb",
34
- "spec/rrd/wrapper_spec.rb",
35
- "spec/rrd_spec.rb",
36
- "spec/spec_helper.rb",
37
- "spec/vm.xml"
38
- ]
39
- s.homepage = "http://github.com/morellon/rrd-ffi"
40
- s.require_paths = ["lib"]
41
- s.rubygems_version = "1.8.10"
42
- s.summary = "RRDTool gem using librrd and ffi"
43
-
44
- if s.respond_to? :specification_version then
45
- s.specification_version = 3
46
-
47
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
48
- s.add_development_dependency(%q<rspec>, [">= 0"])
49
- s.add_runtime_dependency(%q<ffi>, [">= 0"])
50
- s.add_runtime_dependency(%q<activesupport>, [">= 0"])
51
- else
52
- s.add_dependency(%q<rspec>, [">= 0"])
53
- s.add_dependency(%q<ffi>, [">= 0"])
54
- s.add_dependency(%q<activesupport>, [">= 0"])
55
- end
56
- else
57
- s.add_dependency(%q<rspec>, [">= 0"])
58
- s.add_dependency(%q<ffi>, [">= 0"])
59
- s.add_dependency(%q<activesupport>, [">= 0"])
60
- end
11
+ gem.files = `git ls-files`.split($\)
12
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
+ gem.name = "rrd-ffi"
15
+ gem.require_paths = ["lib"]
16
+ gem.version = RRD::Version::STRING
61
17
  end
62
-
metadata CHANGED
@@ -1,58 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rrd-ffi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
- - morellon
8
+ - Thiago Morello
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-12 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: rspec
16
- requirement: &2152158960 !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: *2152158960
25
- - !ruby/object:Gem::Dependency
26
- name: ffi
27
- requirement: &2152156840 !ruby/object:Gem::Requirement
28
- none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
32
- version: '0'
33
- type: :runtime
34
- prerelease: false
35
- version_requirements: *2152156840
36
- - !ruby/object:Gem::Dependency
37
- name: activesupport
38
- requirement: &2152155000 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ! '>='
42
- - !ruby/object:Gem::Version
43
- version: '0'
44
- type: :runtime
45
- prerelease: false
46
- version_requirements: *2152155000
12
+ date: 2012-05-25 00:00:00.000000000 -03:00
13
+ default_executable:
14
+ dependencies: []
47
15
  description: Provides bindings for many RRD functions (using ffi gem and librrd),
48
16
  as well as DSLs for graphic and rrd building. You must have librrd in your system!
49
- email: morellon@gmail.com
17
+ email:
18
+ - morellon@gmail.com
50
19
  executables: []
51
20
  extensions: []
52
- extra_rdoc_files:
53
- - README.rdoc
21
+ extra_rdoc_files: []
54
22
  files:
23
+ - .gitignore
55
24
  - CHANGELOG.rdoc
25
+ - Gemfile
26
+ - Gemfile.lock
27
+ - LICENSE.md
56
28
  - README.rdoc
57
29
  - Rakefile
58
30
  - examples/all.rb
@@ -71,6 +43,7 @@ files:
71
43
  - spec/rrd_spec.rb
72
44
  - spec/spec_helper.rb
73
45
  - spec/vm.xml
46
+ has_rdoc: true
74
47
  homepage: http://github.com/morellon/rrd-ffi
75
48
  licenses: []
76
49
  post_install_message:
@@ -91,8 +64,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
64
  version: '0'
92
65
  requirements: []
93
66
  rubyforge_project:
94
- rubygems_version: 1.8.10
67
+ rubygems_version: 1.6.2
95
68
  signing_key:
96
69
  specification_version: 3
97
- summary: RRDTool gem using librrd and ffi
98
- test_files: []
70
+ summary: DSL + Bindings for librrd using FFI
71
+ test_files:
72
+ - spec/rrd/base_spec.rb
73
+ - spec/rrd/builder_spec.rb
74
+ - spec/rrd/graph_spec.rb
75
+ - spec/rrd/wrapper_spec.rb
76
+ - spec/rrd_spec.rb
77
+ - spec/spec_helper.rb
78
+ - spec/vm.xml