mwo 0.1.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +37 -23
- data/lib/mwo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4002e45141dd108f59d549667bc8e90891c3f5df
|
4
|
+
data.tar.gz: 661eb861fe5929428c063b83b888ce39686c27b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d54e9d8bb47d1714669dda4ce461b3161e8c8c708035099388eed7c9223e9f023e0e3786a07379320e72e94a2177f10e0f444e1a4bda165b63b3894eb4daa01b
|
7
|
+
data.tar.gz: e9f6c114a9b40e58051b79776cd6500ca8039814c5e61b3bc80a14b080bc4e6e98079ed718669c41ec712e80f3b66b74d0bbac6099324e385824cb5cd21a1b4e
|
data/README.md
CHANGED
@@ -26,48 +26,51 @@ Or install it yourself as:
|
|
26
26
|
|
27
27
|
Get a list of all weapons
|
28
28
|
|
29
|
-
|
30
|
-
|
29
|
+
```ruby
|
30
|
+
MWO::Weapon.all
|
31
|
+
MWO::Weapon.all_raw # if you want the json response from the api
|
32
|
+
```
|
31
33
|
|
32
34
|
Scoped weapons
|
33
35
|
|
34
36
|
### By Category
|
35
37
|
|
36
|
-
|
37
|
-
|
38
|
-
|
38
|
+
```ruby
|
39
|
+
MWO::Weapon.ballistic
|
40
|
+
MWO::Weapon.energy
|
41
|
+
MWO::Weapon.missile
|
42
|
+
```
|
39
43
|
|
40
44
|
### By Faction
|
41
45
|
|
42
|
-
|
43
|
-
|
46
|
+
```ruby
|
47
|
+
MWO::Weapon.clan
|
48
|
+
MWO::Weapon.innersphere
|
49
|
+
```
|
44
50
|
|
45
51
|
### Mechs
|
46
52
|
|
47
53
|
List all Mechs
|
48
54
|
|
49
|
-
|
50
|
-
|
55
|
+
```ruby
|
56
|
+
MWO::Mech.all
|
57
|
+
MWO::Mech.all_raw # if you want the json response from the api
|
58
|
+
```
|
51
59
|
|
52
60
|
##### Lists the Mech ID with their corresponding variants
|
53
61
|
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
- [ ] MWO::Mech.inner_sphere
|
59
|
-
- [ ] MWO::Mech.clan
|
62
|
+
```ruby
|
63
|
+
MWO::Mech.dictionary # Lists the Mech ID with their corresponding variants
|
64
|
+
```
|
60
65
|
|
61
66
|
#### By Weight class
|
62
67
|
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
- [ ] MWO::Omniparts.all
|
68
|
+
```ruby
|
69
|
+
MWO::Mech.lights
|
70
|
+
MWO::Mech.mediums
|
71
|
+
MWO::Mech.heavies
|
72
|
+
MWO::Mech.assaults
|
73
|
+
```
|
71
74
|
|
72
75
|
## Contributing
|
73
76
|
|
@@ -76,3 +79,14 @@ List all Mechs
|
|
76
79
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
77
80
|
4. Push to the branch (`git push origin my-new-feature`)
|
78
81
|
5. Create a new Pull Request
|
82
|
+
|
83
|
+
### Author
|
84
|
+
|
85
|
+
Florante "Buddy" Magsipoc
|
86
|
+
|
87
|
+
[@keikun17](https://www.twitter.com/keikun17)
|
88
|
+
|
89
|
+
|
90
|
+
### License
|
91
|
+
|
92
|
+
Licensed under the MIT license (see MIT-LICENSE file)
|
data/lib/mwo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mwo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Buddy Magsipoc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|