melissadata 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -0
- data/Gemfile.lock +46 -16
- data/README.md +50 -2
- data/Rakefile +58 -23
- data/Vagrantfile +12 -12
- data/bin/md_tcp_server +5 -0
- data/bin/md_unix_server +5 -0
- data/chef/cookbooks/apt/README.md +109 -0
- data/chef/cookbooks/apt/files/default/apt-cacher +9 -0
- data/chef/cookbooks/apt/files/default/apt-cacher.conf +144 -0
- data/chef/cookbooks/apt/files/default/apt-proxy-v2.conf +50 -0
- data/chef/cookbooks/apt/metadata.json +34 -0
- data/chef/cookbooks/apt/metadata.rb +13 -0
- data/chef/cookbooks/apt/providers/repository.rb +72 -0
- data/chef/cookbooks/apt/recipes/cacher-client.rb +37 -0
- data/chef/cookbooks/apt/recipes/cacher.rb +45 -0
- data/chef/cookbooks/apt/recipes/default.rb +33 -0
- data/chef/cookbooks/apt/resources/repository.rb +30 -0
- data/chef/cookbooks/build-essential/README.md +24 -0
- data/chef/cookbooks/build-essential/metadata.json +35 -0
- data/chef/cookbooks/build-essential/metadata.rb +10 -0
- data/chef/cookbooks/build-essential/recipes/default.rb +45 -0
- data/chef/cookbooks/melissadata/attributes/default.rb +5 -0
- data/chef/cookbooks/melissadata/metadata.rb +8 -0
- data/chef/cookbooks/melissadata/recipes/default.rb +37 -0
- data/chef/cookbooks/melissadata/templates/default/Makefile.erb +39 -0
- data/chef/cookbooks/melissadata/templates/default/md_tcp_server.init.erb +82 -0
- data/chef/cookbooks/melissadata/templates/default/md_unix_server.init.erb +81 -0
- data/chef/cookbooks/rvm/recipes/default.rb +1 -0
- data/chef/cookbooks/rvm/recipes/r187.rb +6 -0
- data/chef/cookbooks/rvm/recipes/r192.rb +6 -0
- data/chef/cookbooks/rvm/recipes/system.rb +28 -0
- data/chef/cookbooks/ubuntu/attributes/default.rb +24 -0
- data/chef/cookbooks/ubuntu/metadata.json +36 -0
- data/chef/cookbooks/ubuntu/metadata.rb +8 -0
- data/chef/cookbooks/ubuntu/recipes/default.rb +27 -0
- data/chef/cookbooks/ubuntu/templates/default/sources.list.erb +15 -0
- data/lib/melissadata.rb +1 -2
- data/lib/melissadata/client.rb +8 -0
- data/lib/melissadata/client/base.rb +56 -0
- data/lib/melissadata/client/tcp.rb +28 -0
- data/lib/melissadata/client/unix.rb +22 -0
- data/lib/melissadata/client/vagrant.rb +9 -0
- data/lib/melissadata/command.rb +1 -0
- data/lib/melissadata/command/base.rb +0 -1
- data/lib/melissadata/command/compile.rb +37 -0
- data/lib/melissadata/command/package.rb +32 -73
- data/lib/melissadata/constants.rb +6 -5
- data/lib/melissadata/melissadata.rb +26 -91
- data/lib/melissadata/native_object.rb +0 -8
- data/lib/melissadata/native_object/address.rb +2 -0
- data/lib/melissadata/native_object/base.rb +18 -5
- data/lib/melissadata/native_object/email.rb +2 -0
- data/lib/melissadata/native_object/geo.rb +2 -0
- data/lib/melissadata/native_object/ip_locator.rb +2 -0
- data/lib/melissadata/native_object/name.rb +2 -0
- data/lib/melissadata/native_object/phone.rb +2 -0
- data/lib/melissadata/server.rb +10 -0
- data/lib/melissadata/server/base.rb +145 -0
- data/lib/melissadata/server/tcp.rb +22 -0
- data/lib/melissadata/server/unix.rb +24 -0
- data/lib/melissadata/vagrant_plugin.rb +23 -0
- data/lib/melissadata/vagrant_plugin/actions.rb +9 -0
- data/lib/melissadata/vagrant_plugin/actions/base.rb +60 -0
- data/lib/melissadata/vagrant_plugin/actions/install.rb +78 -0
- data/lib/melissadata/vagrant_plugin/actions/update.rb +22 -0
- data/lib/melissadata/vagrant_plugin/command.rb +21 -0
- data/lib/melissadata/vagrant_plugin/config.rb +18 -0
- data/lib/melissadata/version.rb +1 -1
- data/locales/en.yml +16 -0
- data/melissadata.gemspec +11 -12
- data/pkg/melissadata-0.0.1.gem +0 -0
- data/spec/helpers/vagrant_helpers.rb +17 -0
- data/spec/melissadata/command/package_spec.rb +1 -1
- data/spec/melissadata/vagrant_plugin/actions/install_spec.rb +40 -0
- data/spec/melissadata/vagrant_plugin/config_spec.rb +17 -0
- data/spec/spec_helper.rb +12 -7
- metadata +201 -228
- data/bin/md +0 -4
- data/bin/md-rpc +0 -9
- data/bin/md-server +0 -18
- data/bin/melissadata +0 -4
- data/lib/melissadata/native_object/client.rb +0 -33
- data/lib/melissadata/prev/command_old.rb +0 -80
- data/lib/melissadata/prev/shared_objects.rb +0 -54
- data/lib/melissadata/rpc.rb +0 -39
- data/pkg/melissa-data-0.0.1.gem +0 -0
- data/pkg/melissa-data-0.0.2.gem +0 -0
- data/pkg/melissa-data-0.0.3.gem +0 -0
- data/templates/config.rb +0 -20
- data/templates/locales/en.yml +0 -4
@@ -0,0 +1,22 @@
|
|
1
|
+
module MelissaData::VagrantPlugin::Actions
|
2
|
+
|
3
|
+
class Update < Base
|
4
|
+
def call(env)
|
5
|
+
@vm = env['vm']
|
6
|
+
if @vm.created? && @vm.vm.running?
|
7
|
+
target_root = env['config'].melissadata.target_path
|
8
|
+
env.ui.info I18n.t("vagrant.plugins.melissadata.updating"), :prefix => false
|
9
|
+
|
10
|
+
sudo "gem uninstall melissadata" if test? "ruby -r md -e 'puts MD::VERSION'" #%Q!ruby -e 'require "rubygems"; require "melissadata"'!
|
11
|
+
gem_filename = "melissadata-#{MelissaData::VERSION}.gem"
|
12
|
+
copy_file "#{File.expand_path("pkg/#{gem_filename}", MelissaData.gem_root)}"
|
13
|
+
sudo "gem install #{target_root}/#{gem_filename} && rm #{target_root}/#{gem_filename}"
|
14
|
+
else
|
15
|
+
env.ui.error "Vagrant VM is not running", :prefix => false
|
16
|
+
end
|
17
|
+
|
18
|
+
@app.call(env)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module MelissaData::VagrantPlugin
|
2
|
+
|
3
|
+
class Command < ::Vagrant::Command::GroupBase
|
4
|
+
register "md", "MelissaData vagrant commands"
|
5
|
+
|
6
|
+
desc "install", "Install MelissaData gem on the vagrant box"
|
7
|
+
def install
|
8
|
+
target_vms.each do |vm|
|
9
|
+
vm.env.actions.run(:md_install)
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
desc "update", "Update the MelissaData gem on the vagrant box"
|
14
|
+
def update
|
15
|
+
target_vms.each do |vm|
|
16
|
+
vm.env.actions.run(:md_update)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module MelissaData::VagrantPlugin
|
2
|
+
|
3
|
+
# A configuration class to configure defaults which are used for MelissaData::VagrantPlugin
|
4
|
+
class Config < ::Vagrant::Config::Base
|
5
|
+
configures :melissadata
|
6
|
+
attr_accessor :target_path
|
7
|
+
attr_accessor :source_path
|
8
|
+
|
9
|
+
def initialize
|
10
|
+
@target_path = '/opt/melissadata'
|
11
|
+
end
|
12
|
+
|
13
|
+
def validate(errors)
|
14
|
+
errors.add(I18n.t("vagrant.plugins.melissadata.config_directory")) if target_path && !target_path.is_a?(String)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
data/lib/melissadata/version.rb
CHANGED
data/locales/en.yml
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
en:
|
2
|
+
melissadata:
|
3
|
+
errors:
|
4
|
+
disc_not_found: "Can't find MelissaData DVD in /Volumes"
|
5
|
+
|
6
|
+
vagrant:
|
7
|
+
plugins:
|
8
|
+
melissadata:
|
9
|
+
installing: "Installing MelissaData into: %{path}"
|
10
|
+
updating: "Updating the melissadata gem"
|
11
|
+
bundle_install: "Installing bundled gems"
|
12
|
+
config_directory: "Directory must be a string."
|
13
|
+
copying_file: "Copying %{file} to %{path}"
|
14
|
+
copying_directory: "Copying %{source} to %{target}"
|
15
|
+
compiling: "Compiling new shared objects"
|
16
|
+
file_exists: "The remote file already exists: %{filename}"
|
data/melissadata.gemspec
CHANGED
@@ -15,26 +15,25 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.files = Dir["**/*"].map{ |f| f.to_s }
|
16
16
|
s.executables = Dir['bin/*'].map{ |f| File.basename(f) }
|
17
17
|
|
18
|
-
s.
|
18
|
+
s.add_dependency 'i18n'
|
19
|
+
s.add_dependency 'thor'
|
20
|
+
s.add_dependency 'activesupport'
|
21
|
+
s.add_dependency 'multi_json'
|
22
|
+
s.add_dependency 'msgpack-rpc'
|
23
|
+
s.add_dependency 'awesome_print'
|
24
|
+
s.add_dependency 'yajl-ruby'
|
25
|
+
s.add_dependency 'cloudfiles'
|
26
|
+
|
27
|
+
s.add_development_dependency 'rake'
|
19
28
|
s.add_development_dependency 'rspec', '>2.4'
|
20
|
-
# s.add_development_dependency 'rb-fsevent'
|
21
29
|
s.add_development_dependency 'growl'
|
22
30
|
s.add_development_dependency 'guard-rspec'
|
23
31
|
|
24
32
|
if RUBY_VERSION =~ /1\.9/
|
25
33
|
s.add_development_dependency 'ruby-debug19'
|
26
|
-
s.add_development_dependency 'simplecov', '>= 0.4.0'
|
34
|
+
s.add_development_dependency 'simplecov', '>= 0.4.0'
|
27
35
|
else
|
28
36
|
s.add_development_dependency 'ruby-debug'
|
29
37
|
s.add_development_dependency 'rcov'
|
30
38
|
end
|
31
|
-
|
32
|
-
s.add_dependency 'i18n'
|
33
|
-
s.add_dependency 'thor'
|
34
|
-
s.add_dependency 'activesupport'
|
35
|
-
s.add_dependency 'multi_json'
|
36
|
-
s.add_dependency 'msgpack-rpc'
|
37
|
-
s.add_dependency 'awesome_print'
|
38
|
-
s.add_dependency 'yajl-ruby'
|
39
|
-
s.add_dependency 'cloudfiles'
|
40
39
|
end
|
data/pkg/melissadata-0.0.1.gem
CHANGED
Binary file
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'vagrant'
|
2
|
+
module Vagrant
|
3
|
+
class VM
|
4
|
+
def exit_status(command)
|
5
|
+
return_val = 'unknown'
|
6
|
+
ssh.execute do |ssh|
|
7
|
+
ssh.exec!(command) do |channel, type, data|
|
8
|
+
return_val = data if type == :exit_status
|
9
|
+
end
|
10
|
+
end
|
11
|
+
return_val
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
module VagrantHelpers
|
17
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
module MelissaData::VagrantPlugin::Actions
|
4
|
+
|
5
|
+
describe Install do
|
6
|
+
before :each do
|
7
|
+
@vagrantfile_path = File.expand_path('Vagrantfile', MelissaData.gem_root)
|
8
|
+
@env = Vagrant::Environment.new(:cwd => @vagrantfile_path).load!
|
9
|
+
@vm = @env.vms.values.first
|
10
|
+
end
|
11
|
+
|
12
|
+
it "creates the target directory on the VM" do
|
13
|
+
@vm.env.actions.run(:md_install)
|
14
|
+
@vm.exit_status('test -e /opt/melissadata').should == 0
|
15
|
+
end
|
16
|
+
|
17
|
+
|
18
|
+
xit "executes the command on every VM" do
|
19
|
+
@vm.env.actions.should_receive(:run).with do |action, options|
|
20
|
+
action.should == :melissadata
|
21
|
+
# assert_equal "db:migrate", options["rake.command"]
|
22
|
+
true
|
23
|
+
end
|
24
|
+
|
25
|
+
@env.cli("md", "install")
|
26
|
+
end
|
27
|
+
|
28
|
+
context "Single Object DVD" do
|
29
|
+
before :each do
|
30
|
+
path = File.expand_path('../../support/single_object_dvd', __FILE__)
|
31
|
+
@vm.env.config.melissadata.source_path = path
|
32
|
+
end
|
33
|
+
|
34
|
+
xit "foo" do
|
35
|
+
'foo'.should == 'bar'
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
module MelissaData::VagrantPlugin
|
4
|
+
|
5
|
+
describe Config do
|
6
|
+
before :each do
|
7
|
+
@config = Config.new
|
8
|
+
@errors = Vagrant::Config::ErrorRecorder.new
|
9
|
+
end
|
10
|
+
|
11
|
+
it "is valid by default" do
|
12
|
+
@config.validate(@errors)
|
13
|
+
@errors.errors.should be_empty
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,17 +1,18 @@
|
|
1
1
|
require 'bundler'
|
2
2
|
Bundler.setup
|
3
3
|
|
4
|
-
if RUBY_VERSION =~ /^1\.9/
|
5
|
-
|
6
|
-
|
7
|
-
else
|
8
|
-
|
9
|
-
|
10
|
-
end
|
4
|
+
# if RUBY_VERSION =~ /^1\.9/
|
5
|
+
# require 'simplecov'
|
6
|
+
# SimpleCov.start
|
7
|
+
# else
|
8
|
+
# require 'rspec'
|
9
|
+
# require 'rcov'
|
10
|
+
# end
|
11
11
|
|
12
12
|
# # Add this folder to the load path for "spec_helper"
|
13
13
|
# $:.unshift(File.dirname(__FILE__))
|
14
14
|
|
15
|
+
require 'vagrant/test_helpers'
|
15
16
|
require 'melissadata'
|
16
17
|
|
17
18
|
MelissaData.env = :test
|
@@ -24,10 +25,14 @@ begin
|
|
24
25
|
rescue LoadError
|
25
26
|
end
|
26
27
|
|
28
|
+
Dir[File.expand_path("helpers/**/*.rb", File.dirname(__FILE__))].each {|f| require f}
|
29
|
+
|
27
30
|
# Add the I18n locale for tests
|
28
31
|
I18n.load_path << File.expand_path("../locales/en.yml", __FILE__)
|
29
32
|
|
30
33
|
RSpec.configure do |c|
|
31
34
|
# Some opts are set in Guardfile
|
32
35
|
c.color_enabled = true
|
36
|
+
# include Vagrant::TestHelpers
|
37
|
+
include VagrantHelpers
|
33
38
|
end
|
metadata
CHANGED
@@ -1,247 +1,225 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: melissadata
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 1
|
10
|
-
version: 0.0.1
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- JohnnyT
|
14
9
|
- Chris Wyckoff
|
15
10
|
autorequire:
|
16
11
|
bindir: bin
|
17
12
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
name: rake
|
24
|
-
prerelease: false
|
25
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
13
|
+
date: 2011-08-12 00:00:00.000000000Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: i18n
|
17
|
+
requirement: &2153081560 !ruby/object:Gem::Requirement
|
26
18
|
none: false
|
27
|
-
requirements:
|
28
|
-
- -
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
|
31
|
-
|
32
|
-
- 0
|
33
|
-
- 8
|
34
|
-
- 7
|
35
|
-
version: 0.8.7
|
36
|
-
type: :development
|
37
|
-
version_requirements: *id001
|
38
|
-
- !ruby/object:Gem::Dependency
|
39
|
-
name: rspec
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0'
|
23
|
+
type: :runtime
|
40
24
|
prerelease: false
|
41
|
-
|
25
|
+
version_requirements: *2153081560
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: thor
|
28
|
+
requirement: &2153081140 !ruby/object:Gem::Requirement
|
42
29
|
none: false
|
43
|
-
requirements:
|
44
|
-
- -
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
|
47
|
-
|
48
|
-
- 2
|
49
|
-
- 4
|
50
|
-
version: "2.4"
|
51
|
-
type: :development
|
52
|
-
version_requirements: *id002
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: growl
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
55
35
|
prerelease: false
|
56
|
-
|
36
|
+
version_requirements: *2153081140
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: activesupport
|
39
|
+
requirement: &2153080720 !ruby/object:Gem::Requirement
|
57
40
|
none: false
|
58
|
-
requirements:
|
59
|
-
- -
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
|
62
|
-
|
63
|
-
- 0
|
64
|
-
version: "0"
|
65
|
-
type: :development
|
66
|
-
version_requirements: *id003
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
|
-
name: guard-rspec
|
41
|
+
requirements:
|
42
|
+
- - ! '>='
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0'
|
45
|
+
type: :runtime
|
69
46
|
prerelease: false
|
70
|
-
|
47
|
+
version_requirements: *2153080720
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: multi_json
|
50
|
+
requirement: &2153102820 !ruby/object:Gem::Requirement
|
71
51
|
none: false
|
72
|
-
requirements:
|
73
|
-
- -
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
|
76
|
-
|
77
|
-
- 0
|
78
|
-
version: "0"
|
79
|
-
type: :development
|
80
|
-
version_requirements: *id004
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
|
-
name: ruby-debug
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
type: :runtime
|
83
57
|
prerelease: false
|
84
|
-
|
58
|
+
version_requirements: *2153102820
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: msgpack-rpc
|
61
|
+
requirement: &2153102400 !ruby/object:Gem::Requirement
|
85
62
|
none: false
|
86
|
-
requirements:
|
87
|
-
- -
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
|
90
|
-
|
91
|
-
- 0
|
92
|
-
version: "0"
|
93
|
-
type: :development
|
94
|
-
version_requirements: *id005
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
name: rcov
|
63
|
+
requirements:
|
64
|
+
- - ! '>='
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
67
|
+
type: :runtime
|
97
68
|
prerelease: false
|
98
|
-
|
69
|
+
version_requirements: *2153102400
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: awesome_print
|
72
|
+
requirement: &2153101980 !ruby/object:Gem::Requirement
|
99
73
|
none: false
|
100
|
-
requirements:
|
101
|
-
- -
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
|
104
|
-
|
105
|
-
- 0
|
106
|
-
version: "0"
|
107
|
-
type: :development
|
108
|
-
version_requirements: *id006
|
109
|
-
- !ruby/object:Gem::Dependency
|
110
|
-
name: i18n
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
type: :runtime
|
111
79
|
prerelease: false
|
112
|
-
|
80
|
+
version_requirements: *2153101980
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: yajl-ruby
|
83
|
+
requirement: &2153101560 !ruby/object:Gem::Requirement
|
113
84
|
none: false
|
114
|
-
requirements:
|
115
|
-
- -
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
|
118
|
-
segments:
|
119
|
-
- 0
|
120
|
-
version: "0"
|
85
|
+
requirements:
|
86
|
+
- - ! '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
121
89
|
type: :runtime
|
122
|
-
version_requirements: *id007
|
123
|
-
- !ruby/object:Gem::Dependency
|
124
|
-
name: thor
|
125
90
|
prerelease: false
|
126
|
-
|
91
|
+
version_requirements: *2153101560
|
92
|
+
- !ruby/object:Gem::Dependency
|
93
|
+
name: cloudfiles
|
94
|
+
requirement: &2153101140 !ruby/object:Gem::Requirement
|
127
95
|
none: false
|
128
|
-
requirements:
|
129
|
-
- -
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
|
132
|
-
segments:
|
133
|
-
- 0
|
134
|
-
version: "0"
|
96
|
+
requirements:
|
97
|
+
- - ! '>='
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0'
|
135
100
|
type: :runtime
|
136
|
-
version_requirements: *id008
|
137
|
-
- !ruby/object:Gem::Dependency
|
138
|
-
name: activesupport
|
139
101
|
prerelease: false
|
140
|
-
|
102
|
+
version_requirements: *2153101140
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: rake
|
105
|
+
requirement: &2153100720 !ruby/object:Gem::Requirement
|
141
106
|
none: false
|
142
|
-
requirements:
|
143
|
-
- -
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
|
146
|
-
|
147
|
-
- 0
|
148
|
-
version: "0"
|
149
|
-
type: :runtime
|
150
|
-
version_requirements: *id009
|
151
|
-
- !ruby/object:Gem::Dependency
|
152
|
-
name: multi_json
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
type: :development
|
153
112
|
prerelease: false
|
154
|
-
|
113
|
+
version_requirements: *2153100720
|
114
|
+
- !ruby/object:Gem::Dependency
|
115
|
+
name: rspec
|
116
|
+
requirement: &2153100220 !ruby/object:Gem::Requirement
|
155
117
|
none: false
|
156
|
-
requirements:
|
157
|
-
- -
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
|
160
|
-
|
161
|
-
- 0
|
162
|
-
version: "0"
|
163
|
-
type: :runtime
|
164
|
-
version_requirements: *id010
|
165
|
-
- !ruby/object:Gem::Dependency
|
166
|
-
name: msgpack-rpc
|
118
|
+
requirements:
|
119
|
+
- - ! '>'
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '2.4'
|
122
|
+
type: :development
|
167
123
|
prerelease: false
|
168
|
-
|
124
|
+
version_requirements: *2153100220
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: growl
|
127
|
+
requirement: &2153099800 !ruby/object:Gem::Requirement
|
169
128
|
none: false
|
170
|
-
requirements:
|
171
|
-
- -
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
|
174
|
-
|
175
|
-
- 0
|
176
|
-
version: "0"
|
177
|
-
type: :runtime
|
178
|
-
version_requirements: *id011
|
179
|
-
- !ruby/object:Gem::Dependency
|
180
|
-
name: awesome_print
|
129
|
+
requirements:
|
130
|
+
- - ! '>='
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
type: :development
|
181
134
|
prerelease: false
|
182
|
-
|
135
|
+
version_requirements: *2153099800
|
136
|
+
- !ruby/object:Gem::Dependency
|
137
|
+
name: guard-rspec
|
138
|
+
requirement: &2153099340 !ruby/object:Gem::Requirement
|
183
139
|
none: false
|
184
|
-
requirements:
|
185
|
-
- -
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
|
188
|
-
|
189
|
-
- 0
|
190
|
-
version: "0"
|
191
|
-
type: :runtime
|
192
|
-
version_requirements: *id012
|
193
|
-
- !ruby/object:Gem::Dependency
|
194
|
-
name: yajl-ruby
|
140
|
+
requirements:
|
141
|
+
- - ! '>='
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '0'
|
144
|
+
type: :development
|
195
145
|
prerelease: false
|
196
|
-
|
146
|
+
version_requirements: *2153099340
|
147
|
+
- !ruby/object:Gem::Dependency
|
148
|
+
name: ruby-debug19
|
149
|
+
requirement: &2153098880 !ruby/object:Gem::Requirement
|
197
150
|
none: false
|
198
|
-
requirements:
|
199
|
-
- -
|
200
|
-
- !ruby/object:Gem::Version
|
201
|
-
|
202
|
-
|
203
|
-
- 0
|
204
|
-
version: "0"
|
205
|
-
type: :runtime
|
206
|
-
version_requirements: *id013
|
207
|
-
- !ruby/object:Gem::Dependency
|
208
|
-
name: cloudfiles
|
151
|
+
requirements:
|
152
|
+
- - ! '>='
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0'
|
155
|
+
type: :development
|
209
156
|
prerelease: false
|
210
|
-
|
157
|
+
version_requirements: *2153098880
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: simplecov
|
160
|
+
requirement: &2153098380 !ruby/object:Gem::Requirement
|
211
161
|
none: false
|
212
|
-
requirements:
|
213
|
-
- -
|
214
|
-
- !ruby/object:Gem::Version
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
type: :runtime
|
220
|
-
version_requirements: *id014
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: 0.4.0
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: *2153098380
|
221
169
|
description: Ruby wrappers around MelissaData objects
|
222
|
-
email:
|
170
|
+
email:
|
223
171
|
- johnnyt@xan.do
|
224
172
|
- cwyckoff@alliancehealth.com
|
225
|
-
executables:
|
226
|
-
-
|
227
|
-
-
|
228
|
-
- md-server
|
229
|
-
- melissadata
|
173
|
+
executables:
|
174
|
+
- md_tcp_server
|
175
|
+
- md_unix_server
|
230
176
|
extensions: []
|
231
|
-
|
232
177
|
extra_rdoc_files: []
|
233
|
-
|
234
|
-
|
235
|
-
- bin/
|
236
|
-
-
|
237
|
-
-
|
238
|
-
-
|
178
|
+
files:
|
179
|
+
- bin/md_tcp_server
|
180
|
+
- bin/md_unix_server
|
181
|
+
- chef/cookbooks/apt/files/default/apt-cacher
|
182
|
+
- chef/cookbooks/apt/files/default/apt-cacher.conf
|
183
|
+
- chef/cookbooks/apt/files/default/apt-proxy-v2.conf
|
184
|
+
- chef/cookbooks/apt/metadata.json
|
185
|
+
- chef/cookbooks/apt/metadata.rb
|
186
|
+
- chef/cookbooks/apt/providers/repository.rb
|
187
|
+
- chef/cookbooks/apt/README.md
|
188
|
+
- chef/cookbooks/apt/recipes/cacher-client.rb
|
189
|
+
- chef/cookbooks/apt/recipes/cacher.rb
|
190
|
+
- chef/cookbooks/apt/recipes/default.rb
|
191
|
+
- chef/cookbooks/apt/resources/repository.rb
|
192
|
+
- chef/cookbooks/build-essential/metadata.json
|
193
|
+
- chef/cookbooks/build-essential/metadata.rb
|
194
|
+
- chef/cookbooks/build-essential/README.md
|
195
|
+
- chef/cookbooks/build-essential/recipes/default.rb
|
196
|
+
- chef/cookbooks/melissadata/attributes/default.rb
|
197
|
+
- chef/cookbooks/melissadata/metadata.rb
|
198
|
+
- chef/cookbooks/melissadata/recipes/default.rb
|
199
|
+
- chef/cookbooks/melissadata/templates/default/Makefile.erb
|
200
|
+
- chef/cookbooks/melissadata/templates/default/md_tcp_server.init.erb
|
201
|
+
- chef/cookbooks/melissadata/templates/default/md_unix_server.init.erb
|
202
|
+
- chef/cookbooks/rvm/recipes/default.rb
|
203
|
+
- chef/cookbooks/rvm/recipes/r187.rb
|
204
|
+
- chef/cookbooks/rvm/recipes/r192.rb
|
205
|
+
- chef/cookbooks/rvm/recipes/system.rb
|
206
|
+
- chef/cookbooks/ubuntu/attributes/default.rb
|
207
|
+
- chef/cookbooks/ubuntu/metadata.json
|
208
|
+
- chef/cookbooks/ubuntu/metadata.rb
|
209
|
+
- chef/cookbooks/ubuntu/recipes/default.rb
|
210
|
+
- chef/cookbooks/ubuntu/templates/default/sources.list.erb
|
239
211
|
- Gemfile
|
240
212
|
- Gemfile.lock
|
241
213
|
- Guardfile
|
242
214
|
- lib/md.rb
|
243
215
|
- lib/melissadata/cli.rb
|
216
|
+
- lib/melissadata/client/base.rb
|
217
|
+
- lib/melissadata/client/tcp.rb
|
218
|
+
- lib/melissadata/client/unix.rb
|
219
|
+
- lib/melissadata/client/vagrant.rb
|
220
|
+
- lib/melissadata/client.rb
|
244
221
|
- lib/melissadata/command/base.rb
|
222
|
+
- lib/melissadata/command/compile.rb
|
245
223
|
- lib/melissadata/command/helpers.rb
|
246
224
|
- lib/melissadata/command/package.rb
|
247
225
|
- lib/melissadata/command.rb
|
@@ -251,66 +229,61 @@ files:
|
|
251
229
|
- lib/melissadata/melissadata.rb
|
252
230
|
- lib/melissadata/native_object/address.rb
|
253
231
|
- lib/melissadata/native_object/base.rb
|
254
|
-
- lib/melissadata/native_object/client.rb
|
255
232
|
- lib/melissadata/native_object/email.rb
|
256
233
|
- lib/melissadata/native_object/geo.rb
|
257
234
|
- lib/melissadata/native_object/ip_locator.rb
|
258
235
|
- lib/melissadata/native_object/name.rb
|
259
236
|
- lib/melissadata/native_object/phone.rb
|
260
237
|
- lib/melissadata/native_object.rb
|
261
|
-
- lib/melissadata/
|
262
|
-
- lib/melissadata/
|
263
|
-
- lib/melissadata/
|
238
|
+
- lib/melissadata/server/base.rb
|
239
|
+
- lib/melissadata/server/tcp.rb
|
240
|
+
- lib/melissadata/server/unix.rb
|
241
|
+
- lib/melissadata/server.rb
|
242
|
+
- lib/melissadata/vagrant_plugin/actions/base.rb
|
243
|
+
- lib/melissadata/vagrant_plugin/actions/install.rb
|
244
|
+
- lib/melissadata/vagrant_plugin/actions/update.rb
|
245
|
+
- lib/melissadata/vagrant_plugin/actions.rb
|
246
|
+
- lib/melissadata/vagrant_plugin/command.rb
|
247
|
+
- lib/melissadata/vagrant_plugin/config.rb
|
248
|
+
- lib/melissadata/vagrant_plugin.rb
|
264
249
|
- lib/melissadata/version.rb
|
265
250
|
- lib/melissadata.rb
|
251
|
+
- locales/en.yml
|
266
252
|
- melissadata.gemspec
|
267
|
-
- pkg/melissa-data-0.0.1.gem
|
268
|
-
- pkg/melissa-data-0.0.2.gem
|
269
|
-
- pkg/melissa-data-0.0.3.gem
|
270
253
|
- pkg/melissadata-0.0.1.gem
|
271
254
|
- Rakefile
|
272
255
|
- README.md
|
256
|
+
- spec/helpers/vagrant_helpers.rb
|
273
257
|
- spec/locales/en.yml
|
274
258
|
- spec/melissadata/cli_spec.rb
|
275
259
|
- spec/melissadata/command/package_spec.rb
|
276
260
|
- spec/melissadata/env_spec.rb
|
261
|
+
- spec/melissadata/vagrant_plugin/actions/install_spec.rb
|
262
|
+
- spec/melissadata/vagrant_plugin/config_spec.rb
|
277
263
|
- spec/spec_helper.rb
|
278
|
-
- templates/config.rb
|
279
|
-
- templates/locales/en.yml
|
280
264
|
- Vagrantfile
|
281
|
-
has_rdoc: true
|
282
265
|
homepage: http://github.com/johnnyt/melissadata
|
283
266
|
licenses: []
|
284
|
-
|
285
267
|
post_install_message:
|
286
268
|
rdoc_options: []
|
287
|
-
|
288
|
-
require_paths:
|
269
|
+
require_paths:
|
289
270
|
- lib
|
290
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
271
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
291
272
|
none: false
|
292
|
-
requirements:
|
293
|
-
- -
|
294
|
-
- !ruby/object:Gem::Version
|
295
|
-
|
296
|
-
|
297
|
-
- 0
|
298
|
-
version: "0"
|
299
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
273
|
+
requirements:
|
274
|
+
- - ! '>='
|
275
|
+
- !ruby/object:Gem::Version
|
276
|
+
version: '0'
|
277
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
300
278
|
none: false
|
301
|
-
requirements:
|
302
|
-
- -
|
303
|
-
- !ruby/object:Gem::Version
|
304
|
-
|
305
|
-
segments:
|
306
|
-
- 0
|
307
|
-
version: "0"
|
279
|
+
requirements:
|
280
|
+
- - ! '>='
|
281
|
+
- !ruby/object:Gem::Version
|
282
|
+
version: '0'
|
308
283
|
requirements: []
|
309
|
-
|
310
284
|
rubyforge_project:
|
311
|
-
rubygems_version: 1.6
|
285
|
+
rubygems_version: 1.8.6
|
312
286
|
signing_key:
|
313
287
|
specification_version: 3
|
314
288
|
summary: Ruby wrappers around MelissaData objects
|
315
289
|
test_files: []
|
316
|
-
|