mtm 2.0.3 → 2.0.4

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 +8 -8
  2. data/README.md +35 -35
  3. data/lib/mtm/mtm.rb +1 -1
  4. data/lib/mtm/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Mzg1Y2ZlMDRlY2Y1OGQ0YTcyM2EzMGM4MmMzNWEwMzU2NjYxZWZiMw==
4
+ YTVkNDE4N2QzMTUxYTFkMThkOWE0NmJlZmE4ODMyMGMyODFhODUyNw==
5
5
  data.tar.gz: !binary |-
6
- OGVlMWQ5MGM2NGQyN2YyMWQ0YTUwYzJhOTE5YjFmMGFiMWY5OWQwMw==
6
+ OGU2YWE0ZjUzODc2NDM1ZTA3OGY5NGYyNThiZDZjNjAwOTliMjVjOA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YjgzZDEzOTdjZTBjOTVlYTcxMTBkZWVjMDdiNWZkOTJmNjhhOTU3NWU0OGZk
10
- ZTRkYzU4ODQ4NTFmYTRmMjA4ODZmNzNjYTBhZjExNDdhMDk3YWRlYzI0YjZm
11
- MmJmYzFmMzcwMTA1YzBkZjkyNzY3NjRiM2YyMmVkMTk1NjNhMTU=
9
+ MzA5NDUzZWJjNmY4MzMzMDE4YmJhYzNjYmEyMTMxOTFkMzhjODhmNTQ5ZjEw
10
+ YjQ2ZjBjMWFlYzQxNjFkZTVmMmVkNDkyOGQ5YWFjMTdhYTQ0NjIwZmY2MmQy
11
+ MTlhZjZhYWQxNTlkZDZhMzRmNzZiYzFlNDE2NzBlYTQzNTlmMTY=
12
12
  data.tar.gz: !binary |-
13
- OTViNjNmYTAyMjgwMjI4NzZiNmI2ZmEzMDk2MWJlNTAxYzM0NzZhZjE2ODFm
14
- MGExYjNjY2FkZjYxZjRmMzYxZDA4YzRmMDUzM2M2NWEyYjg1MjRjODAzYzcx
15
- NWEwNmQwZDg3NThlZDM3Zjc1ZDYzZDM2MzE5N2E1ZjIxNzEwZjM=
13
+ ZWI3ZDAwZmFiZTAyNGYwZTdhYzU0NDdlNmU1ZmRkMjBjZjUxZmQwMjJjYTk2
14
+ M2UyOTY5YmJiMjZhMjA1NDUyNjI1NzEyMDg5ODc2OTBhMzlmY2I5NDgzZGI4
15
+ OWQ0YTc4MGEzNjZlODBjYTdhMzIzM2M1M2ViYTIzYmRhODcwYzQ=
data/README.md CHANGED
@@ -1,42 +1,42 @@
1
- ## Mtm
1
+ ## Mtm
2
2
 
3
- Timecard solution for a day's work information
3
+ Timecard solution for a day's work information
4
4
 
5
- ## Installation
5
+ ## Installation
6
6
 
7
- the default environment is ruby 1.9.3
8
- Opens your teminal and input:
7
+ the default environment is ruby 1.9.3
8
+ Opens your teminal and input:
9
9
  `gem install mtm`
10
10
 
11
- ## Usage
12
- * Opens your teminal and input:
13
- `tm -p 'Project name' -c 'Change name' -h 8 -d 'Tested some pages' -u bruce.yue:password`
14
- * The default hours is 8 and default description is "Tested some pages and fixed some bugs."
15
- * If step 2 have been done, '-u' is not required in the step 3.
16
- For example:
17
- * Project "CM Peak Development Requests", Its change is "Automate Upload of Build Records"
18
- `tm -p 'Peak Development' -c 'Build Records' -h 6 -d 'Added exception process logic.'`
19
-
20
- * If there is no change. just paste
21
-
11
+ ## Usage
12
+ * Opens your teminal and input:
13
+ `tm -p 'Project name' -c 'Change name' -h 8 -d 'Tested some pages' -u bruce.yue:password`
14
+ * The default hours is 8 and default description is "Tested some pages and fixed some bugs."
15
+ * If step 2 have been done, '-u' is not required in the step 3.
16
+ For example:
17
+ * Project "CM Peak Development Requests", Its change is "Automate Upload of Build Records"
18
+ `tm -p 'Peak Development' -c 'Build Records' -h 6 -d 'Added exception process logic.'`
19
+
20
+ * If there is no change. just paste
21
+
22
22
  `tm -p 'Peak Development' -h 6 -d 'Added exception process logic.'`
23
23
 
24
- * Fill your time card at some time.
25
- `at 9pm today tm -p 'Peak Development' -h 6 -d 'Added exception process logic.'`
26
-
27
-
28
- ## Config
29
-
30
- 1. run
31
- `gem environment`
32
- Find the GEM PATHS
33
- 2. go to
34
- 'GEM PATHS'/gems/mtm-2.0.3/lib/mtm'
35
- 3. config
36
- open config.rb
37
- config field
38
- SF_USERNAME = '' # Salesforce user name
39
- SF_PASSWORD = '' # Salesforce password
40
- SF_SECURITY_TOKEN = '' # Salesforce password security token(option)
41
- MOBILE_NUMBER = '' # 18988888888 you need to send the mobile to me and verify it.
42
- 4. `mtm -h` for details
24
+ * Fill your time card at some time.
25
+ `at 9pm today tm -p 'Peak Development' -h 6 -d 'Added exception process logic.'`
26
+
27
+
28
+ ## Config
29
+
30
+ 1. run
31
+ `gem environment`
32
+ Find the GEM PATHS
33
+ 2. go to
34
+ 'GEM PATHS'/gems/mtm-2.0.4/lib/mtm'
35
+ 3. config
36
+ open config.rb
37
+ config field
38
+ SF_USERNAME = '' # Salesforce user name
39
+ SF_PASSWORD = '' # Salesforce password
40
+ SF_SECURITY_TOKEN = '' # Salesforce password security token(option)
41
+ MOBILE_NUMBER = '' # 18988888888 you need to send the mobile to me and verify it.
42
+ 4. `mtm -h` for details
data/lib/mtm/mtm.rb CHANGED
@@ -203,7 +203,7 @@ else
203
203
  puts 'Please select a project to continue:'
204
204
  projects.each { |p| puts p.Name }
205
205
  end
206
- puts is_success
206
+
207
207
  if is_success
208
208
  Mtm.send_sms(account_sid, auth_token, MOBILE_NUMBER, projects.first.Name, options[:tm_hour], options[:tm_description])
209
209
  end
data/lib/mtm/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mtm
2
- VERSION = "2.0.3"
2
+ VERSION = "2.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mtm
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruce Yue