gom-script 0.1.6 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -3,5 +3,4 @@
3
3
  coverage
4
4
  rdoc
5
5
  pkg
6
- gom-script.gemspec
7
6
  tmp
data/Gemfile ADDED
@@ -0,0 +1,23 @@
1
+ source :rubygems
2
+
3
+ # Specify your gem's dependencies in gom-script.gemspec
4
+ gemspec
5
+
6
+ gem 'json'
7
+ gem 'rack'
8
+ gem 'mongrel', '>=1.2.0.pre2'
9
+ gem 'applix'
10
+ gem 'gom-core'
11
+
12
+ # Bundle gems for the local environment. Make sure to
13
+ # put test-only gems in this group so their generators
14
+ # and rake tasks are available in development mode:
15
+ group :development, :test do
16
+ gem 'wirble'
17
+ gem 'rspec'
18
+ gem 'fakeweb', '>= 1.2.7'
19
+
20
+ gem 'ruby-debug', :platforms => :mri_18
21
+ gem 'ruby-debug19', :platforms => :mri_19, :require => 'ruby-debug'
22
+ gem 'ruby-debug-base19', :platforms => :mri_19
23
+ end
@@ -0,0 +1,67 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ gom-script (0.2.0)
5
+
6
+ GEM
7
+ remote: http://rubygems.org/
8
+ specs:
9
+ applix (0.3.8)
10
+ archive-tar-minitar (0.5.2)
11
+ columnize (0.3.6)
12
+ daemons (1.0.10)
13
+ diff-lcs (1.1.3)
14
+ fakeweb (1.3.0)
15
+ gem_plugin (0.2.3)
16
+ gom-core (0.2.0)
17
+ json (1.6.5)
18
+ linecache (0.46)
19
+ rbx-require-relative (> 0.0.4)
20
+ linecache19 (0.5.12)
21
+ ruby_core_source (>= 0.1.4)
22
+ mongrel (1.2.0.pre2)
23
+ daemons (~> 1.0.10)
24
+ gem_plugin (~> 0.2.3)
25
+ rack (1.4.0)
26
+ rbx-require-relative (0.0.5)
27
+ rspec (2.8.0)
28
+ rspec-core (~> 2.8.0)
29
+ rspec-expectations (~> 2.8.0)
30
+ rspec-mocks (~> 2.8.0)
31
+ rspec-core (2.8.0)
32
+ rspec-expectations (2.8.0)
33
+ diff-lcs (~> 1.1.2)
34
+ rspec-mocks (2.8.0)
35
+ ruby-debug (0.10.4)
36
+ columnize (>= 0.1)
37
+ ruby-debug-base (~> 0.10.4.0)
38
+ ruby-debug-base (0.10.4)
39
+ linecache (>= 0.3)
40
+ ruby-debug-base19 (0.11.25)
41
+ columnize (>= 0.3.1)
42
+ linecache19 (>= 0.5.11)
43
+ ruby_core_source (>= 0.1.4)
44
+ ruby-debug19 (0.11.6)
45
+ columnize (>= 0.3.1)
46
+ linecache19 (>= 0.5.11)
47
+ ruby-debug-base19 (>= 0.11.19)
48
+ ruby_core_source (0.1.5)
49
+ archive-tar-minitar (>= 0.5.2)
50
+ wirble (0.1.3)
51
+
52
+ PLATFORMS
53
+ ruby
54
+
55
+ DEPENDENCIES
56
+ applix
57
+ fakeweb (>= 1.2.7)
58
+ gom-core
59
+ gom-script!
60
+ json
61
+ mongrel (>= 1.2.0.pre2)
62
+ rack
63
+ rspec
64
+ ruby-debug
65
+ ruby-debug-base19
66
+ ruby-debug19
67
+ wirble
data/Rakefile CHANGED
@@ -1,3 +1,8 @@
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
3
+
4
+ __END__
5
+
1
6
  require 'rubygems'
2
7
  require 'rake'
3
8
 
@@ -0,0 +1,25 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require 'gom/script/version'
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = 'gom-script'
7
+ s.version = Gom::Script::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ['art+com/dirk luesebrink']
10
+ s.email = ['dirk.luesebrink@artcom.de']
11
+ s.homepage = 'http://github.com/crux/gom-script'
12
+ s.summary = 'connecting scripts and daemons with a remote GOM instance'
13
+ s.description = %q{
14
+ gom-script script simplifies coding of clients and daemon which like to
15
+ listen on state change event in the GOM.
16
+ }
17
+ #s.rubyforge_project = "gom-core"
18
+
19
+ s.files = `git ls-files`.split("\n")
20
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
21
+ s.executables = `git ls-files -- bin/*`.split("\n").map do |f|
22
+ File.basename(f)
23
+ end
24
+ s.require_paths = ["lib"]
25
+ end
@@ -1,5 +1,5 @@
1
- require 'rubygems'
2
1
  require 'gom-core'
2
+ require 'gom/script/version'
3
3
  require 'gom/remote/connection'
4
4
  require 'gom/remote/entry'
5
5
  require 'gom/remote/subscription'
@@ -96,7 +96,7 @@ module Gom
96
96
  $stderr = $stdout = @logfile_fd
97
97
  end
98
98
  # first line after redirect
99
- puts " -- e-meter daemon logile redirect at #{Time.now}"
99
+ puts " -- daemon logile redirect at #{Time.now}"
100
100
  end
101
101
  end
102
102
  end
@@ -0,0 +1,5 @@
1
+ module Gom
2
+ module Script
3
+ VERSION = "0.2.0"
4
+ end
5
+ end
@@ -1,30 +1,7 @@
1
- # figure out where we are being loaded from
2
- if $LOADED_FEATURES.grep(/spec\/spec_helper\.rb/).any?
3
- begin
4
- raise "foo"
5
- rescue => e
6
- puts <<-MSG
7
- ===================================================
8
- It looks like spec_helper.rb has been loaded
9
- multiple times. Normalize the require to:
10
-
11
- require "spec/spec_helper"
12
-
13
- Things like File.join and File.expand_path will
14
- cause it to be loaded multiple times.
15
-
16
- Loaded this time from:
17
-
18
- #{e.backtrace.join("\n ")}
19
- ===================================================
20
- MSG
21
- end
22
- end
23
-
24
1
  $LOAD_PATH.unshift(File.dirname(__FILE__))
25
2
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
26
- require 'spec'
27
- require 'spec/autorun'
3
+ #require 'spec'
4
+ #require 'spec/autorun'
28
5
  require 'fakeweb'
29
6
 
30
7
  require 'gom-script'
metadata CHANGED
@@ -1,103 +1,32 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: gom-script
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.6
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ prerelease:
5
6
  platform: ruby
6
- authors:
7
+ authors:
7
8
  - art+com/dirk luesebrink
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
-
12
- date: 2010-02-02 00:00:00 +01:00
13
- default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: json
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: "0"
24
- version:
25
- - !ruby/object:Gem::Dependency
26
- name: rack
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: "0"
34
- version:
35
- - !ruby/object:Gem::Dependency
36
- name: mongrel
37
- type: :runtime
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- version: "0"
44
- version:
45
- - !ruby/object:Gem::Dependency
46
- name: applix
47
- type: :runtime
48
- version_requirement:
49
- version_requirements: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: 0.2.1
54
- version:
55
- - !ruby/object:Gem::Dependency
56
- name: gom-core
57
- type: :runtime
58
- version_requirement:
59
- version_requirements: !ruby/object:Gem::Requirement
60
- requirements:
61
- - - ">="
62
- - !ruby/object:Gem::Version
63
- version: "0"
64
- version:
65
- - !ruby/object:Gem::Dependency
66
- name: rspec
67
- type: :development
68
- version_requirement:
69
- version_requirements: !ruby/object:Gem::Requirement
70
- requirements:
71
- - - ">="
72
- - !ruby/object:Gem::Version
73
- version: "0"
74
- version:
75
- - !ruby/object:Gem::Dependency
76
- name: fakeweb
77
- type: :development
78
- version_requirement:
79
- version_requirements: !ruby/object:Gem::Requirement
80
- requirements:
81
- - - ">="
82
- - !ruby/object:Gem::Version
83
- version: 1.2.7
84
- version:
85
- description: " \n GOM is a schema-less object database in ruby with Resource Oriented API,\n server-side javascript, distributed HTTP notifications and some more.\n This gom-script script simplifies coding of clients and daemon which like\n to listen on state change event in the GOM.\n "
86
- email: dirk.luesebrink@gmail.com
12
+ date: 2012-01-19 00:00:00.000000000Z
13
+ dependencies: []
14
+ description: ! " \n gom-script script simplifies coding of clients and daemon which
15
+ like to\n listen on state change event in the GOM.\n "
16
+ email:
17
+ - dirk.luesebrink@artcom.de
87
18
  executables: []
88
-
89
19
  extensions: []
90
-
91
- extra_rdoc_files:
92
- - LICENSE
93
- - README.markdown
94
- files:
20
+ extra_rdoc_files: []
21
+ files:
95
22
  - .document
96
23
  - .gitignore
24
+ - Gemfile
25
+ - Gemfile.lock
97
26
  - LICENSE
98
27
  - README.markdown
99
28
  - Rakefile
100
- - VERSION
29
+ - gom-script.gemspec
101
30
  - lib/gom-script.rb
102
31
  - lib/gom/remote.rb
103
32
  - lib/gom/remote/connection.rb
@@ -105,43 +34,41 @@ files:
105
34
  - lib/gom/remote/entry.rb
106
35
  - lib/gom/remote/http_server.rb
107
36
  - lib/gom/remote/subscription.rb
37
+ - lib/gom/script/version.rb
108
38
  - spec/gom/remote/connection_spec.rb
109
39
  - spec/gom/remote/daemon_spec.rb
110
40
  - spec/gom/remote/http_server_spec.rb
111
41
  - spec/gom/remote/subscription_spec.rb
112
42
  - spec/spec.opts
113
43
  - spec/spec_helper.rb
114
- has_rdoc: true
115
44
  homepage: http://github.com/crux/gom-script
116
45
  licenses: []
117
-
118
46
  post_install_message:
119
- rdoc_options:
120
- - --charset=UTF-8
121
- require_paths:
47
+ rdoc_options: []
48
+ require_paths:
122
49
  - lib
123
- required_ruby_version: !ruby/object:Gem::Requirement
124
- requirements:
125
- - - ">="
126
- - !ruby/object:Gem::Version
127
- version: "0"
128
- version:
129
- required_rubygems_version: !ruby/object:Gem::Requirement
130
- requirements:
131
- - - ">="
132
- - !ruby/object:Gem::Version
133
- version: "0"
134
- version:
50
+ required_ruby_version: !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ required_rubygems_version: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
135
62
  requirements: []
136
-
137
63
  rubyforge_project:
138
- rubygems_version: 1.3.5
64
+ rubygems_version: 1.8.6
139
65
  signing_key:
140
66
  specification_version: 3
141
67
  summary: connecting scripts and daemons with a remote GOM instance
142
- test_files:
68
+ test_files:
143
69
  - spec/gom/remote/connection_spec.rb
144
70
  - spec/gom/remote/daemon_spec.rb
145
71
  - spec/gom/remote/http_server_spec.rb
146
72
  - spec/gom/remote/subscription_spec.rb
73
+ - spec/spec.opts
147
74
  - spec/spec_helper.rb
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.1.6