boxrubylib 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,19 @@
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
+ .DS_Store
19
+ .ruby-version
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in boxrubylib.gemspec
4
+ gemspec
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.0.2 2014-06-01
2
+
3
+ * Transited from RubyForge.org to RubyGems.org.
4
+
1
5
  === 0.0.2 2009-11-30
2
6
 
3
7
  * Support all OpenBox API.
File without changes
data/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # Boxrubylib
2
+
3
+ Ruby library of OpenBox API.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'boxrubylib'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install boxrubylib
18
+
19
+ ## Usage
20
+
21
+ Add this line to your application's code:
22
+
23
+ require 'boxrubylib'
24
+
25
+ ## Contributing
26
+
27
+ 1. Fork it
28
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
29
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
30
+ 4. Push to the branch (`git push origin my-new-feature`)
31
+ 5. Create new Pull Request
data/Rakefile CHANGED
@@ -1,26 +1 @@
1
- require 'rubygems'
2
- gem 'hoe', '>= 2.1.0'
3
- require 'hoe'
4
- require 'fileutils'
5
- require './lib/boxrubylib'
6
-
7
- Hoe.plugin :newgem
8
- # Hoe.plugin :website
9
- # Hoe.plugin :cucumberfeatures
10
-
11
- # Generate all the Rake tasks
12
- # Run 'rake -T' to see list of generated tasks (from gem root directory)
13
- $hoe = Hoe.spec 'boxrubylib' do
14
- self.developer 'Tomohiko Ariki', 'tomohiko.ariki@nifty.com'
15
- self.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
16
- self.rubyforge_name = self.name # TODO this is default value
17
- # self.extra_deps = [['activesupport','>= 2.0.2']]
18
-
19
- end
20
-
21
- require 'newgem/tasks'
22
- Dir['tasks/**/*.rake'].each { |t| load t }
23
-
24
- # TODO - want other tests/tasks run by default? Add them to the list
25
- # remove_task :default
26
- # task :default => [:spec, :features]
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,19 @@
1
+ # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'boxrubylib/version'
5
+
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "boxrubylib"
8
+ gem.version = Boxrubylib::VERSION
9
+ gem.authors = ["Tomohiko ARIKI"]
10
+ gem.email = ["tomohiko.ariki@nifty.com"]
11
+ gem.description = %q{OpenBox API client library.}
12
+ gem.summary = %q{Ruby library of OpenBox API.}
13
+ gem.homepage = "https://github.com/tariki/boxrubylib"
14
+
15
+ gem.files = `git ls-files`.split($/)
16
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
+ gem.require_paths = ["lib"]
19
+ end
@@ -0,0 +1,3 @@
1
+ module Boxrubylib
2
+ VERSION = "0.0.3"
3
+ end
data/lib/boxrubylib.rb CHANGED
@@ -1,8 +1,6 @@
1
- $:.unshift(File.dirname(__FILE__)) unless
2
- $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
-
4
- require 'boxrubylib/boxclientlib'
1
+ require "boxrubylib/version"
2
+ require "boxrubylib/boxclientlib"
5
3
 
6
4
  module Boxrubylib
7
- VERSION = '0.0.2'
5
+ # Your code goes here...
8
6
  end
metadata CHANGED
@@ -1,80 +1,78 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxrubylib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ hash: 25
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 3
10
+ version: 0.0.3
5
11
  platform: ruby
6
12
  authors:
7
- - Tomohiko Ariki
13
+ - Tomohiko ARIKI
8
14
  autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2009-11-30 00:00:00 +09:00
18
+ date: 2014-06-01 00:00:00 +09:00
13
19
  default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: hoe
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: 2.3.2
24
- version:
25
- description: Ruby library of OpenBox API.
20
+ dependencies: []
21
+
22
+ description: OpenBox API client library.
26
23
  email:
27
24
  - tomohiko.ariki@nifty.com
28
25
  executables: []
29
26
 
30
27
  extensions: []
31
28
 
32
- extra_rdoc_files:
33
- - History.txt
34
- - License.txt
35
- - Manifest.txt
36
- - PostInstall.txt
29
+ extra_rdoc_files: []
30
+
37
31
  files:
32
+ - .gitignore
33
+ - Gemfile
38
34
  - History.txt
39
- - License.txt
40
- - Manifest.txt
41
- - PostInstall.txt
42
- - README.rdoc
35
+ - LICENSE.txt
36
+ - README.md
43
37
  - Rakefile
38
+ - boxrubylib.gemspec
44
39
  - lib/boxrubylib.rb
45
40
  - lib/boxrubylib/boxclientlib.rb
46
41
  - lib/boxrubylib/restclientlib.rb
47
- - script/console
48
- - script/destroy
49
- - script/generate
42
+ - lib/boxrubylib/version.rb
50
43
  - test/test_boxrubylib.rb
51
44
  - test/test_helper.rb
52
45
  has_rdoc: true
53
- homepage: http://boxrubylib.rubyforge.org
46
+ homepage: https://github.com/tariki/boxrubylib
54
47
  licenses: []
55
48
 
56
- post_install_message: PostInstall.txt
57
- rdoc_options:
58
- - --main
59
- - README.rdoc
49
+ post_install_message:
50
+ rdoc_options: []
51
+
60
52
  require_paths:
61
53
  - lib
62
54
  required_ruby_version: !ruby/object:Gem::Requirement
55
+ none: false
63
56
  requirements:
64
57
  - - ">="
65
58
  - !ruby/object:Gem::Version
59
+ hash: 3
60
+ segments:
61
+ - 0
66
62
  version: "0"
67
- version:
68
63
  required_rubygems_version: !ruby/object:Gem::Requirement
64
+ none: false
69
65
  requirements:
70
66
  - - ">="
71
67
  - !ruby/object:Gem::Version
68
+ hash: 3
69
+ segments:
70
+ - 0
72
71
  version: "0"
73
- version:
74
72
  requirements: []
75
73
 
76
- rubyforge_project: boxrubylib
77
- rubygems_version: 1.3.5
74
+ rubyforge_project:
75
+ rubygems_version: 1.6.2
78
76
  signing_key:
79
77
  specification_version: 3
80
78
  summary: Ruby library of OpenBox API.
data/Manifest.txt DELETED
@@ -1,14 +0,0 @@
1
- History.txt
2
- License.txt
3
- Manifest.txt
4
- PostInstall.txt
5
- README.rdoc
6
- Rakefile
7
- lib/boxrubylib.rb
8
- lib/boxrubylib/boxclientlib.rb
9
- lib/boxrubylib/restclientlib.rb
10
- script/console
11
- script/destroy
12
- script/generate
13
- test/test_boxrubylib.rb
14
- test/test_helper.rb
data/PostInstall.txt DELETED
@@ -1,3 +0,0 @@
1
-
2
- For more information on boxrubylib, see http://boxrubylib.rubyforge.org
3
-
data/README.rdoc DELETED
@@ -1,39 +0,0 @@
1
- = boxrubylib
2
-
3
- * http://boxrubylib.rubyforge.org
4
-
5
- == DESCRIPTION:
6
-
7
- Ruby library of OpenBox API.
8
-
9
- == SYNOPSIS:
10
-
11
- See also test case.
12
-
13
- require 'rubygems'
14
- gem 'boxrubylib'
15
- require 'boxrubylib'
16
-
17
- client = BoxClientLib::BoxRestClient.new()
18
-
19
- == INSTALL:
20
-
21
- sudo gem install boxrubylib
22
-
23
- == LICENSE:
24
-
25
- Copyright (c) 2008-2009 Canon Software Inc.
26
-
27
- This program is free software: you can redistribute it and/or modify
28
- it under the terms of the GNU General Public License as published by
29
- the Free Software Foundation, either version 3 of the License, or
30
- (at your option) any later version.
31
-
32
- This program is distributed in the hope that it will be useful,
33
- but WITHOUT ANY WARRANTY; without even the implied warranty of
34
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35
- GNU General Public License for more details.
36
-
37
- You should have received a copy of the GNU General Public License
38
- along with this program. If not, see <http://www.gnu.org/licenses/>.
39
-
data/script/console DELETED
@@ -1,10 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # File: script/console
3
- irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
4
-
5
- libs = " -r irb/completion"
6
- # Perhaps use a console_lib to store any extra methods I may want available in the cosole
7
- # libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}"
8
- libs << " -r #{File.dirname(__FILE__) + '/../lib/boxrubylib.rb'}"
9
- puts "Loading boxrubylib gem"
10
- exec "#{irb} #{libs} --simple-prompt"
data/script/destroy DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
- APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
3
-
4
- begin
5
- require 'rubigen'
6
- rescue LoadError
7
- require 'rubygems'
8
- require 'rubigen'
9
- end
10
- require 'rubigen/scripts/destroy'
11
-
12
- ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
- RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
14
- RubiGen::Scripts::Destroy.new.run(ARGV)
data/script/generate DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
- APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
3
-
4
- begin
5
- require 'rubigen'
6
- rescue LoadError
7
- require 'rubygems'
8
- require 'rubigen'
9
- end
10
- require 'rubigen/scripts/generate'
11
-
12
- ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
- RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
14
- RubiGen::Scripts::Generate.new.run(ARGV)