miniphonic 0.1.1 → 0.1.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb3b313787d600fe3a9fa4b93f83312255f35fe6
4
- data.tar.gz: 741b733a20d5e87305a1289cc3283de43a0ce36b
3
+ metadata.gz: fc4adc35ce62d4cabf0560b3eeb0a81d4113f651
4
+ data.tar.gz: f30b0dc7e027b131f67977d4acf77ce1ec0ce72d
5
5
  SHA512:
6
- metadata.gz: b328764d91290cfc648147297c19652f82d835ce2bcccf8a229444f23b42affe3ac0b5d98e9543f9d3cd9eff43562b38508586f584b1132eaf848d32a59f8c58
7
- data.tar.gz: 81936c5f74c24862cd1a76bfa1b7ac1cd70272b5254056409fc8f6044172518744efc5b3571e01020e4912af2ab5709d1785d1e51c8bf2f5dc45152eaa9b433b
6
+ metadata.gz: 7372be36488f1db0c5d881daa3f0e55e8c9c7b70729f6bf088ef4b7f4bd3581d256b2e43b33c17a51845107345f3747a8f93e4534f49f5a328ca078f92d04ac3
7
+ data.tar.gz: f5194b2aafd87356910f1b5a25750d5593d514b15803e83de0c046a8941e903fd9f8ccf1d4a509f1f203f32e339f468e9977065b1ed813285932e74f809c121e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- miniphonic (0.1.0)
4
+ miniphonic (0.1.2)
5
5
  faraday
6
6
  faraday_middleware
7
7
  mime-types
data/README.md CHANGED
@@ -87,6 +87,10 @@ and smile.
87
87
 
88
88
  ### Productions
89
89
 
90
+ #### Using a preset
91
+
92
+ If you want to use a preset to create your production, use ```production.create_from_preset("a preset uuid")```.
93
+
90
94
  #### Getting audio in
91
95
 
92
96
  You can upload an input file (to a production with a uuid) by running
@@ -8,6 +8,12 @@ module Miniphonic
8
8
  "production"
9
9
  end
10
10
 
11
+ def create_from_preset(preset)
12
+ self.preset = preset
13
+ self.create
14
+ self.get_attributes
15
+ end
16
+
11
17
  def upload_audio(path)
12
18
  command :upload, path_to_payload(path, :input_file)
13
19
  end
@@ -1,3 +1,3 @@
1
1
  module Miniphonic
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miniphonic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - sirmarcel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-20 00:00:00.000000000 Z
11
+ date: 2013-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler