duple 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ require 'rspec/fire'
2
+
3
+ RSpec.configure do |config|
4
+ config.include(RSpec::Fire)
5
+ end
@@ -0,0 +1,33 @@
1
+ module Duple
2
+ module IOSpecHelpers
3
+ def suppress_output
4
+ @original_stdout, $stdout = $stdout, StringIO.new
5
+ @original_stderr, $stderr = $stderr, StringIO.new
6
+ end
7
+
8
+ def reset_output
9
+ $stdout = @original_stdout
10
+ $stderr = @original_stderr
11
+ end
12
+
13
+ def capture_stdout
14
+ original_stdout, $stdout = $stdout, StringIO.new
15
+ yield
16
+ $stdout.string
17
+ ensure
18
+ $stdout = original_stdout
19
+ end
20
+
21
+ def capture_stderr
22
+ original_stderr, $stderr = $stderr, StringIO.new
23
+ yield
24
+ $stderr.string
25
+ ensure
26
+ $stderr = original_stderr
27
+ end
28
+ end
29
+ end
30
+
31
+ RSpec.configure do |config|
32
+ config.include Duple::IOSpecHelpers
33
+ end
File without changes
metadata ADDED
@@ -0,0 +1,190 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: duple
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Jason Wadsworth
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-10-19 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: thor
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rake
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: 0.9.2
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 0.9.2
46
+ - !ruby/object:Gem::Dependency
47
+ name: rspec
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: 2.11.0
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 2.11.0
62
+ - !ruby/object:Gem::Dependency
63
+ name: rspec-fire
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: 1.1.3
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 1.1.3
78
+ - !ruby/object:Gem::Dependency
79
+ name: cane
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: 2.3.0
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 2.3.0
94
+ - !ruby/object:Gem::Dependency
95
+ name: simplecov
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ~>
100
+ - !ruby/object:Gem::Version
101
+ version: 0.7.1
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: 0.7.1
110
+ description: ! "\n Duple simplifies moving and processing data snapshots between
111
+ development,\n testing and production environements.\n "
112
+ email:
113
+ - jdwadsworth@gmail.com
114
+ executables:
115
+ - duple
116
+ extensions: []
117
+ extra_rdoc_files: []
118
+ files:
119
+ - .gitignore
120
+ - .rspec
121
+ - .simplecov
122
+ - Gemfile
123
+ - LICENSE.txt
124
+ - README.md
125
+ - Rakefile
126
+ - bin/duple
127
+ - duple.gemspec
128
+ - lib/duple.rb
129
+ - lib/duple/cli/config.rb
130
+ - lib/duple/cli/copy.rb
131
+ - lib/duple/cli/helpers.rb
132
+ - lib/duple/cli/init.rb
133
+ - lib/duple/cli/refresh.rb
134
+ - lib/duple/cli/root.rb
135
+ - lib/duple/cli/structure.rb
136
+ - lib/duple/configuration.rb
137
+ - lib/duple/heroku_runner.rb
138
+ - lib/duple/pg_runner.rb
139
+ - lib/duple/runner.rb
140
+ - lib/duple/version.rb
141
+ - spec/duple/cli/config_spec.rb
142
+ - spec/duple/cli/copy_spec.rb
143
+ - spec/duple/cli/init_spec.rb
144
+ - spec/duple/cli/refresh_spec.rb
145
+ - spec/duple/cli/structure_spec.rb
146
+ - spec/duple/configuration_spec.rb
147
+ - spec/duple/runner_spec.rb
148
+ - spec/spec_helper.rb
149
+ - spec/support/cli_spec_helpers.rb
150
+ - spec/support/duple.rb
151
+ - spec/support/io_spec_helpers.rb
152
+ - spec/support/rspec_fire.rb
153
+ homepage: https://github.com/subakva/duple
154
+ licenses: []
155
+ post_install_message:
156
+ rdoc_options: []
157
+ require_paths:
158
+ - lib
159
+ required_ruby_version: !ruby/object:Gem::Requirement
160
+ none: false
161
+ requirements:
162
+ - - ! '>='
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
165
+ required_rubygems_version: !ruby/object:Gem::Requirement
166
+ none: false
167
+ requirements:
168
+ - - ! '>='
169
+ - !ruby/object:Gem::Version
170
+ version: '0'
171
+ requirements: []
172
+ rubyforge_project:
173
+ rubygems_version: 1.8.23
174
+ signing_key:
175
+ specification_version: 3
176
+ summary: Moves PostgreSQL data from here to there.
177
+ test_files:
178
+ - spec/duple/cli/config_spec.rb
179
+ - spec/duple/cli/copy_spec.rb
180
+ - spec/duple/cli/init_spec.rb
181
+ - spec/duple/cli/refresh_spec.rb
182
+ - spec/duple/cli/structure_spec.rb
183
+ - spec/duple/configuration_spec.rb
184
+ - spec/duple/runner_spec.rb
185
+ - spec/spec_helper.rb
186
+ - spec/support/cli_spec_helpers.rb
187
+ - spec/support/duple.rb
188
+ - spec/support/io_spec_helpers.rb
189
+ - spec/support/rspec_fire.rb
190
+ has_rdoc: