jaconda 2.0.0 → 2.0.1
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.
- data/Gemfile +6 -0
- data/Rakefile +18 -20
- data/jaconda.gemspec +19 -54
- data/lib/jaconda/notification.rb +1 -1
- data/test/helper.rb +0 -1
- metadata +17 -32
- data/.gitignore +0 -5
- data/VERSION +0 -1
data/Gemfile
ADDED
data/Rakefile
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
require
|
|
1
|
+
require "bundler"
|
|
2
|
+
Bundler.setup
|
|
3
|
+
|
|
2
4
|
require 'rake'
|
|
5
|
+
require 'rake/gempackagetask'
|
|
3
6
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
|
7
|
+
gemspec = eval(File.read('jaconda.gemspec'))
|
|
8
|
+
Rake::GemPackageTask.new(gemspec) do |pkg|
|
|
9
|
+
pkg.gem_spec = gemspec
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
desc "build the gem and release it to rubygems.org"
|
|
13
|
+
task :release => :gem do
|
|
14
|
+
puts "Tagging #{gemspec.version}..."
|
|
15
|
+
system "git tag -a #{gemspec.version} -m 'Tagging #{gemspec.version}'"
|
|
16
|
+
puts "Pushing to Github..."
|
|
17
|
+
system "git push --tags"
|
|
18
|
+
puts "Pushing to rubygems.org..."
|
|
19
|
+
system "gem push pkg/#{gemspec.name}-#{gemspec.version}.gem"
|
|
18
20
|
end
|
|
19
21
|
|
|
20
22
|
require 'rake/testtask'
|
|
@@ -37,10 +39,6 @@ rescue LoadError
|
|
|
37
39
|
end
|
|
38
40
|
end
|
|
39
41
|
|
|
40
|
-
task :test => :check_dependencies
|
|
41
|
-
|
|
42
|
-
task :default => :test
|
|
43
|
-
|
|
44
42
|
require 'rake/rdoctask'
|
|
45
43
|
Rake::RDocTask.new do |rdoc|
|
|
46
44
|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
|
@@ -49,4 +47,4 @@ Rake::RDocTask.new do |rdoc|
|
|
|
49
47
|
rdoc.title = "jaconda #{version}"
|
|
50
48
|
rdoc.rdoc_files.include('README*')
|
|
51
49
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
|
52
|
-
end
|
|
50
|
+
end
|
data/jaconda.gemspec
CHANGED
|
@@ -1,62 +1,27 @@
|
|
|
1
|
-
# Generated by jeweler
|
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
|
4
|
-
# -*- encoding: utf-8 -*-
|
|
5
|
-
|
|
6
1
|
Gem::Specification.new do |s|
|
|
7
|
-
s.name =
|
|
8
|
-
s.version = "2.0.
|
|
2
|
+
s.name = "jaconda"
|
|
3
|
+
s.version = "2.0.1"
|
|
9
4
|
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
5
|
s.authors = ["Anton Mironov"]
|
|
12
|
-
s.
|
|
13
|
-
|
|
6
|
+
s.summary = "The official ruby wrapper for Jaconda API"
|
|
7
|
+
|
|
8
|
+
s.email = "anton@jaconda.im"
|
|
9
|
+
s.homepage = "https://github.com/jaconda/jaconda-api"
|
|
10
|
+
|
|
11
|
+
s.require_paths = ["lib"]
|
|
12
|
+
s.files = Dir['lib/**/*',
|
|
13
|
+
'test/**/*',
|
|
14
|
+
'jaconda.gemspec',
|
|
15
|
+
'Gemfile',
|
|
16
|
+
'LICENSE',
|
|
17
|
+
'Rakefile',
|
|
18
|
+
'README.markdown']
|
|
19
|
+
|
|
20
|
+
s.test_files = Dir['test/**/*']
|
|
14
21
|
s.extra_rdoc_files = [
|
|
15
22
|
"LICENSE",
|
|
16
23
|
"README.markdown"
|
|
17
24
|
]
|
|
18
|
-
s.files = [
|
|
19
|
-
".gitignore",
|
|
20
|
-
"LICENSE",
|
|
21
|
-
"README.markdown",
|
|
22
|
-
"Rakefile",
|
|
23
|
-
"VERSION",
|
|
24
|
-
"jaconda.gemspec",
|
|
25
|
-
"lib/jaconda.rb",
|
|
26
|
-
"lib/jaconda/base.rb",
|
|
27
|
-
"lib/jaconda/member.rb",
|
|
28
|
-
"lib/jaconda/message.rb",
|
|
29
|
-
"lib/jaconda/notification.rb",
|
|
30
|
-
"lib/jaconda/presence.rb",
|
|
31
|
-
"lib/jaconda/room.rb",
|
|
32
|
-
"lib/jaconda/upload.rb",
|
|
33
|
-
"test/helper.rb",
|
|
34
|
-
"test/test_jaconda.rb"
|
|
35
|
-
]
|
|
36
|
-
s.homepage = %q{http://github.com/mironov/jaconda-api}
|
|
37
25
|
s.rdoc_options = ["--charset=UTF-8"]
|
|
38
|
-
s.
|
|
39
|
-
|
|
40
|
-
s.summary = %q{The official ruby wrapper for Jaconda API}
|
|
41
|
-
s.test_files = [
|
|
42
|
-
"test/helper.rb",
|
|
43
|
-
"test/test_jaconda.rb"
|
|
44
|
-
]
|
|
45
|
-
|
|
46
|
-
if s.respond_to? :specification_version then
|
|
47
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
48
|
-
s.specification_version = 3
|
|
49
|
-
|
|
50
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
51
|
-
s.add_runtime_dependency(%q<activeresource>, ["~> 2.3.5"])
|
|
52
|
-
s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
|
53
|
-
else
|
|
54
|
-
s.add_dependency(%q<activeresource>, ["~> 2.3.5"])
|
|
55
|
-
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
|
56
|
-
end
|
|
57
|
-
else
|
|
58
|
-
s.add_dependency(%q<activeresource>, ["~> 2.3.5"])
|
|
59
|
-
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
|
60
|
-
end
|
|
61
|
-
end
|
|
62
|
-
|
|
26
|
+
s.add_runtime_dependency("activeresource", ">= 2.3.5")
|
|
27
|
+
end
|
data/lib/jaconda/notification.rb
CHANGED
data/test/helper.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jaconda
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 13
|
|
5
|
+
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 2
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 2.0.
|
|
9
|
+
- 1
|
|
10
|
+
version: 2.0.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Anton Mironov
|
|
@@ -15,16 +15,14 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-
|
|
18
|
+
date: 2011-04-27 00:00:00 +06:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|
|
22
|
-
name: activeresource
|
|
23
|
-
prerelease: false
|
|
24
22
|
requirement: &id001 !ruby/object:Gem::Requirement
|
|
25
23
|
none: false
|
|
26
24
|
requirements:
|
|
27
|
-
- -
|
|
25
|
+
- - ">="
|
|
28
26
|
- !ruby/object:Gem::Version
|
|
29
27
|
hash: 9
|
|
30
28
|
segments:
|
|
@@ -32,24 +30,12 @@ dependencies:
|
|
|
32
30
|
- 3
|
|
33
31
|
- 5
|
|
34
32
|
version: 2.3.5
|
|
35
|
-
|
|
33
|
+
name: activeresource
|
|
36
34
|
version_requirements: *id001
|
|
37
|
-
- !ruby/object:Gem::Dependency
|
|
38
|
-
name: thoughtbot-shoulda
|
|
39
35
|
prerelease: false
|
|
40
|
-
|
|
41
|
-
none: false
|
|
42
|
-
requirements:
|
|
43
|
-
- - ">="
|
|
44
|
-
- !ruby/object:Gem::Version
|
|
45
|
-
hash: 3
|
|
46
|
-
segments:
|
|
47
|
-
- 0
|
|
48
|
-
version: "0"
|
|
49
|
-
type: :development
|
|
50
|
-
version_requirements: *id002
|
|
36
|
+
type: :runtime
|
|
51
37
|
description:
|
|
52
|
-
email:
|
|
38
|
+
email: anton@jaconda.im
|
|
53
39
|
executables: []
|
|
54
40
|
|
|
55
41
|
extensions: []
|
|
@@ -58,13 +44,6 @@ extra_rdoc_files:
|
|
|
58
44
|
- LICENSE
|
|
59
45
|
- README.markdown
|
|
60
46
|
files:
|
|
61
|
-
- .gitignore
|
|
62
|
-
- LICENSE
|
|
63
|
-
- README.markdown
|
|
64
|
-
- Rakefile
|
|
65
|
-
- VERSION
|
|
66
|
-
- jaconda.gemspec
|
|
67
|
-
- lib/jaconda.rb
|
|
68
47
|
- lib/jaconda/base.rb
|
|
69
48
|
- lib/jaconda/member.rb
|
|
70
49
|
- lib/jaconda/message.rb
|
|
@@ -72,10 +51,16 @@ files:
|
|
|
72
51
|
- lib/jaconda/presence.rb
|
|
73
52
|
- lib/jaconda/room.rb
|
|
74
53
|
- lib/jaconda/upload.rb
|
|
54
|
+
- lib/jaconda.rb
|
|
75
55
|
- test/helper.rb
|
|
76
56
|
- test/test_jaconda.rb
|
|
57
|
+
- jaconda.gemspec
|
|
58
|
+
- Gemfile
|
|
59
|
+
- LICENSE
|
|
60
|
+
- Rakefile
|
|
61
|
+
- README.markdown
|
|
77
62
|
has_rdoc: true
|
|
78
|
-
homepage:
|
|
63
|
+
homepage: https://github.com/jaconda/jaconda-api
|
|
79
64
|
licenses: []
|
|
80
65
|
|
|
81
66
|
post_install_message:
|
|
@@ -104,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
104
89
|
requirements: []
|
|
105
90
|
|
|
106
91
|
rubyforge_project:
|
|
107
|
-
rubygems_version: 1.
|
|
92
|
+
rubygems_version: 1.6.2
|
|
108
93
|
signing_key:
|
|
109
94
|
specification_version: 3
|
|
110
95
|
summary: The official ruby wrapper for Jaconda API
|
data/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.0
|