tdl-client-ruby 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/lib/tdl/version.rb +1 -1
  4. data/release.sh +45 -0
  5. metadata +42 -41
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4c28deacf1ed86684582e96b16b9b38901adacbf
4
- data.tar.gz: eeff3aab239f55cb316bab92224aa7d447330462
3
+ metadata.gz: 3df429bdefe650adb27f657c9ae7b0ce94a18e34
4
+ data.tar.gz: 4abe2debe4569d2896a20cacf20b158aa4a6cf19
5
5
  SHA512:
6
- metadata.gz: 9db3314e29cb9787d77c1a30d9d7cd339ef6f934c5b0846dafc535736aac18ad4b3fa62bfe8aa359749bb23078ac50dd009bedd64f8f62cc861042ef6933f9e0
7
- data.tar.gz: 6e9d19980afe9404cacda52fa9797fdce642a0c68a70981c603b180e607f71750d27a8eb913b37e48dd3e92395109893cca16914aa145390a23e67a5a5540c85
6
+ metadata.gz: 8217a06a7dd5d103194240c86a0f5b0ccd6affc8e451c8424f063cacd4e307fbc26992d83556a39a0a79c84af03a9e16193bfe137e70047638e7235f2875e8fc
7
+ data.tar.gz: 14a053f90fa8a3e9ad8e66a29dd8b296db5eb88bf87ebd203b6ba1c07e38139d3a4939e8b611c552f5e6ea28313c382c1f1b79ccaf435fbeccec35db3aac08e6
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tdl-client-ruby (0.0.1)
4
+ tdl-client-ruby (0.0.3)
5
5
  logging (= 2.0.0)
6
6
  stomp (= 1.3.4)
7
7
 
@@ -77,4 +77,4 @@ DEPENDENCIES
77
77
  tdl-client-ruby!
78
78
 
79
79
  BUNDLED WITH
80
- 1.10.5
80
+ 1.10.6
@@ -1,3 +1,3 @@
1
1
  module TDL
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.3'
3
3
  end
@@ -0,0 +1,45 @@
1
+ #!/bin/bash
2
+
3
+ SCRIPT_FOLDER="$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
4
+ VERSION_FILE="${SCRIPT_FOLDER}/lib/tdl/version.rb"
5
+
6
+ CURRENT_VERSION=`cat ${VERSION_FILE} | grep "VERSION" | cut -d "=" -f2 | tr -d " '"`
7
+
8
+ # Prompt for version confirmation
9
+ read -p "Going to release version ${CURRENT_VERSION}. Proceed ? [y/n] "
10
+ if [[ ! $REPLY =~ ^[Yy]$ ]]
11
+ then
12
+ echo "Aborting."
13
+ exit
14
+ fi
15
+
16
+ # Release current version
17
+ #git tag -a "v${CURRENT_VERSION}" -m "Release ${CURRENT_VERSION}"
18
+ #git push origin "v${CURRENT_VERSION}"
19
+ echo "Pushed tag to Git origin. It will now trigger the deployment pipeline."
20
+
21
+ # Increment version
22
+ increment_version() {
23
+ local v=$1
24
+ if [ -z $2 ]; then
25
+ local rgx='^((?:[0-9]+\.)*)([0-9]+)($)'
26
+ else
27
+ local rgx='^((?:[0-9]+\.){'$(($2-1))'})([0-9]+)(\.|$)'
28
+
29
+ for (( p=`grep -o "\."<<<".$v"|wc -l`; p<$2; p++)); do
30
+ v+=.0;
31
+ done;
32
+ fi
33
+ val=`echo -e "$v" | perl -pe 's/^.*'$rgx'.*$/$2/'`
34
+ echo "$v" | perl -pe s/$rgx.*$'/${1}'`printf %0${#val}s $(($val+1))`/
35
+ }
36
+
37
+ # Switch to next version
38
+ NEXT_VERSION=`increment_version ${CURRENT_VERSION}`
39
+ echo "Next version is: $NEXT_VERSION"
40
+
41
+ cat > "${VERSION_FILE}" <<-EOF
42
+ module TDL
43
+ VERSION = '$NEXT_VERSION'
44
+ end
45
+ EOF
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tdl-client-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Ghionoiu
@@ -11,76 +11,85 @@ cert_chain: []
11
11
  date: 2015-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: stomp
15
+ version_requirements: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 1.3.4
14
20
  requirement: !ruby/object:Gem::Requirement
15
21
  requirements:
16
22
  - - '='
17
23
  - !ruby/object:Gem::Version
18
24
  version: 1.3.4
19
- name: stomp
20
25
  prerelease: false
21
26
  type: :runtime
27
+ - !ruby/object:Gem::Dependency
28
+ name: logging
22
29
  version_requirements: !ruby/object:Gem::Requirement
23
30
  requirements:
24
31
  - - '='
25
32
  - !ruby/object:Gem::Version
26
- version: 1.3.4
27
- - !ruby/object:Gem::Dependency
33
+ version: 2.0.0
28
34
  requirement: !ruby/object:Gem::Requirement
29
35
  requirements:
30
36
  - - '='
31
37
  - !ruby/object:Gem::Version
32
38
  version: 2.0.0
33
- name: logging
34
39
  prerelease: false
35
40
  type: :runtime
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
36
43
  version_requirements: !ruby/object:Gem::Requirement
37
44
  requirements:
38
- - - '='
45
+ - - "~>"
39
46
  - !ruby/object:Gem::Version
40
- version: 2.0.0
41
- - !ruby/object:Gem::Dependency
47
+ version: '1.10'
42
48
  requirement: !ruby/object:Gem::Requirement
43
49
  requirements:
44
50
  - - "~>"
45
51
  - !ruby/object:Gem::Version
46
52
  version: '1.10'
47
- name: bundler
48
53
  prerelease: false
49
54
  type: :development
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
50
57
  version_requirements: !ruby/object:Gem::Requirement
51
58
  requirements:
52
59
  - - "~>"
53
60
  - !ruby/object:Gem::Version
54
- version: '1.10'
55
- - !ruby/object:Gem::Dependency
61
+ version: '10.0'
56
62
  requirement: !ruby/object:Gem::Requirement
57
63
  requirements:
58
64
  - - "~>"
59
65
  - !ruby/object:Gem::Version
60
66
  version: '10.0'
61
- name: rake
62
67
  prerelease: false
63
68
  type: :development
69
+ - !ruby/object:Gem::Dependency
70
+ name: minitest
64
71
  version_requirements: !ruby/object:Gem::Requirement
65
72
  requirements:
66
- - - "~>"
73
+ - - '='
67
74
  - !ruby/object:Gem::Version
68
- version: '10.0'
69
- - !ruby/object:Gem::Dependency
75
+ version: 5.4.1
70
76
  requirement: !ruby/object:Gem::Requirement
71
77
  requirements:
72
78
  - - '='
73
79
  - !ruby/object:Gem::Version
74
80
  version: 5.4.1
75
- name: minitest
76
81
  prerelease: false
77
82
  type: :development
83
+ - !ruby/object:Gem::Dependency
84
+ name: minitest-reporters
78
85
  version_requirements: !ruby/object:Gem::Requirement
79
86
  requirements:
80
- - - '='
87
+ - - "~>"
81
88
  - !ruby/object:Gem::Version
82
- version: 5.4.1
83
- - !ruby/object:Gem::Dependency
89
+ version: '1.0'
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: 1.0.19
84
93
  requirement: !ruby/object:Gem::Requirement
85
94
  requirements:
86
95
  - - "~>"
@@ -89,18 +98,18 @@ dependencies:
89
98
  - - ">="
90
99
  - !ruby/object:Gem::Version
91
100
  version: 1.0.19
92
- name: minitest-reporters
93
101
  prerelease: false
94
102
  type: :development
103
+ - !ruby/object:Gem::Dependency
104
+ name: psych
95
105
  version_requirements: !ruby/object:Gem::Requirement
96
106
  requirements:
97
107
  - - "~>"
98
108
  - !ruby/object:Gem::Version
99
- version: '1.0'
109
+ version: '2.0'
100
110
  - - ">="
101
111
  - !ruby/object:Gem::Version
102
- version: 1.0.19
103
- - !ruby/object:Gem::Dependency
112
+ version: 2.0.13
104
113
  requirement: !ruby/object:Gem::Requirement
105
114
  requirements:
106
115
  - - "~>"
@@ -109,59 +118,50 @@ dependencies:
109
118
  - - ">="
110
119
  - !ruby/object:Gem::Version
111
120
  version: 2.0.13
112
- name: psych
113
121
  prerelease: false
114
122
  type: :development
123
+ - !ruby/object:Gem::Dependency
124
+ name: jmx4r
115
125
  version_requirements: !ruby/object:Gem::Requirement
116
126
  requirements:
117
127
  - - "~>"
118
128
  - !ruby/object:Gem::Version
119
- version: '2.0'
120
- - - ">="
121
- - !ruby/object:Gem::Version
122
- version: 2.0.13
123
- - !ruby/object:Gem::Dependency
129
+ version: 0.1.4
124
130
  requirement: !ruby/object:Gem::Requirement
125
131
  requirements:
126
132
  - - "~>"
127
133
  - !ruby/object:Gem::Version
128
134
  version: 0.1.4
129
- name: jmx4r
130
135
  prerelease: false
131
136
  type: :development
137
+ - !ruby/object:Gem::Dependency
138
+ name: simplecov
132
139
  version_requirements: !ruby/object:Gem::Requirement
133
140
  requirements:
134
141
  - - "~>"
135
142
  - !ruby/object:Gem::Version
136
- version: 0.1.4
137
- - !ruby/object:Gem::Dependency
143
+ version: 0.10.0
138
144
  requirement: !ruby/object:Gem::Requirement
139
145
  requirements:
140
146
  - - "~>"
141
147
  - !ruby/object:Gem::Version
142
148
  version: 0.10.0
143
- name: simplecov
144
149
  prerelease: false
145
150
  type: :development
151
+ - !ruby/object:Gem::Dependency
152
+ name: coveralls
146
153
  version_requirements: !ruby/object:Gem::Requirement
147
154
  requirements:
148
155
  - - "~>"
149
156
  - !ruby/object:Gem::Version
150
- version: 0.10.0
151
- - !ruby/object:Gem::Dependency
157
+ version: 0.8.2
152
158
  requirement: !ruby/object:Gem::Requirement
153
159
  requirements:
154
160
  - - "~>"
155
161
  - !ruby/object:Gem::Version
156
162
  version: 0.8.2
157
- name: coveralls
158
163
  prerelease: false
159
164
  type: :development
160
- version_requirements: !ruby/object:Gem::Requirement
161
- requirements:
162
- - - "~>"
163
- - !ruby/object:Gem::Version
164
- version: 0.8.2
165
165
  description: A ruby client to connect to the kata server
166
166
  email:
167
167
  - iulian.ghionoiu@gmail.com
@@ -189,6 +189,7 @@ files:
189
189
  - lib/tdl/serialization/csv_serialization_provider.rb
190
190
  - lib/tdl/transport/remote_broker.rb
191
191
  - lib/tdl/version.rb
192
+ - release.sh
192
193
  - tdl-client-ruby.gemspec
193
194
  - tdl-client-ruby.iml
194
195
  homepage: https://github.com/julianghionoiu/tdl-client-ruby