semse 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. checksums.yaml +5 -13
  2. data/README.md +20 -8
  3. data/lib/semse.rb +1 -1
  4. data/lib/semse/version.rb +1 -1
  5. metadata +10 -10
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NWMwNDVhNmMxZjEzYWFmMGQyYjUzNzI5NDViZmE1M2E0N2IwZGQ4OQ==
5
- data.tar.gz: !binary |-
6
- MDliNzk3NzI3NzhjODVhMzExOGNhYzUyMGY3ZGIyOTBlMDU3OTMzMg==
2
+ SHA1:
3
+ metadata.gz: 721ab9589d08206788214689d23c7252daecb8da
4
+ data.tar.gz: 0b0987dcfd668666648e0b2a67b2c4a03eb33d4b
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- NzlkNzk1YTg2NjgyNTI4NzcwOWRhNTcyMzJlMWVmYzlmMTFlOTFiMWU0ZjAx
10
- ODc2OWYzZDA3ZTUyNDc3YzM4NmE3ZmRhOWI4MDY1YTY2N2E1MGJiNTU0ODNj
11
- NGI3ZDQyMDJiMjJmNDZkYWVlNDBmMGFlNTYzNzI5ZmI1NzdmZWE=
12
- data.tar.gz: !binary |-
13
- YTY1YmMxOWY1MzFlMmRlZWIwYjE1NTg1MWZmYWJhNTBlN2RhYWE0NWEzMDg1
14
- YjJjYzA1ZjdhMjc5NGFlZTVlMjUyMjc0OTg5ZGI5YWU1ZDkwMzE3MjQ0OGM2
15
- YWRhYTgyYjdkODVlNzc1NTU2N2U3NjI2YTY0ZTRjZWFiMWZlZjc=
6
+ metadata.gz: ddd0574b977ef941de1f3eda1654982726186d7ae5c21c95623bde53e721d0654fa2f38e2965ac28e0a41b623da52cf8b895d34262dc7e432bc88ba4a227ab1c
7
+ data.tar.gz: 6a3bf7af6980e0b77169d0c4c1068df2f6619c04bb73c30419fa52eaeb957423a0b721e3f9eecf20b293ab11a984a428e9cbacc147197c4906a4084f5bbcfc25
data/README.md CHANGED
@@ -2,30 +2,42 @@
2
2
 
3
3
  Ruby gem for sending SMSes through API of semse.pl
4
4
 
5
+ [![Code Climate](https://codeclimate.com/github/ksz2k/semse/badges/gpa.svg)](https://codeclimate.com/github/ksz2k/semse)
6
+
5
7
  ## Installation
6
8
 
7
9
  Add this line to your application's Gemfile:
8
10
 
9
- gem 'semse'
11
+ ```ruby
12
+ gem 'semse'
13
+ ```
10
14
 
11
15
  And then execute:
12
16
 
13
- $ bundle
17
+ ```bash
18
+ $ bundle
19
+ ```
14
20
 
15
21
  Or install it yourself as:
16
22
 
17
- $ gem install semse
23
+ ```bash
24
+ $ gem install semse
25
+ ```
18
26
 
19
27
  ## Configuration
20
28
 
21
- Semse.configure do |config|
22
- config.api_key = 'YOUR API KEY'
23
- config.api_secret = 'YOUR API SECRET'
24
- end
29
+ ```ruby
30
+ Semse.configure do |config|
31
+ config.api_key = 'YOUR API KEY'
32
+ config.api_secret = 'YOUR API SECRET'
33
+ end
34
+ ```
25
35
 
26
36
  ## Usage
27
37
 
28
- Semse.send '666123123', 'the sms body'
38
+ ```ruby
39
+ Semse.send '666123123', 'the sms body'
40
+ ```
29
41
 
30
42
  ## TODO
31
43
 
@@ -4,7 +4,7 @@ require 'net/http'
4
4
  require "semse/version"
5
5
 
6
6
  module Semse
7
- API_ADDR = 'http://api.semse.pl'
7
+ API_ADDR = 'https://api.semse.pl'
8
8
 
9
9
  STATUSES = {
10
10
  '1' => "Niepoporawna apiKey lub apiSecret",
@@ -1,4 +1,4 @@
1
1
  # coding: utf-8
2
2
  module Semse
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Krzysiek Szczuka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-14 00:00:00.000000000 Z
11
+ date: 2015-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: Ruby gem for sending SMSes through API of semse.pl
@@ -45,7 +45,7 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
- - .gitignore
48
+ - ".gitignore"
49
49
  - Gemfile
50
50
  - LICENSE
51
51
  - README.md
@@ -63,17 +63,17 @@ require_paths:
63
63
  - lib
64
64
  required_ruby_version: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  required_rubygems_version: !ruby/object:Gem::Requirement
70
70
  requirements:
71
- - - ! '>='
71
+ - - ">="
72
72
  - !ruby/object:Gem::Version
73
73
  version: '0'
74
74
  requirements: []
75
75
  rubyforge_project:
76
- rubygems_version: 2.1.11
76
+ rubygems_version: 2.4.6
77
77
  signing_key:
78
78
  specification_version: 4
79
79
  summary: Ruby gem for sms API semse.pl