stackster 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +0 -1
- data/.rvmrc +1 -0
- data/CHANGELOG +4 -0
- data/lib/stackster/entry.rb +1 -1
- data/lib/stackster/version.rb +1 -1
- data/script/ci_setup +3 -1
- data/spec/entry_spec.rb +3 -1
- data/spec/spec_helper.rb +1 -0
- data/stackster.gemspec +1 -0
- metadata +62 -15
data/.gitignore
CHANGED
data/.rvmrc
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
rvm use ruby-1.9.3-p194@stackster --create
|
data/CHANGELOG
CHANGED
data/lib/stackster/entry.rb
CHANGED
data/lib/stackster/version.rb
CHANGED
data/script/ci_setup
CHANGED
@@ -3,11 +3,13 @@
|
|
3
3
|
# Source RVM profile and set ruby / gemset
|
4
4
|
. /etc/profile
|
5
5
|
|
6
|
+
# Use stackster gemset
|
7
|
+
rvm use "1.9.3-p194@stackster" --create
|
8
|
+
|
6
9
|
# Exit with error if any command returns non zero
|
7
10
|
set -e
|
8
11
|
|
9
12
|
# Bundle gems
|
10
|
-
rvm use "1.9.3-p125@stackster" --create
|
11
13
|
bundle
|
12
14
|
|
13
15
|
# Run spec tests
|
data/spec/entry_spec.rb
CHANGED
@@ -58,10 +58,12 @@ describe Stackster do
|
|
58
58
|
end
|
59
59
|
|
60
60
|
it "should set the attributes in simple db including default attributes" do
|
61
|
+
Timecop.travel Time.utc(2012, 10, 22, 13, 30)
|
62
|
+
|
61
63
|
@simple_db_mock.should_receive(:put_attributes).
|
62
64
|
with("stacks",
|
63
65
|
"test-stack-us-west-1",
|
64
|
-
{ "key" => "value", "Name" => "test-stack-us-west-1", "CreatedAt" =>
|
66
|
+
{ "key" => "value", "Name" => "test-stack-us-west-1", "CreatedAt" => "2012-10-22 13:30:00 UTC" },
|
65
67
|
{ :replace => ["key", "Name", "CreatedAt"] } )
|
66
68
|
@entry.attributes = {"key"=>"value"}
|
67
69
|
|
data/spec/spec_helper.rb
CHANGED
data/stackster.gemspec
CHANGED
@@ -21,6 +21,7 @@ Gem::Specification.new do |s|
|
|
21
21
|
# specify any dependencies here; for example:
|
22
22
|
s.add_development_dependency "rspec"
|
23
23
|
s.add_development_dependency "simplecov"
|
24
|
+
s.add_development_dependency "timecop"
|
24
25
|
|
25
26
|
s.add_runtime_dependency "fog"
|
26
27
|
s.add_runtime_dependency 'logger'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stackster
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-10-
|
12
|
+
date: 2012-10-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,15 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: simplecov
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ! '>='
|
@@ -32,10 +37,31 @@ dependencies:
|
|
32
37
|
version: '0'
|
33
38
|
type: :development
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: timecop
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '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: '0'
|
36
62
|
- !ruby/object:Gem::Dependency
|
37
63
|
name: fog
|
38
|
-
requirement:
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
39
65
|
none: false
|
40
66
|
requirements:
|
41
67
|
- - ! '>='
|
@@ -43,10 +69,15 @@ dependencies:
|
|
43
69
|
version: '0'
|
44
70
|
type: :runtime
|
45
71
|
prerelease: false
|
46
|
-
version_requirements:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
47
78
|
- !ruby/object:Gem::Dependency
|
48
79
|
name: logger
|
49
|
-
requirement:
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
50
81
|
none: false
|
51
82
|
requirements:
|
52
83
|
- - ! '>='
|
@@ -54,10 +85,15 @@ dependencies:
|
|
54
85
|
version: '0'
|
55
86
|
type: :runtime
|
56
87
|
prerelease: false
|
57
|
-
version_requirements:
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
58
94
|
- !ruby/object:Gem::Dependency
|
59
95
|
name: trollop
|
60
|
-
requirement:
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
61
97
|
none: false
|
62
98
|
requirements:
|
63
99
|
- - ! '>='
|
@@ -65,10 +101,15 @@ dependencies:
|
|
65
101
|
version: '0'
|
66
102
|
type: :runtime
|
67
103
|
prerelease: false
|
68
|
-
version_requirements:
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
69
110
|
- !ruby/object:Gem::Dependency
|
70
111
|
name: xml-simple
|
71
|
-
requirement:
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
72
113
|
none: false
|
73
114
|
requirements:
|
74
115
|
- - ! '>='
|
@@ -76,7 +117,12 @@ dependencies:
|
|
76
117
|
version: '0'
|
77
118
|
type: :runtime
|
78
119
|
prerelease: false
|
79
|
-
version_requirements:
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
80
126
|
description: Thats what I do
|
81
127
|
email:
|
82
128
|
- brett@weav.net
|
@@ -86,6 +132,7 @@ extensions: []
|
|
86
132
|
extra_rdoc_files: []
|
87
133
|
files:
|
88
134
|
- .gitignore
|
135
|
+
- .rvmrc
|
89
136
|
- CHANGELOG
|
90
137
|
- Gemfile
|
91
138
|
- LICENSE
|
@@ -154,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
201
|
version: '0'
|
155
202
|
requirements: []
|
156
203
|
rubyforge_project: stackster
|
157
|
-
rubygems_version: 1.8.
|
204
|
+
rubygems_version: 1.8.24
|
158
205
|
signing_key:
|
159
206
|
specification_version: 3
|
160
207
|
summary: I make deployments easier
|